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"]).

TDQS

A4.8/5.0
Behavior5/5

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

Even with annotations (readOnlyHint, openWorldHint, idempotentHint) already covering safety, the description adds substantial behavioral context: it pulls specific financial metrics from SEC EDGAR/XBRL for companies and FAERS/FDA/trial data for drugs, handles off-calendar fiscal years correctly, sorts by primary metric so 'largest' reads off the top, and returns paired data with citation URIs. This far exceeds the structured 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 longer than average, but every segment earns its place: trigger phrases, explicit preference rule, per-type data details, sorting behavior, and return format are all packed in. It is front-loaded with the most important usage cues and uses formatting (quotes, em-dashes) for readability. It could be slightly tightened, but the density of useful information justifies the length.

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 only 2 params, no output schema, and clear annotations, the description fully explains what the tool does, how it behaves, what data it returns (paired data + citation URIs), and why it should be preferred. It even anticipates edge cases like off-calendar fiscal years. For a tool of this complexity, the description is remarkably complete.

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 covers both parameters with descriptions (100% coverage), so a baseline of 3 is warranted. However, the description adds significant semantic value by explaining what each type actually retrieves (e.g., 'company' → latest 10-K revenue + net income + cash + long-term debt; 'drug' → FAERS counts + FDA approvals + trial counts), and by giving concrete examples for values (tickers/CIKs vs drug names). This goes beyond the schema's minimal definitions.

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 concrete query examples ('Compare X and Y', 'X vs Y', 'rank these companies') and states the core function: side-by-side comparison of 2–5 companies or drugs in a single parallel call. It distinguishes itself from sequential lookups ('Replaces 8–15 sequential lookups') and from sibling tools like entity_profile by explicitly focusing on multi-entity comparison.

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 says 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', giving direct usage guidance. It also lists example queries that should trigger this tool, implicitly covering when to use it. No exclusion criteria are needed because the examples plus the 'ALWAYS PREFER' instruction clearly delimit the intended use case.

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

Several tools overlap heavily: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, and validate_claim all route questions to similar data sources, and ask_pipeworx_beta is explicitly identical to ask_pipeworx right now. The many polymarket tools also blur together despite detailed descriptions.

Naming Consistency3/5

Most names are snake_case, but there is no consistent verb_noun pattern: ask_pipeworx, bet_research, entity_profile, layer_info, pipeworx_trending, recent_changes, and validate_claim follow different stylistic conventions. The pattern is readable but feels like several naming vocabularies were merged.

Tool Count2/5

34 tools is well over the comfortable range and most of them are unrelated to the apparent ArcGIS Johnson City purpose. Only search_datasets, layer_info, and query_layer actually serve GIS needs; the remaining 31 tools form a sprawling Pipeworx meta-platform bolted onto the same server.

Completeness3/5

The ArcGIS portion covers discover-schema-query reasonably well for read-only open data, and the Pipeworx side has broad coverage with subscriptions, memory, feedback, and research workflows. However, the surface is defined by two unrelated domains, making it hard to judge true completeness for any one stated purpose.