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?

While annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, the description adds significant behavioral context: it pulls from SEC EDGAR/XBRL for companies and FAERS for drugs, correctly handles off-calendar fiscal years (AAPL, NVDA), sorts results by the primary metric, and returns paired data with citation URIs. These details go well beyond the annotations and inform the agent about data provenance and output ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is about eight sentences, but every clause serves a purpose: trigger phrases, core function, preference directive, type-specific data details, sorting behavior, output format, and performance benefit. It is front-loaded with the most important usage cues and avoids repetition. The structure is logical, starting with user intents and proceeding to behavior and output.

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?

For a tool with two entity types and multiple behaviors, the description is remarkably complete. It covers when to use, what data each type returns, fiscal-year handling, sorting, output format (paired data + citation URIs), and even notes it replaces many sequential lookups. The schema and annotations handle parameter constraints and safety, so the description leaves no significant gap for an agent to select and invoke the tool correctly.

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?

The schema already provides 100% coverage for both parameters (type and values), so the baseline is 3. The description adds valuable meaning by specifying what data each enum value returns ('type="company" pulls LATEST 10-K revenue...', 'type="drug" pulls FAERS adverse-event counts...') and clarifies accepted input formats (tickers/CIKs vs names). This enriches the enum semantics beyond the schema's terse descriptions.

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 opens with clear trigger phrases ('Compare X and Y', 'X vs Y', 'rank these companies') and explicitly states the core function: 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call.' It distinguishes itself from sibling tools by positioning as the preferred alternative to sequential single-pack lookups and mentions it replaces 8–15 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 gives explicit when-to-use guidance via example query patterns and states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It also clarifies the difference between type='company' and type='drug', helping the agent choose the correct variant based on the entities being compared. This provides clear usage context and an explicit alternative to avoid.

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

Several tool clusters overlap heavily: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all serve research questions through the same router, and the five polymarket_* tools plus bet_research form a dense prediction-market cluster. Even with detailed descriptions, an agent choosing between these near-synonyms would frequently need extra reasoning or make the wrong pick.

Naming Consistency2/5

Names mix product-prefixed verbs (ask_pipeworx, polymarket_arbitrage), generic verbs (remember, forget, recall, subscribe), and noun phrases (entity_profile, layer_info, recent_alerts). There is no consistent verb_noun or prefix convention across the set, making the tool surface feel patchwork rather than systematically named.

Tool Count2/5

With 34 tools, the count is already on the heavy side, but it is especially mismatched with the server name 'Arcgis Puyallup': only search_datasets, query_layer, and layer_info actually belong to that GIS domain. The rest are a broad Pipeworx research and prediction-market platform, so the set feels bloated and off-scope for the apparent purpose.

Completeness3/5

The ArcGIS read-only surface is minimally reasonable: search, schema inspection, and querying cover basic open-data consumption. The Pipeworx side is quite rich, with memory, subscriptions, lookups, grounded verification, and discovery, but the named GIS domain is thinly served and lacks obvious capabilities like listing all datasets or browsing layers without a keyword. Overall, coverage is uneven and hard to evaluate cleanly because the server mixes two unrelated purposes.