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.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses data sources (SEC EDGAR/XBRL, FAERS, FDA), off-calendar fiscal year handling, sorting by primary metric, and citation URI returns. This gives a full behavioral model without contradicting the 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?

The description is dense and front-loaded with examples and usage rules, followed by data-source details. It is somewhat long and uses uppercase emphasis, but every sentence adds substantive information with no filler.

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?

With no output schema, the description compensates by explaining return values (paired data + citation URIs), sorting behavior, and data sources. Together with well-described parameters, it is sufficiently complete for correct invocation.

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

Parameters5/5

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

Though schema coverage is 100%, the description adds meaningful parameter semantics: what each 'type' value pulls (10-K metrics vs adverse-event/trial counts) and concrete examples for 'values'. This goes well beyond the schema's basic descriptions.

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?

The description opens with concrete query phrasings and clearly states that it performs side-by-side comparison of 2–5 companies or drugs in one parallel call. It distinguishes itself from sequential single-pack lookups with the explicit 'ALWAYS PREFER' instruction.

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?

Provides explicit trigger phrases for when to use the tool and instructs to prefer it over sequential single-pack lookups when comparing entities. It also clarifies type-specific usage for company vs drug, giving the agent clear decision criteria relative to alternatives.

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

A3.8/5.0
Disambiguation3/5

Several tools have overlapping purposes: the four ask_pipeworx variants all route to the same 5,581 tools (ask_pipeworx_beta is currently identical to stable), and the six polymarket_* tools have subtle boundaries between research, edges, and arbitrage that could cause misselection. That said, the descriptions are unusually detailed, and non-overlapping clusters (CSO table tools, memory tools, subscription tools) are clearly distinct.

Naming Consistency3/5

All names are snake_case and mostly verb-first (get_dataset, resolve_entity, validate_claim), but conventions are inconsistent: polymarket_* and pipeworx_* are brand/noun-first while bet_research and ask_pipeworx put the verb first for the same domains, and some tools are pure nouns (entity_profile, recent_alerts). The pattern is readable but far from predictable.

Tool Count2/5

At 35 tools the server is well past the 25+ 'too many' threshold for a single MCP. Several tools don't earn their place: ask_pipeworx_beta is functionally identical to ask_pipeworx right now, and the six polymarket tools plus four ask_pipeworx variants represent heavy redundancy for what are essentially two sub-domains.

Completeness4/5

The data-access core is covered end to end: discovery (discover_tools, list_datasets, suggest_questions), structured reads (ask_pipeworx, get_dataset, query_dataset), grounded verification (validate_claim, ask_pipeworx_grounded), comparison (compare_entities), change tracking (recent_changes), plus memory and subscription CRUD. Minor gaps: subscriptions can't be edited (only recreated) and unrelated utilities (generate_llms_txt, scan_dependency) dilute the focus rather than fill a real gap.