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 declare readOnlyHint, openWorldHint, idempotentHint true. The description adds substantial behavioral context: explains data sources (SEC EDGAR/XBRL for companies, FAERS/FDA/ClinicalTrials for drugs), handles off-calendar fiscal years, mentions results sorted by primary metric, and includes pipeworx:// citation URIs. 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 front-loaded with common query patterns and is information-dense. Every sentence adds value, covering usage, data sources, return format, and efficiency claim. It could be slightly streamlined (e.g., removing some examples), but overall it's well-structured and not overly verbose for the complexity.

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?

No output schema exists, so the description must explain return format. It does so clearly: 'paired data + pipeworx:// citation URIs per entity.' It covers both entity types, mentions sorting behavior, and implies comparison results. For a tool replacing many sequential lookups, this is rich context.

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 coverage is 100% with both parameters described. The description adds meaning: for 'type' it specifies what data each enum value pulls; for 'values' it provides concrete examples (tickers for company, drug names for drug) and enforces min/max items. This goes beyond schema to clarify expected input formats.

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 begins with concrete user query examples, then states it performs side-by-side comparison of 2–5 companies or drugs. It distinguishes from siblings by explicitly preferring this tool over sequential single-entity lookups, noting it replaces 8–15 calls. The purpose is unmistakably clear.

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 instructs to 'ALWAYS PREFER over sequential single-pack lookups when comparing entities,' giving clear guidance on when to use this tool. Example queries like 'which is bigger / better / larger' and 'head to head' further indicate appropriate use cases. No explicit exclusion is needed given the strong preference and clarity.

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

Many tools have distinct purposes, but the ask_pipeworx variants (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded) and the prediction market tools (bet_research, polymarket_edges, polymarket_arbitrage) can cause confusion due to overlapping functionality. Some tools like 'seattle_recent' are vague.

Naming Consistency4/5

Most tools follow a consistent verb_noun or noun_verb pattern (e.g., validate_claim, resolve_entity). However, a few like 'seattle_recent' and 'pipeworx_trending' deviate slightly, and 'recent_alerts' mixes noun_verb.

Tool Count2/5

34 tools is excessive for a single server, covering data retrieval, prediction markets, Seattle data, memory, subscriptions, and utility. The broad scope feels bloated and overwhelming, making it hard for agents to find the right tool.

Completeness4/5

The server covers a wide array of domains with good depth in data retrieval and prediction markets. Minor gaps exist (e.g., Seattle tools limited to four datasets, no other city data), but overall it addresses most use cases its tools suggest.