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. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations indicate read-only, open-world, idempotent, non-destructive. The description adds significant behavioral detail: for companies it pulls latest 10-K financials with correct fiscal-year handling; for drugs it pulls FAERS counts, FDA approvals, trial counts. It notes results are sorted by primary metric and returns paired data with citation URIs. 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 comprehensive but slightly long. However, it is front-loaded with common natural-language triggers and every sentence provides unique value. Could be trimmed slightly but remains efficient.

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?

The tool is moderately complex (2 entity types, multiple data sources, sorting, citation URIs). The description covers the core functionality, input examples, output structure, and when to use. It does not detail error cases or edge limitations, but given the clear schema and annotations, this is sufficient.

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%, so baseline is 3. The description adds meaning beyond the enum labels: for 'type' it explains what data each enum value retrieves; for 'values' it gives concrete examples for both company (tickers/CIKs) and drug (names) and confirms min/max counts. This adds real-world context.

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 the action (side-by-side comparison) and the resources (companies or drugs). It distinguishes from sibling tools like entity_profile by emphasizing it replaces 8–15 sequential lookups and always prefers this tool 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?

Explicitly provides natural language triggers ('Compare X and Y', 'X vs Y', 'which is bigger', 'rank these companies', 'head to head') and states 'ALWAYS PREFER over sequential single-pack lookups'. It also explains the entity types and what data each pulls, giving clear guidance on when to use.

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

Most tools have distinct, well-documented roles, but the set includes two effectively identical routers (ask_pipeworx and ask_pipeworx_beta, with the latter explicitly matching the former right now) and a dense cluster of six Polymarket tools that an agent must read carefully to choose among. This is more than a minor overlap, though the detailed descriptions prevent it from being complete chaos.

Naming Consistency3/5

Everything is snake_case, which is a plus, but the patterns are inconsistent: some tools are verb_noun (resolve_entity, validate_claim, list_subscriptions), some are noun phrases (entity_profile, bet_research, recent_alerts), some use brand prefixes (ask_pipeworx*, polymarket_*, pipeworx_*), and take_the_meeting_evaluate is a sentence-like outlier. The prefixes do provide grouping, but the naming doesn't give a predictable action structure.

Tool Count2/5

32 top-level tools is above the 25+ threshold and will bloat an agent's tool-selection surface, especially because the server name 'Take The Meeting' suggests a narrow meeting tool while 31 of the tools are unrelated Pipeworx/data features. Even as a broad data-research server, several tools could be collapsed (the ask variants, the Polymarket family), so the count feels inflated.

Completeness2/5

For the purpose implied by the server name and the lone meeting tool, the surface is severely incomplete: there is no way to list or fetch meetings, access calendar/attendee context, or do anything beyond evaluating one set of supplied parameters. For the broad data-research domain that most tools actually serve, the read/research side is rich, but that is a completely different purpose from 'Take The Meeting', leaving the meeting feature as a disconnected dead end.