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

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

The description adds significant behavioral context beyond annotations: data sources (SEC EDGAR/XBRL for companies, FAERS for drugs), handling of off-calendar fiscal years, sorting by primary metric, and inclusion of citation URIs. All annotations are respected and complemented.

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 thorough and front-loaded with key information, but it is somewhat lengthy. However, every sentence serves a purpose, and the structure is logical, making it efficient overall.

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 tool's complexity and the presence of annotations and full schema coverage, the description covers purpose, usage, data sources, special logic, output format, and performance benefits. It is fully adequate without needing to mention rate limits or pagination.

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?

With 100% schema coverage, the description adds substantial meaning: for the 'values' parameter, it provides examples (tickers/CIKs for company, drug names), constraints (2–5 items), and explains how data differs by type. This goes well beyond the schema descriptions.

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 in a single parallel call, replacing multiple sequential lookups. It includes specific example queries and distinguishes from 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 explicitly advises 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It explains when to use the tool and what data each entity type pulls, providing clear guidance without needing to exclude alternatives.

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

Several tools have overlapping or redundant purposes, most notably ask_pipeworx and ask_pipeworx_beta (currently identical), and the cluster of Polymarket tools (polymarket_edges, polymarket_arbitrage, bet_research) which all surface trading opportunities. While the lengthy descriptions help, an agent could easily select the wrong tool.

Naming Consistency4/5

All tool names use snake_case with a readable verb/noun structure, and there are no casing inconsistencies. However, the verb-first vs noun-first pattern is not uniformly applied (e.g., ask_pipeworx vs sarb_timeseries vs polymarket_edge_tracker), so it's mostly consistent with minor deviations.

Tool Count2/5

At 36 tools, the set is large and exceeds the 25-tool threshold; the broad scope justifies some volume but the presence of duplicate/overlapping tools (ask_pipeworx_beta, multiple Polymarket scanners) makes the count feel inflated.

Completeness4/5

The set covers a wide domain — SARB data, company research, prediction markets, AI visibility, memory, and subscriptions — with a good lifecycle for most features. Minor gaps exist (no subscription update, no bulk data export), but the core workflows are well covered.