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?

The description goes far beyond the annotations by disclosing what data is pulled for each type (10-K revenue/net income/cash/debt for companies; FAERS counts, FDA approvals, trials for drugs), correct handling of off-calendar fiscal years, sorting by primary metric, and the inclusion of pipeworx:// citation URIs. These behaviors are not present in the annotations, adding substantial value.

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 with valuable information: trigger phrases, use cases, data sources, fiscal-year handling, sorting, and output format. While it is long, every clause contributes practical guidance, and the most critical info (comparison action, preference over sequential lookups) is front-loaded.

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?

With no output schema, the description compensates by specifying that it returns paired data with per-entity citation URIs and sorted by primary metric. It also conveys the parallel-call efficiency and the input constraints (2–5 entities). Despite its complexity, it provides a complete enough picture 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 covers both parameters 100% with descriptions and examples. The description enriches semantics by explaining that type='company' triggers SEC financial data extraction and type='drug' triggers adverse-event/trial data, and by detailing the expected data fields for each. This goes beyond the structural schema to help the agent understand the meaning of the parameter values.

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 tool's function: side-by-side comparison of 2–5 companies or drugs in one parallel call. It uses a specific verb (compare) and resource (entities), and distinguishes itself from single-entity lookups by emphasizing "ALWAYS PREFER 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?

The description provides explicit when-to-use guidance, including trigger phrases like "which is bigger / better" and "rank these companies," and explicitly says to always prefer it over sequential lookups when comparing entities. It also contrasts with the alternative (8–15 sequential lookups), making the decision context clear.

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

The ask_pipeworx family (ask_pipeworx / ask_pipeworx_beta / ask_pipeworx_grounded / deep_research) has significant boundary blurring—ask_pipeworx_beta explicitly 'currently matches ask_pipeworx exactly'—and the six prediction-market tools (bet_research, polymarket_arbitrage, polymarket_edges, polymarket_edge_tracker, polymarket_fill_risk, polymarket_kalshi_spread) have heavily overlapping edge-detection purposes. Only the archive, memory, and subscription families are cleanly delineated.

Naming Consistency3/5

There are consistent family prefixes (ask_*, polymarket_*, pipeworx_*) and clean pluralized lists (list_files, list_subscriptions), but the full set mixes bare verbs (remember, recall, forget, search), nouns (entity_profile), and varying patterns (bet_research vs compare_entities, search vs search_within vs recent_changes). Readable in clusters, but no single naming convention binds the set.

Tool Count2/5

35 tools is heavy, and the count is fattened by five distinct product areas—data routing, prediction markets, archive.org access, memory, and subscriptions—that have little to do with each other or with the server name 'archive'. It sits in the 25+ heavy zone even before honoring the mismatch between its name and the sprawl of its purpose.

Completeness3/5

Individual subdomains are well-covered: the memory trio (remember/recall/forget), subscription lifecycle (subscribe/unsubscribe/list_subscriptions/recent_alerts), and archive lineup (search/get_metadata/list_files/wayback_check) are each complete, and extra machinery like pipeworx_feedback and recent_changes shows domain care. But the unifying domain is incoherent—a server named 'archive' that's also a universal data router and prediction-market toolkit—and the scope ends up both bloated and still full of gaps for any one of the intended users (e.g. no archive-item upload, no prediction-market portfolio management).