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

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

Description adds substantial context beyond annotations: explains data sources (SEC EDGAR/XBRL, FAERS), specific metrics (revenue, net income, etc.), sorting behavior, off-calendar fiscal year handling, and return format with citation URIs. All annotations (readOnly, openWorld, idempotent, non-destructive) are consistent and reinforced.

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 examples and key guidance, and every sentence adds value. While it is lengthy, the richness of information justifies the length. Minor opportunity to tighten but overall well-structured.

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?

Despite no output schema, the description thoroughly covers return format (paired data with URIs), entity types, data sources, sorting, and comparison logic. It addresses potential ambiguity (off-calendar years) and provides complete context for a non-nerd agent to use 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?

With 100% schema coverage, description goes beyond enum/type descriptions by detailing exactly what data each entity type retrieves (company: 10-K financials; drug: adverse events, approvals, trials). It also explains sorting by primary metric, adding significant semantic value.

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 it performs side-by-side comparisons of 2-5 companies or drugs, listing trigger phrases like 'compare X and Y' and 'head to head'. It distinguishes from siblings by explicitly recommending this tool over sequential single-pack lookups, stating it replaces 8-15 calls.

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?

The description provides clear usage context with examples and explicitly prefers this tool over sequential lookups. However, it does not specify when not to use it (e.g., if individual profiles are needed instead).

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

Several tools occupy nearly the same question-answering niche: ask_pipeworx, ask_pipeworx_beta (currently identical by its own description), ask_pipeworx_grounded, deep_research, and validate_claim are easy to confuse. The polymarket suite also has overlapping edge/arbitrage/fill-risk boundaries, and discover_tools/suggest_questions both serve onboarding. The verbose descriptions help, but the set as a whole creates real misselection risk.

Naming Consistency4/5

Most tools follow clear snake_case verb_noun or domain-prefix patterns (auctions_search, polymarket_edges, subscribe/unsubscribe, remember/recall/forget). Minor inconsistencies exist: auction_lot_details is singular while the auction group is plural, and polymarket_edges versus polymarket_edge_tracker breaks the prefix pattern slightly. Overall the naming is predictable and readable.

Tool Count2/5

36 tools is well above the 25-tool threshold and feels bloated for a server named 'Gov Auctions': only 5 tools actually concern auctions, while the rest are general Pipeworx research, prediction-market, memory, subscription, and utility tools. Even as a general data platform, the count is heavy and includes several overlapping meta-tools.

Completeness4/5

For the auction-specific surface, the set covers search, lot details, closing-soon, historical sold prices, and data coverage, which is a solid read-only lifecycle. The main gaps are non-critical: no auction-category browser, no auction-specific alert/subscription type, and no bidding workflow. The broad research/esolution tools fill in most adjacent data needs even if they dilute the server's stated focus.