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?

Description goes beyond the readOnlyHint annotation by detailing data sources (SEC EDGAR/XBRL, FAERS, FDA), handling of off-calendar fiscal years, sorting by primary metric, and return format (paired data + citation URIs). This rich context fully discloses behavior without contradicting 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?

While dense, every sentence adds value: trigger phrases, usage mandate, data source details, and output format. The structure front-loads the most critical information and uses examples and line breaks effectively, 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 specifying return content ('paired data + pipeworx:// citation URIs'). It covers input constraints, data provenance, sorting, and scope, making the tool fully understandable for a complex comparison operation.

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?

The input schema already covers both parameters with descriptions and examples. The description adds meaningful semantic detail by explaining what each 'type' value does (company vs drug) and the nature of the data pulled, going 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 clearly defines the tool as a side-by-side comparison of 2–5 companies or drugs in one parallel call, using specific verb phrases like 'compare' and 'rank'. It distinguishes itself from sequential single-pack lookups, making its purpose unmistakable.

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 provides explicit trigger examples ('Compare X and Y', 'X vs Y', 'rank these companies') and states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities'. This gives clear when-to-use guidance and names an alternative approach to avoid.

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

B3.4/5.0
Disambiguation2/5

Several tools occupy nearly the same role: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are deliberately near-duplicates, while deep_research, validate_claim, bet_research, and the polymarket_* family all route factual questions to overlapping data pipelines. Generic single-word tools like get, search, structure, and author add further ambiguity, making it hard for an agent to confidently pick the right tool.

Naming Consistency3/5

Names are consistently lowercase snake_case, but they mix verb_noun tools (list_subscriptions, resolve_entity, validate_claim) with bare nouns (author, get, search, structure) and domain-prefixed families (ask_pipeworx, polymarket_*, pipeworx_*). The conventions are readable but not predictable enough to infer behavior from the name alone.

Tool Count2/5

35 tools is heavy for a single server, especially when many are meta-routers or near-variants of each other. The broad data-research scope justifies some breadth, but the surface feels padded with overlapping research and prediction-market tools rather than a tight, well-scoped set.

Completeness4/5

For its apparent purpose — authoritative data lookup, verification, research, entity profiling, prediction-market analysis, and monitoring — the surface is largely complete: retrieval, grounded answers, deep research, comparison, change tracking, subscriptions, and memory are all covered. Minor gaps exist, such as no direct tool for managing alert delivery or for some of the vague HAL-style operations, but agents can work around these via the router tools.