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?

Adds meaningful behavioral context beyond annotations: per-type data sources (SEC EDGAR/XBRL vs FAERS/FDA), handling of off-calendar fiscal years, sorted results by primary metric, and citation URIs. No contradiction with readOnly/idempotent 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?

Front-loaded with trigger examples and well organized by type, but slightly redundant: 'ALWAYS PREFER over sequential single-pack lookups' is restated as 'Replaces 8–15 sequential lookups.' Otherwise every sentence earns its place.

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 no output schema, the description adequately covers inputs, data sources, sorting, return format (paired data + URIs), and entity-type behavior. It is complete enough for an agent to select and invoke correctly.

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?

Schema provides enum and array descriptions, but the description adds critical semantics: what metrics each 'type' pulls, example values (AAPL/MSFT, ozempic/mounjaro), and max count of 5. This substantially enriches the 2 parameters.

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?

States specific verb and resource: side-by-side comparison of 2–5 companies or drugs in one call. Trigger phrases ('X vs Y', 'which is bigger', 'rank these companies') make intent unambiguous and distinguish it from single-entity sibling tools.

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?

Explicitly says 'ALWAYS PREFER over sequential single-pack lookups when comparing entities' and lists exact user queries that should trigger this tool. It establishes when to use it and discourages the alternative sequential approach.

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

Most tools are organized into clearly differentiated families (ask_pipeworx vs ask_pipeworx_grounded, polymarket_edges vs polymarket_arbitrage), but there are some genuinely ambiguous pairs: ask_pipeworx_beta is currently identical to ask_pipeworx, and search_recalls/recent_recalls, ai_visibility_check/scan_competitor_ai_presence, and bet_research/polymarket_edges all require careful reading to avoid misselection.

Naming Consistency3/5

The set is consistently lowercase snake_case and contains strong families like ask_pipeworx*, polymarket_*, recent_*, and search_*. However, the naming pattern is mixed: imperative verbs (recall, forget, subscribe), noun phrases (entity_profile, recent_changes, pipeworx_trending), and action prefixes (scan_, generate_, validate_) all coexist, making the overall convention less predictable than a uniform verb_noun scheme.

Tool Count2/5

With 33 tools, the server exceeds the healthy range and spreads across many side domains: data research, prediction markets, memory, subscriptions, npm dependency checks, llms.txt generation, and AI visibility audits. No individual tool feels pointless, but the overall surface is sprawling rather than tightly curated for a single purpose.

Completeness4/5

The core research workflow is well covered: querying, grounded verification, entity resolution, profiles, comparisons, recent changes, claim validation, deep research, memory, and subscriptions. Minor gaps exist—there is no direct reader for pipeworx:// citation URIs, no tool to update or edit a stored memory, and subscriptions can be created/cancelled but not modified—but agents can work around these.