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

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

Annotated as read-only and non-destructive. Description adds behavioral context: data sources (SEC EDGAR for companies, FAERS for drugs), handling of off-calendar fiscal years, results sorted by primary metric, and inclusion of citation URIs. No contradiction 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?

Description is packed with useful information but is slightly verbose. It front-loads common queries effectively. Could be shortened slightly without losing clarity, but still highly efficient.

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?

Given the complexity (two entity types, multiple metrics, fiscal year handling), the description covers all essential aspects: data sources, sorting, citation URIs, and efficiency gains. No output schema, but return format is adequately implied.

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 has 100% coverage; description adds meaning by explaining what each entity type pulls (financials vs. adverse events/trials) and the constraints on the values array (min 2, max 5). Also clarifies usage of tickers/CIKs vs. drug names.

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 the tool performs side-by-side comparison of 2-5 companies or drugs, using verbs like compare, and lists common user queries. It distinguishes from sibling tools by advocating preference over sequential single-pack 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?

Explicitly tells when to use: for comparison queries like 'X vs Y', 'rank these companies', and 'head to head'. It strongly recommends this tool over alternatives (ALWAYS PREFER over sequential lookups) and provides examples.

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 enough to cause misselection: ask_pipeworx and ask_pipeworx_beta are functionally identical right now, ask_pipeworx_grounded and validate_claim both handle factual lookup/verification, and ai_visibility_check/scan_competitor_ai_presence are near duplicates in scope. The country/state/city tools are distinct but sit in a pile of unrelated Pipeworx tools, adding confusion.

Naming Consistency3/5

All names are lower_snake_case and families like polymarket_* and ask_pipeworx* help group tools, but the verb_noun convention is inconsistent: entity_profile, deep_research, recent_alerts, and pipeworx_trending are noun phrases, while remember/forget/subscribe are bare verbs. It is readable but not a predictable pattern.

Tool Count2/5

34 tools is above the practical ceiling for a focused MCP server, and the mismatch is severe: only 3 tools match the 'Country State City' name while 31 belong to a broad Pipeworx platform. A geographic server would need roughly 3-6 focused tools; this surface is bloted.

Completeness2/5

For the stated Country State City domain, list_countries/get_states/get_cities provide the basic hierarchy, but there is no city search, country/state detail lookup, or attribute discovery beyond the three list endpoints, making the useful geographic surface thin. For the Pipeworx domain the coverage is broader, but that confirms the identity mismatch and obscures the server's actual purpose.