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

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

Annotations already declare readOnly and idempotent behavior. Description adds valuable context: data sources per type (SEC EDGAR/XBRL for companies, FAERS for drugs), fiscal year handling, and sorting by primary metric. No contradiction.

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?

Front-loaded with example natural-language triggers. Contains multiple pieces of information (use cases, data sources, sorting, citation URIs) in a dense but readable format. Could trim some examples but overall 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?

No output schema, but description covers return format ('paired data + pipeworx:// citation URIs') and sorting. Explains data sources for both entity types. With 2 required params and good annotations, description is sufficient for safe invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

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

Schema coverage is 100% (baseline 3). Description adds that 'for company: tickers/CIKs' and 'for drug: names', which slightly enriches enum descriptions. Mostly restates schema; no deep parameter guidance beyond aliases.

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?

Clear verb+resource: 'side-by-side comparison of 2–5 companies or drugs'. Distinguishes from sequential single-pack lookups by explicitly stating preference. Lists example queries (e.g., 'which is bigger / better').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities'. Provides concrete use cases (e.g., 'rank these companies', 'head to head'). Does not specify when not to use, but context is strong enough for correct selection.

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

A4.2/5.0
Disambiguation4/5

Most tools have clear distinct purposes, but the three ask_pipeworx variants (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded) are very similar, and there is some overlap between bet_research and polymarket_edges. Overall, the majority are well-differentiated.

Naming Consistency5/5

Tool names follow a consistent snake_case verb_noun pattern with only minor deviations (e.g., 'chokepoints_list' vs 'chokepoint_daily_traffic'). The naming convention is predictable and clear.

Tool Count2/5

At 37 tools, the surface is overly large for a focused server. Many tools are meta-tools that could have been consolidated, and the count exceeds the recommended range (25+), making it feel heavy and unwieldy.

Completeness5/5

The server covers maritime chokepoints comprehensively (list, status, daily, compare, disruptions), and the Pipeworx-based tools provide broad coverage across financial, drug, prediction market, and general query domains. There are no obvious gaps for the stated scope.