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

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, but the description adds valuable behavioral context: it pulls from SEC EDGAR/XBRL for companies (including handling off-calendar fiscal years) and FAERS for drugs. It also reveals that results are sorted by primary metric and that responses include citation URIs. 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 relatively long but every sentence adds necessary information. It front-loads with example triggers, then explains the mechanism, data sources, and output format. Could be slightly trimmed, but the density of useful information justifies the length.

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?

Given the tool's complexity (two entity types, multiple data sources, variable entity count) and the good annotations/input schema, the description covers all key aspects: data sources, return format, sorting, and use case context. It lacks details on error handling or latency, but overall is sufficient for correct invocation.

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?

The input schema provides 100% coverage with clear descriptions for both parameters (type and values). The description enhances this by detailing what data is retrieved for each entity type, specifying value formats (tickers/CIKs for company, names for drug), and clarifying the count constraints (2–5). This adds significant context beyond the 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?

The description clearly states the tool's purpose: side-by-side comparison of 2–5 companies or drugs. It provides explicit trigger phrases like 'compare X and Y', 'which is bigger', and 'rank these companies', making the purpose unmistakable. It also distinguishes itself from sibling tools by noting it replaces sequential single-entity 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 gives explicit when-to-use guidance with multiple example user intents. It further states 'ALWAYS PREFER over sequential single-pack lookups', directly telling the agent when this tool is superior to alternatives like entity_profile. It also clarifies the tool's efficiency gain by replacing 8–15 sequential lookups.

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

Many tools have overlapping purposes, such as multiple ask_pipeworx variants (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded) that differ only subtly, and a large set of prediction market tools (bet_research, polymarket_arbitrage, polymarket_edges, etc.) that can be easily confused. Entity tools like entity_profile, recent_changes, and compare_entities also overlap significantly. An agent would struggle to pick the right tool without careful reading.

Naming Consistency2/5

Tool names mix snake_case (ask_pipeworx, deep_research, forget) and descriptive phrases without a consistent verb_noun pattern. Some start with verbs (compare, generate, scan) while others are nouns or compound phrases (pipeworx_trending, polymarket_fill_risk). This inconsistency makes it hard to predict tool names.

Tool Count2/5

With 35 tools, this MCP server is overly large and covers many diverse domains (data querying, prediction markets, pharmacology, npm scanning, brand visibility, etc.). Typically, a well-scoped server has 5-15 tools; 35 is excessive and suggests a lack of focus, making it unwieldy for an agent to manage.

Completeness2/5

Despite the large number of tools, the server has notable gaps. For example, the pharmacology section only offers search and interaction tools but no create/update/delete. The memory tools are limited to save/recall/forget. Many meta-tools (discover_tools, suggest_questions) exist but add little substance. The server covers many domains superficially rather than providing full lifecycle coverage for any one domain.