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?

Annotations already indicate readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description adds critical behavioral context: for 'company', it pulls 'LATEST 10-K revenue + net income + cash + long-term debt from SEC EDGAR/XBRL' and handles 'off-calendar fiscal years correctly (AAPL Sep, NVDA Jan).' For 'drug', it pulls 'FAERS adverse-event counts, FDA approval counts, active trial counts.' It also states 'Results sorted by primary metric' and returns 'paired data + pipeworx:// citation URIs per entity.' 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 well-structured and front-loaded with trigger phrases and core purpose. Every sentence adds value (trigger examples, use-case preference, data details, sorting, return format, efficiency claim). It is slightly long but efficient for the information density. A minor trim could be possible, but overall excellent.

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 2 parameters and no output schema, the description is remarkably complete. It covers both entity types with data sources, sorting behavior, return format (paired data + citation URIs), edge cases (off-calendar fiscal years), and an efficiency comparison (replaces 8-15 lookups). No gaps for an agent to decide to invoke or interpret results.

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 description coverage is 100%, with clear enum for 'type' and array constraints for 'values'. The description adds context beyond schema: for 'company', it specifies 'tickers/CIKs' and gives examples; for 'drug', specifies 'names' and examples. It also explains what data each type returns, aiding agent understanding.

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 starts with user query examples ('Compare X and Y', 'which is bigger') and explicitly states 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call.' It distinguishes from sibling tools by noting 'ALWAYS PREFER over sequential single-pack lookups' and that it replaces '8–15 sequential 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 lists trigger phrases ('compare', 'X vs Y', 'rank these', 'head to head') and explicitly says 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It provides clear when-to-use guidance and implies when not to use (avoid single-entity lookups).

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

Most tools have distinct roles, but there is meaningful overlap among the question-answering family (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research) and among the Polymarket analysis tools (bet_research, polymarket_arbitrage, polymarket_edges, polymarket_fill_risk). The long descriptions help separate them, but the boundaries are still subtle enough that an agent could easily pick the wrong variant.

Naming Consistency4/5

The naming is mostly snake_case and generally follows a verb_noun pattern (ask_pipeworx, compare_entities, resolve_entity, scan_dependency, validate_claim). Deviations like entity_profile, recent_alerts, recent_changes, and bare verbs (forget, recall, remember, subscribe, unsubscribe) are minor and do not seriously harm predictability.

Tool Count3/5

31 tools is heavy for a single server and suggests the surface is a bundled platform (data queries, prediction markets, memory, subscriptions, AI-visibility checks) rather than one tightly scoped domain. Each tool has a rational purpose, but the sheer count plus several meta/didactic tools makes the set feel somewhat oversized.

Completeness4/5

Core workflows are well covered: entity resolution, profiles, comparisons, grounded lookup, fact-checking, deep research, memory CRUD, and subscription lifecycle. Gaps are minor. There are no update operations for subscriptions, and some optional data sources degrade softly, but agents can accomplish the intended research, monitoring, and memory tasks without dead ends.