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

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive; the description adds substantial context beyond annotations: data sources (SEC EDGAR/XBRL, FAERS, FDA), specific financial metrics, off-calendar fiscal year handling, sorting by primary metric, and output format including citation URIs. No contradiction.

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 lengthy but every sentence serves a purpose: query triggers, core purpose, preference rule, type-specific details, sorting behavior, and return format. It is front-loaded with examples but remains well-structured and information-dense for a tool with two modes and multiple data sources.

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 exists, yet the description explains return contents (paired data, citation URIs) and sorting behavior. It also covers data provenance and edge-case handling (off-calendar fiscal years), providing a complete picture for the agent to invoke the tool correctly without further probing.

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% with clear descriptions for both parameters. The description enriches this by explaining how 'type' determines data pulled (10-K metrics vs FAERS/FDA counts) and clarifying the 2–5 entity limit for 'values'. This adds meaningful context beyond the raw enum/array definitions, though the schema already covers basics.

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 this tool performs 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call' and supports comparison/ranking queries like 'X vs Y' and 'which is bigger'. It distinguishes itself from single-entity alternatives by emphasizing it replaces 8–15 sequential lookups, aligning with sibling entities like entity_profile.

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

Usage Guidelines4/5

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

Explicitly instructs to 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', giving clear when-to-use guidance. It also describes type-specific behavior (company vs drug) and output sorting, but does not explicitly name sibling alternatives or exclusion cases, leaving minor room for improvement.

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

Many tools have overlapping or unclear purposes, e.g., multiple entity research tools (entity_profile, recent_changes, compare_entities, validate_claim) and several betting tools (bet_research, polymarket_arbitrage, polymarket_edges, polymarket_kalshi_spread). The memory tools (remember, recall, forget) and generic lookup tools (ask_pipeworx, discover_tools) further blur boundaries, making it hard for an agent to consistently select the right tool.

Naming Consistency2/5

Tool names follow no consistent pattern: some use snake_case verbs (forget, recall, remember), others are noun phrases (entity_profile, recent_changes), and many have mixed conventions (ai_visibility_check, ask_pipeworx, bet_research). There is no clear verb_noun structure, and the naming style varies widely across the set.

Tool Count3/5

At 22 tools, the count is within a reasonable range, but the server's stated purpose ('Geoboundaries') is severely mismatched with the actual tool set, which covers data retrieval, betting, memory, and more. The number is not excessive for the breadth of functionality, but it feels bloated for a server that should be focused on geographic boundaries.

Completeness1/5

The server is named 'Geoboundaries' but only provides two boundary-related tools (get_boundaries, get_geometry). The remaining 20 tools are unrelated, covering general data access, betting arbitrage, and memory operations. This leaves massive gaps for the implied domain (no tools for boundary editing, search by location, or other geographic operations) while over-supplying tools for unrelated tasks.