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

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, but the description adds substantial context: data sources (SEC EDGAR/XBRL, FAERS), handling of off-calendar fiscal years, sorting by primary metric, return format with citation URIs, and the efficiency claim of replacing 8–15 lookups. Enhances the agent's understanding beyond the 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 dense but not overly long; the initial trigger phrase list is useful for matching user intent, and each sentence contributes functional information. Slightly verbose in the trigger examples, but earns its place for an AI agent.

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?

Given no output schema, the description explains the return type ('paired data + pipeworx:// citation URIs') and sorting behavior. It covers the two parameter types, data sources, and edge-case handling (off-calendar fiscal years). Minor gaps include the exact structure of 'paired data', but this is adequate for invocation.

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?

Schema coverage is 100%, so baseline is 3, but the description adds meaningful nuance to the 'type' parameter by specifying what data each entity type pulls (e.g., 'company' pulls latest 10-K revenue, 'drug' pulls FAERS counts). This goes beyond the schema's simple enum description.

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?

Description clearly states a specific verb+resource: 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call.' It also includes trigger phrases and explicitly contrasts with sequential single-pack lookups, distinguishing it from sibling tools like entity_profile.

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?

Provides explicit guidance: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' Defines use cases for company vs drug types with concrete examples. Does not explicitly mention when *not* to use it (e.g., for single entity lookups), but the emphasis on comparison makes this implicit.

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.6/5.0
Disambiguation2/5

Multiple tool clusters overlap heavily: three ask_pipeworx variants, five polymarket_* tools, and two AI-visibility tools (ai_visibility_check vs scan_competitor_ai_presence) could easily be misselected. While descriptions are detailed, the boundaries between search/research/bet/compare tools are blurry enough to cause agent confusion.

Naming Consistency4/5

Tool names follow a consistent lowercase snake_case pattern, and most use a verb-first or noun-based descriptive style (ask_pipeworx, bet_research, entity_profile, validate_claim). Minor deviations like deep_research or process_v2 are absent here; the set is largely predictable and readable.

Tool Count2/5

At 32 tools, the server exceeds the 25-tool threshold for heaviness. Many tools are edge-case variants or meta-features (pipeworx_feedback, pipeworx_trending, suggest_questions) that could be consolidated. The server's stated identity as 'Victorian Complaint' also clashes with this scale, making the count feel excessive for the apparent core purpose.

Completeness4/5

The tool set provides broad coverage for data research, entity resolution, comparison, memory, subscriptions, and prediction-market analysis. It supports query, research, discover, validate, and monitor workflows with few dead ends. Minor gaps like a generic 'get_entity' or direct data-writing tools exist, but they are not core to the implied domain.