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 indicate safe, read-only, idempotent behavior. The description adds substantial detail: for type='company' it pulls specific financial metrics from SEC EDGAR/XBRL with correct off-calendar fiscal year handling; for type='drug' it pulls FAERS counts, FDA approvals, and trial counts. It also describes sorting by primary metric and output format (paired data + citation URIs). 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 example queries and gets straight to the point. Every sentence earns its place—example phrases, usage guidance, detailed data sources for both types, sorting behavior, and output format. It is appropriately sized for the complexity and has 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?

No output schema is provided, but the description explains return values ('paired data + pipeworx:// citation URIs per entity') and sorting behavior. It covers both entity types thoroughly, mentions off-calendar fiscal year handling, and explains why this tool replaces many consecutive calls. The description is complete for an agent to understand when and how to invoke it.

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%, but the description significantly adds meaning: it explains the two enum values ('company' pulls SEC data with fiscal year handling, 'drug' pulls FAERS/FDA/trial data) and clarifies the values array format (tickers/CIKs for company, drug names, 2-5 items). This goes well beyond the schema's short 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 starts with clear example queries ('Compare X and Y', 'X vs Y') and explicitly states the tool does 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call.' It distinguishes from siblings by noting it 'Replaces 8–15 sequential lookups' and is preferred over sequential single-pack lookups.

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 gives strong guidance: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It explicitly tells when to use (comparing entities) and implies when not to use (single entity lookups). The alternative (sequential lookups) is mentioned as something 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

C2.9/5.0
Disambiguation2/5

Many tools have overlapping purposes: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, discover_tools, and suggest_questions all serve query/research; polymarket_edges, polymarket_arbitrage, bet_research, and polymarket_edge_tracker all analyze prediction markets; entity_profile, compare_entities, and recent_changes overlap on company research. An agent could easily select the wrong one.

Naming Consistency3/5

All names are lowercase snake_case, but the verb-noun convention is inconsistent: some are verb-first (ask_pipeworx, generate_llms_txt, validate_claim), some noun-first (entity_profile, polymarket_edges, recent_changes), and some are bare nouns (query, metadata, datasets). The pattern is readable but not uniform.

Tool Count2/5

34 tools is excessive for the apparent scope, especially given the server name suggests a Chicago city-data focus while the vast majority of tools are generic data-research, prediction-market, and memory utilities. This feels like a kitchen-sink bundle rather than a focused, well-scoped toolset.

Completeness2/5

The tool surface is a disjointed collection covering querying, research, memory, subscriptions, and prediction markets, but it lacks coherent lifecycle coverage for any single domain. For the named 'Cityofchicago' purpose, there is almost no city-specific functionality, and even as a general data tool, obvious gaps remain (e.g., no direct dataset management or update/delete operations).