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

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

Even though annotations already indicate read-only/idempotent, the description adds valuable behavioral detail: data provenance (SEC EDGAR/XBRL, FAERS), expected output format (paired data + citation URIs), sorting by primary metric, and handling of off-calendar fiscal years. No contradictions.

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 dense and packs a lot of actionable info with no filler, but it reads as a long, unbroken block of text. Breaking it into shorter bullet-style sentences could improve scannability, though every sentence earns its place.

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?

Despite lacking an output schema, the description covers the full context: trigger phrases, entity types, data sources, sorting behavior, output format (paired data + citations), and even mentions the efficiency gain vs sequential lookups. This is sufficient for an AI 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.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description greatly amplifies the semantics: it specifies which financial fields are retrieved for companies (revenue, net income, cash, long-term debt), which counts for drugs (adverse events, approvals, active trials), and gives explicit examples for values. This goes well beyond the bare schema.

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?

Description specifies a precise verb+resource action: 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call.' It differentiates from sibling tools like entity_profile and from sequential single-pack lookups, making the tool's unique role 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?

Provides explicit usage triggers ('Compare X and Y', 'rank these companies'), clearly states when to prefer this tool over sequential lookups ('ALWAYS PREFER'), and gives per-type instructions with concrete data sources for company vs drug.

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/5.0
Disambiguation2/5

Several tools are near-duplicates or have fuzzy boundaries: ask_pipeworx_beta explicitly matches ask_pipeworx exactly, the raw data tools (daily_data, hourly_data, event_data, latest, reservoirs) all read as generic 'get data' operations, and the five polymarket_* scanners overlap in opportunity-finding. The verbose descriptions help for many composite tools, but an agent can still easily select the wrong variant.

Naming Consistency4/5

The naming is predominantly consistent lowercase snake_case with strong prefixed families (ask_pipeworx*, polymarket_*, pipeworx_*, scan_*) and clear verb_noun actions. Minor deviations like noun-only latest/reservoirs, ask_pipeworx lacking a separator, and generate_llms_txt keep it from a 5.

Tool Count2/5

37 tools is well above the heavy threshold, and the count is inflated by redundant meta-tools, three router variants, six overlapping generic data fetchers, and six prediction-market tools. Many tools are purposeful, so it is not an extreme mismatch, but the surface would be much cleaner at roughly 20-25 tools.

Completeness4/5

The set covers the core data lifecycle well: discovery (discover_tools, suggest_questions), lookup (ask_pipeworx), grounding/validation (ask_pipeworx_grounded, validate_claim, search_within), entity workflows (resolve_entity, entity_profile, recent_changes, compare_entities), plus memory and subscription CRUD. Minor gaps like no explicit fetch-by-citation tool and a limited subscription type set prevent a 5.