Skip to main content
Glama

Compare Entities

compare_entities
Read-onlyIdempotent

"Compare X and Y" / "X vs Y" / "X versus Y" / "which is bigger / better / larger / more profitable" / "rank these companies" / "head to head" — side-by-side comparison of 2–5 companies or drugs in ONE parallel call. ALWAYS PREFER over sequential single-pack lookups when comparing entities. type="company" pulls LATEST 10-K revenue + net income + cash + long-term debt from SEC EDGAR/XBRL (off-calendar fiscal years handled correctly — AAPL Sep, NVDA Jan, etc.). type="drug" pulls FAERS adverse-event counts, FDA approval counts, active trial counts. Results sorted by primary metric so "largest" / "most" / "biggest" reads off the top of the response. Returns paired data + pipeworx:// citation URIs per entity. Replaces 8–15 sequential lookups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesEntity type: "company" or "drug".
valuesYesFor company: 2–5 tickers/CIKs (e.g., ["AAPL","MSFT"]). For drug: 2–5 names (e.g., ["ozempic","mounjaro"]).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. Description adds value by detailing data sources: company pulls 10-K revenue/net income/cash/debt with correct fiscal year handling, drug pulls FAERS adverse-event counts and trial counts. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is relatively long but efficiently packed with examples, usage guidance, and behavioral details. Every sentence adds value. Could be slightly more structured but remains highly informative without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, description explains return structure: paired data + pipeworx:// citation URIs per entity, sorted by primary metric. Covers both company and drug types completely. Everything an agent needs to use the tool effectively is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and parameters are defined. Description enriches by specifying that 'values' should be tickers/CIKs for companies and drug names for drugs, and that 'type' determines the data pulled. The enum is already clear in schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it compares 2-5 companies or drugs side-by-side, with example queries like 'compare X and Y' and 'rank these companies'. It distinguishes from sequential single-pack lookups by noting it replaces 8-15 sequential calls.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs 'ALWAYS PREFER over sequential single-pack lookups when comparing entities'. Provides clear context (comparing entities) and alternatives (sequential lookups). Also specifies it handles off-calendar fiscal years and primary metric sorting.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation3/5

Several tools occupy adjacent territory: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded share the same router, ask_pipeworx_beta is currently an exact duplicate, and there are multiple polymarket-related tools. The descriptions are unusually explicit and cross-reference when to use which, which keeps this from scoring lower.

Naming Consistency4/5

All tool names use lowercase snake_case and group into recognizable families (boston_*, pipeworx_*, polymarket_*), giving the set a consistent feel. However, the set mixes verb_noun names, bare verbs like remember/forget, and adjective_noun phrases like recent_changes, so it is not a strict verb_noun pattern throughout.

Tool Count2/5

At 34 tools this exceeds the 25+ threshold and feels bloated for a server with the narrow name "Data Boston"—only three tools directly concern Boston data, while the rest cover general research, prediction markets, subscription management, memory, AI visibility, and npm auditing. Most tools have a purpose, but the overall surface is not well-scoped.

Completeness4/5

For the broad data-access purpose, coverage is strong: routing, grounded verification, entity profiles, comparisons, change tracking, entity resolution, discovery, monitoring, memory, and Boston datasets are all represented. Minor gaps exist, such as no subscription update operation, no explicit fetch-by-citation tool, and limited boston_recent coverage, but agents can work around them.