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 adds substantial behavioral context beyond the annotations: it reveals data sources (SEC EDGAR/XBRL for companies, FAERS for drugs), specifies that off-calendar fiscal years are handled correctly, explains sorting by primary metric, and notes it returns paired data plus citation URIs. This enriches the read-only annotation with detail on what the tool actually does.

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 longer than the calibration examples but every sentence contributes value: trigger phrases, usage preference, data sources, special fiscal-year handling, sorting, and return format. It is well-structured and front-loaded with usage cues, though it could be slightly trimmed without losing essential information.

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?

For a tool with two parameters and no output schema, the description gives adequate context: it explains the number of entities supported, the data sources, sorting behavior, and that it returns paired data with citation URIs. It does not mention error handling or invalid inputs, but the core usage is clear enough for an agent to invoke 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?

While the schema provides full coverage of the two parameters (type and values), the description adds meaningful semantics: it explains that 'type=company' pulls financials from 10-K and 'type=drug' pulls adverse-event/trial counts, and it gives example values like tickers/CIKs or drug names. This goes beyond the schema's basic 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 performs side-by-side comparisons of 2–5 companies or drugs in one call, using specific verbs like 'compare', 'rank', and 'head to head'. It also distinguishes from sibling tools by explicitly saying it should be preferred over sequential single-pack lookups, making its purpose unambiguous.

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 with trigger phrases and states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It also clarifies the two entity types (company vs drug) and what each pulls, which helps the agent decide which to use. No explicit exclusions for single-entity lookups, but the preference is 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, validate_claim) all route to the same underlying 5,708-tool catalog with subtle behavioral differences that are easy to misselect. Entity-focused tools (entity_profile, compare_entities, recent_changes, scan_competitor_ai_presence) also overlap heavily in the data they return, making boundaries fuzzy.

Naming Consistency3/5

All names use snake_case, but the word-order convention is mixed: verb-first (ask_pipeworx, compare_entities, discover_tools) coexists with noun-first (entity_profile, polymarket_arbitrage, recent_changes). The inconsistent reversal in excuse_generate versus generate_llms_txt further breaks the predictable pattern.

Tool Count2/5

At 32 tools the set is well past the well-scoped range, and several entries feel like padding: ask_pipeworx_beta duplicates ask_pipeworx, while the seven Polymarket tools and five company-intelligence tools could each be consolidated into fewer distinct capabilities. The broad scope justifies a large surface, but this count makes the server difficult to navigate.

Completeness3/5

The core data-lookup lifecycle (resolve, fetch, ground, validate, research, compare) is well covered, and memory/subscription features round it out. Obvious gaps include no direct tool to read a pipeworx:// citation URI (despite deep_research referencing one), and the excuse_generate tool is an isolated one-off with no supporting tools in its domain.