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?

It discloses data sources (SEC EDGAR/XBRL, FAERS, FDA), specific metrics per type, handling of off-calendar fiscal years, sorting by primary metric, and returns paired data with citation URIs. This goes well beyond the annotations (readOnly, idempotent) by explaining actual operational behavior and edge cases.

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 dense but each sentence earns its place: trigger phrases, preference guidance, type-specific data, sorting behavior, and return format. Despite being longer than a minimal description, it is well-structured and front-loaded with the most critical usage patterns.

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?

With no output schema, the description compensates by stating it returns paired data and citation URIs, and notes results are sorted. It covers entity count limits, data sources, fiscal-year handling, and replacement of many sequential lookups. This is complete 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?

Schema coverage is 100% and already describes type and values with examples. The description adds the specific data each type pulls (e.g., 10-K revenue for companies, FAERS counts for drugs) and clarifies ticker/CIK vs drug name formats, enriching the meaning beyond the schema, although the schema already covers the basics.

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 a side-by-side comparison of 2–5 companies or drugs in one parallel call, using explicit trigger phrases ('Compare X and Y', 'X vs Y'). It distinguishes itself from sequential single-pack lookups by emphasizing parallel execution, which sets it apart 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides concrete query examples ('which is bigger / better / larger / more profitable') and explicitly instructs 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' This gives clear when-to-use guidance and hints at alternatives without ambiguity.

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

B3.4/5.0
Disambiguation2/5

Multiple tools have heavily overlapping purposes: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all answer data questions, while discover_tools and suggest_questions both serve discovery. The three ArcGIS tools are distinct but are drowned out by the unrelated Pipeworx and prediction-market tools, making it hard to pick the right one.

Naming Consistency3/5

Tool names are mostly snake_case but mix verb_noun (query_layer, search_datasets, remember), noun_noun (layer_info, entity_profile), and less conventional forms (search_within, generate_llms_txt). The naming is readable and not chaotic, but there is no single consistent pattern across the set.

Tool Count1/5

34 tools is excessive for a server named 'Arcgis Palmbeach'. Only 3 tools are GIS-related (search_datasets, query_layer, layer_info); the other 31 are unrelated Pipeworx data, prediction-market, and memory utilities. The count grossly mismatches the server's apparent purpose.

Completeness1/5

For the stated ArcGIS/Palm Beach County GIS purpose, the tool surface is severely incomplete: only search, query, and layer-schema lookup exist, with no data editing, feature operations, or map-service management. While the Pipeworx domain is heavily covered, that is not what the server name promises, so the surface is a poor fit.