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"]).

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already indicate readOnly, openWorld, idempotent, non-destructive. The description adds significant behavioral context: it pulls data from SEC EDGAR/XBRL for companies (handling off-calendar fiscal years), and FAERS/FDA/trials for drugs, and sorts by primary metric. No contradictions 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.

Conciseness4/5

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

The description is front-loaded with common trigger phrases and efficiently conveys key details. Every sentence provides useful information, though it could be slightly more concise without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Without an output schema, the description adequately describes return format (paired data + citation URIs). It covers input constraints, data sources, and sorting behavior, making it complete for an agent to select and invoke the tool correctly.

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%, baseline 3. The description adds meaning beyond schema by explaining what data each type pulls and the expected format for values (tickers/CIKs vs drug names). This adds value for correct usage.

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 explicitly lists trigger phrases (e.g., 'Compare X and Y', 'X vs Y', 'which is bigger') and states the tool performs side-by-side comparison of 2-5 companies or drugs. It clearly distinguishes from sibling tools like entity_profile, which provides single entity details.

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?

The description advises 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', giving clear when-to-use guidance. However, it does not explicitly list alternative tools or when not to use it, though the context implies it.

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

Most tools have distinct scopes, and the long cross-referencing descriptions help a lot. However, ask_pipeworx_beta is currently an exact duplicate of ask_pipeworx by the server's own description, and the polymarket_* family plus ask_pipeworx/ask_pipeworx_grounded/deep_research have overlapping boundaries that could mislead an agent.

Naming Consistency4/5

The vast majority follow a clear verb_noun snake_case pattern like get_odds, list_sports, resolve_entity, and subscribe. A few exceptions such as odds_api_quota, pipeworx_feedback, polymarket_arbitrage, and recall break the pattern slightly, but the overall convention is predictable.

Tool Count2/5

37 tools is well past the 25+ threshold and feels bloated for a server named 'Odds Api'. Many tools are meta-platform utilities — memory, feedback, trending, dependency scanning, llms.txt generation — that have no obvious connection to an odds API and make the surface hard to navigate.

Completeness4/5

The odds domain is well covered: list_sports, get_events, get_odds, get_event_odds, get_scores, quota tracking, and subscriptions form a coherent read/monitor workflow. Minor gaps exist — no historical odds or a single-event detail endpoint — but agents can complete core odds research and monitoring tasks without dead ends.