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?

Beyond the read-only/idempotent annotations, the description adds rich behavioral context: data sources (SEC EDGAR/XBRL, FAERS), handling of off-calendar fiscal years, sorting by primary metric, and citation URI output. This significantly enhances understanding of what the tool does internally.

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 densely packed with useful information—trigger phrases, preference rule, data details, and return format—but the all-caps 'ALWAYS PREFER' and multiple example phrases make it slightly verbose. Still, every sentence earns its place, and it is 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?

With only two parameters and no output schema, the description fully covers what the agent needs: it states data sources, metrics, sorting behavior, and return format (paired data + citation URIs). For a tool of this complexity, it leaves no critical gaps.

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 describes both parameters with 100% coverage, but the description adds valuable semantics: type='company' maps to 10-K financials, type='drug' maps to FAERS counts, and values must be tickers/CIKs vs drug names. It also clarifies the 2-5 limit with examples, going beyond the schema.

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 identifies the tool as a side-by-side comparison of 2–5 entities in one parallel call, with explicit trigger phrases like 'X vs Y' and 'rank these companies'. It distinguishes itself from sequential single-pack lookups, making its purpose and scope unmistakable.

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?

It explicitly instructs the agent to prefer this tool over sequential single-pack lookups when comparing entities and provides concrete query examples that signal when to use it. This gives actionable usage guidance with a clear alternative.

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

Many tools have distinct purposes, but there is overlap within the Pipeworx family (ask_pipeworx vs ask_pipeworx_grounded) and Polymarket tools (bet_research, polymarket_edges, etc.). Descriptions are detailed and help differentiate, but the sheer number of tools from different domains can cause an agent to select the wrong one for a given task.

Naming Consistency2/5

Naming is highly inconsistent: some tools follow verb_noun (ask_pipeworx, compare_entities), others are nouns (layer_info, entity_profile), and some have prefixes (pipeworx_trending, polymarket_arbitrage). There is no uniform pattern, making the set feel chaotic.

Tool Count2/5

33 tools is far too many for a server named 'Arcgis Maricopa', which only has 3 GIS-specific tools. The remaining tools are from unrelated domains (polymarket betting, general Pipeworx queries, utilities), making the tool set bloated and unfocused for its stated purpose.

Completeness3/5

For the ArcGIS domain, the set is minimal (only search, schema, and query) and lacks management or analysis tools. However, the broader toolset covers many data domains (finance, drugs, prediction markets), but with gaps like no update/delete operations for the GIS data. The overall coverage is mixed.