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

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

Annotations already establish read-only, open-world, idempotent, and non-destructive behavior. The description adds rich behavioral detail: pulls from SEC EDGAR/XBRL for companies and FAERS for drugs, correctly handles off-calendar fiscal years, sorts results by primary metric, and returns paired data with citation URIs. No contradictions.

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 every sentence earns its place: trigger phrases, entity types, data sources, sorting, output format, and efficiency gains. It is front-loaded with the most relevant usage signals and contains no filler.

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 two parameters and no output schema, the description is thorough. It covers when to use, input format, data sources, edge cases (off-calendar fiscal years), and return format (paired data + citations). This is sufficient 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 coverage is 100%, so both parameters are already described. The description adds meaningful context beyond the schema: examples for each type (AAPL/MSFT, ozempic/mounjaro), what data is pulled per type, and behavior like fiscal-year handling. This enriches understanding above the baseline.

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's purpose: comparing 2–5 companies or drugs in one parallel call. Trigger phrases like 'X vs Y' and 'which is bigger' make it easy to identify when this tool applies. It also distinguishes itself from sequential lookups, making it distinct from sibling tools such as 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 Guidelines4/5

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

The description provides strong when-to-use guidance: any comparison request (e.g., 'X vs Y', 'rank these companies') and explicitly says to prefer this over 8–15 sequential lookups. It implies when not to use (for a single entity) by limiting to 2–5 entities, but does not explicitly name alternative tools like entity_profile for single-entity cases.

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 are very similar (e.g., ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded) and serve the same purpose with slight variations, making it hard for an agent to choose correctly. Additionally, the tool set mixes completely unrelated domains (ArcGIS geospatial vs. Pipeworx/Polymarket data), further confusing the purpose of each tool.

Naming Consistency2/5

Tool names follow multiple conventions: ask_pipeworx uses snake_case, while layer_info and query_layer use snake_case as well but with a different pattern. There is no consistent verb_noun pattern across the set; some are descriptive (validate_claim) while others are vague (process, run). The mix of conventions and lack of a unified naming scheme hurts predictability.

Tool Count1/5

At 34 tools, the count is excessive for a server supposedly focused on ArcGIS Peoria. Only 3 tools (layer_info, query_layer, search_datasets) are actually related to geospatial data, while the other 31 are from external services (Pipeworx, Polymarket). This mismatch suggests the server is extremely poorly scoped.

Completeness1/5

For a geospatial server, the tool set is severely incomplete. It lacks basic GIS operations like spatial filtering, editing, or analysis. The three geospatial tools only provide schema discovery and simple attribute queries. Meanwhile, the bulk of the tools cover a completely different domain (data lookup, prediction markets), leaving the core domain almost entirely unaddressed.