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 read-only, idempotent, and non-destructive behavior. The description adds valuable behavioral detail beyond annotations: it lists specific data sources (SEC EDGAR/XBRL, FAERS), mentions handling of off-calendar fiscal years, describes sorting by primary metric, and states the return format (paired data + citation URIs). This fully discloses behavior, with no contradiction to 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 dense but every sentence earns its place. It front-loads with examples, then provides preference guidance, per-type details, fiscal-year handling, sorting behavior, and efficiency benefits. No wasted words; it's well-structured and appropriately sized for the tool's complexity.

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?

This is a complex tool with two entity types and no output schema. The description covers all essential context: what data is pulled for each type, fiscal-year handling, result sorting, return format, and efficiency. It leaves no meaningful gaps for the intended use case.

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?

Although the schema already describes both parameters, the description adds substantial meaning: for 'type', it explains the different data sources and fiscal-year handling for 'company' vs 'drug'; for 'values', it gives concrete examples (tickers vs names) and explains the min/max. This goes far beyond the schema 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 is extremely clear: it states the tool performs side-by-side comparison of 2–5 companies or drugs in one call. It uses specific verbs like 'compare' and 'rank', and provides trigger examples ('X vs Y', 'which is bigger'). It also explicitly distinguishes from sequential single-pack lookups, making its unique 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 explicitly states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', providing a clear directive for when to use this tool instead of alternatives. It also explains what each type ('company' vs 'drug') does, giving concrete context for choosing the right mode.

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.9/5.0
Disambiguation3/5

Most tools have fairly distinct action/resource targets and the descriptions carefully separate entry points like ask_pipeworx, deep_research, and ask_pipeworx_grounded. However, ask_pipeworx_beta is explicitly an identical clone of ask_pipeworx right now, and a few related pairs (ai_visibility_check vs scan_competitor_ai_presence, stat_ee_find_table fetch_latest vs estonia_average_wage) add ambiguity.

Naming Consistency3/5

Names are consistently lowercase snake_case and verb-led names like resolve_entity, query_table, and suggest_questions are clear. But the set mixes conventions: bare nouns (subjects, recall, forget), adjective-noun phrases (recent_alerts, recent_changes), no-verb names (estonia_average_wage, table_meta), and multiple prefixes (pipeworx_*, polymarket_*, stat_ee_*). It is readable but not a single predictable pattern.

Tool Count2/5

36 tools is well above the 15-tool threshold for a well-scoped server, and the set spans many unrelated domains: Estonian statistics, Pipeworx research, Polymarket betting, AI visibility, npm scanning, memory, and subscriptions. There is also clear redundancy (ask_pipeworx_beta duplicates ask_pipeworx, ai_visibility_check could be folded into scan_competitor_ai_presence). This feels scattered for a server named 'Stat Ee'.

Completeness4/5

For the broad data-research/agent-assistant purpose, key workflows are well covered: discovery/query/grounded/deep research, entity resolution/profile/compare/validate/recent changes, complete memory CRUD, subscription CRUD with alert feeds, and a full Polymarket edge/arb/fill-risk suite. The main gap is not missing operations within these workflows but rather the overall scope being too broad and unfocused.