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 indicate readOnly, openWorld, idempotent, and non-destructive. The description adds significant context: for company type it pulls latest 10-K data with correct fiscal year handling, for drug type it pulls adverse-event counts and trial data, and it returns paired data with 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 moderately long but well-structured. It opens with trigger phrases, then defines the core purpose, followed by detailed behavior for each entity type, and closes with output format. Every sentence adds value, though some rephrasing could reduce verbosity without losing clarity.

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?

Given the low parameter count (2), high schema coverage (100%), and no output schema, the description adequately covers the input requirements, expected output (paired data + citation URIs), and special behaviors (fiscal year handling, sorting by primary metric). It is complete for an agent to use this tool effectively.

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% with descriptions for both parameters. The description adds semantic value by explaining valid values (tickers/CIKs for company, drug names for drug), constraints (2–5 items, minItems/maxItems clarified), and how values map to entity types. While the schema already specifies enums for 'type', the description provides concrete usage examples and clarifies the difference between company and drug inputs.

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 performs side-by-side comparison of 2–5 companies or drugs. It provides natural language triggers ('compare X and Y', 'which is bigger', etc.) and specifies the data pulled for each entity type (SEC EDGAR financials for companies, FAERS data for drugs). This differentiates it from siblings like entity_profile which likely handles single entities.

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 over alternatives. It also explains the behavior for each type and that results are sorted by primary metric, helping the agent understand when to invoke it.

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

The ask_pipeworx / ask_pipeworx_beta / ask_pipeworx_grounded / deep_research cluster overlaps heavily on question-routing, and the six polymarket_* tools all operate on prediction-market edges and can be confused. The ipma_*, memory, and subscription tools are distinct, but the overlapping clusters create real misselection risk.

Naming Consistency3/5

Snake_case is used throughout and there are clear prefix groups (ipma_*, ask_pipeworx, polymarket_*), but the rest mix verb-first (compare_entities, discover_tools), noun-first (entity_profile, bet_research), and bare verbs (remember, recall, forget). Readable overall, but no consistent verb_noun convention.

Tool Count2/5

36 tools is heavy, and the server name 'Ipma Pt' implies a narrow Portugal-weather service while 31 of the tools belong to a broad Pipeworx data/prediction-market platform. The scope mismatch makes the count feel bloated rather than curated.

Completeness4/5

The dominant Pipeworx domain is well covered: querying, grounded answers, deep research, entity resolution, comparison, claim validation, subscriptions, memory, and tool discovery are all present with few dead ends. Minor gaps exist (e.g., no general web search tool, thin IPMA historical/warning coverage), but agents can work around them.