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

A5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, but the description adds crucial context: it pulls from SEC EDGAR/XBRL, handles off-calendar fiscal years, sorts by primary metric, and returns paired data with citation URIs. It also quantifies the benefit ('Replaces 8–15 sequential lookups'). 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.

Conciseness5/5

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

The description is front-loaded with trigger phrase examples, then follows with purpose, data details, and behavioral notes. Every sentence earns its place—no filler, no repetition of schema fields. It is dense but structured to be scannable.

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?

Given the tool has no output schema, the description compensates by stating what is returned ('paired data + pipeworx:// citation URIs per entity'). It covers both entity types, the 2–5 count constraint, sorting behavior, and the data sources. This is complete for an agent to invoke correctly without additional lookups.

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?

Schema coverage is 100% with descriptions for both type and values. The description adds meaning beyond the schema by clarifying the data sources per type (e.g., '10-K revenue + net income + cash + long-term debt' for company, 'FAERS adverse-event counts' for drug), providing examples, and explaining sorting behavior. This is substantial added value over the 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?

The description clearly states a specific verb and resource: 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call.' It also lists trigger phrases ('which is bigger', 'rank these companies') that distinguish it from sibling tools like entity_profile (single-entity lookup) and search tools. The distinction from sequential lookups is explicit.

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?

The description explicitly says 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', providing direct guidance on when to use this tool versus alternatives. It also enumerates concrete phrasings that trigger this tool, making the decision boundary clear.

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
Disambiguation2/5

Multiple tools have heavily overlapping purposes: ask_pipeworx, ask_pipeworx_beta (explicitly identical to the stable router right now), ask_pipeworx_grounded, and deep_research all route the same class of questions, making mis-selection easy. The six Polymarket tools (bet_research, polymarket_arbitrage, polymarket_edges, polymarket_edge_tracker, polymarket_fill_risk, polymarket_kalshi_spread) also blur together around edge detection and arbitrage, further muddying tool boundaries.

Naming Consistency4/5

All 33 tools use consistent lowercase snake_case naming, and most follow a clear verb_noun pattern (check_vat, compare_entities, resolve_entity, unsubscribe). A handful of noun-style names (entity_profile, bet_research, polymarket_edges, recent_alerts) deviate from the verb-first pattern but are still predictable and readable.

Tool Count2/5

33 tools is beyond the 25+ threshold for a coherent set, and the scope is sprawling: universal data routing, prediction-market analytics, VAT validation, AI visibility, memory, subscriptions, npm dependency scanning, and feedback. While each sub-domain has reason to exist, bundling them all into one server creates a kitchen-sink feel with too many entry points.

Completeness3/5

The core data-routing domain is well covered: universal router, grounded mode, deep research, entity resolution, profiles, comparisons, change feeds, claim validation, and search-within. VAT has check + status, and memory/subscription lifecycles are complete. However, there is no standalone tool to fetch a raw pipeworx:// record that citations reference, and the extreme breadth means no single domain is exhaustively fleshed out.