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?

The description adds rich behavioral context beyond the annotations: it discloses data sources (SEC EDGAR/XBRL, FAERS), specific metrics pulled, handling of off-calendar fiscal years, result sorting by primary metric, and citation URIs. This complements the readOnlyHint/idempotentHint annotations without contradiction.

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 well-structured: front-loaded with user-intent examples, then scoping statement, then per-type details, then result behavior. Every sentence adds value with no redundancy or fluff.

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 only two parameters and no output schema, the description covers input constraints, data sources, output format (paired data + citation URIs), sorting behavior, and scope (2–5 entities). It is fully complete for an agent to select and invoke 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 already provides 100% coverage with descriptions for both parameters. The description adds extra meaning by explaining what data each type='company' vs 'drug' pulls (10-K financials vs adverse-event counts), which is not in the schema. For values, it reinforces the ticker/CIK and drug-name formats. This is a meaningful extension beyond 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 explicitly states a side-by-side comparison of 2–5 companies or drugs in one parallel call, with example phrasings ('X vs Y', 'which is bigger'). It distinguishes from 'sequential single-pack lookups', making the tool's purpose unmistakable and differentiating it from siblings 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?

Provides direct usage guidance: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It lists trigger queries and clarifies the two entity types (company/drug), making it clear when to use this tool versus alternatives.

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

Many tools have overlapping or redundant purposes: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are nearly identical in routing, and several polymarket tools (polymarket_edges, polymarket_arbitrage, polymarket_fill_risk) all surface trading opportunities with similar outputs. The three ArcGIS tools are distinct but buried among dozens of unrelated data/meta tools, making selection confusing.

Naming Consistency3/5

All names use snake_case, which is consistent, but the verb/noun pattern is inconsistent. Some are verb_noun (query_layer, resolve_entity), some are noun phrases (entity_profile, polymarket_edges, recent_alerts), and some are bare verbs (recall, remember, forget, subscribe). The naming style is readable but not predictably patterned.

Tool Count1/5

34 tools is already high, but the severe issue is that only 3 of them (search_datasets, query_layer, layer_info) relate to the server's stated ArcGIS Delaware County purpose. The other 31 are Pipeworx data, memory, subscription, and prediction-market tools, which is a blatant scope mismatch. The tool count is not appropriate for the advertised server domain.

Completeness1/5

For an ArcGIS Delaware County GIS server, the surface is extremely thin: only search, query, and layer metadata exist. There are no tools for editing features, uploading data, managing layers, or exporting maps. Conversely, the Pipeworx tools form a broad but fragmented domain with many monitoring and meta-tools but no clear end-to-end workflow. The set is severely incomplete for its apparent dual purpose.