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?

Annotations already declare read-only, idempotent, and non-destructive. The description adds substantive behavioral context: what data is fetched per type (10-K metrics, FAERS counts), how fiscal year offsets are handled, sorting by primary metric, and the return format with citation URIs. This goes well beyond the structured annotation fields.

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 appropriately sized given the tool's complexity, with all sentences contributing to operational clarity. It front-loads the trigger patterns and the core preference rule. The list of example phrases ('which is bigger / better / larger...') is slightly repetitive but helps NLU matching.

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?

The tool has only two parameters and a clear output concept (paired data + URIs), and the description covers the input format, data source nuance, sorting behavior, and return expectations. No output schema exists, so this description fully compensates, making the tool self-contained for an agent to invoke correctly.

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?

All parameters are fully described in the schema, so baseline is 3. The description enriches the meaning of both parameters by detailing what each type value returns ('type="company" pulls LATEST 10-K...', 'type="drug" pulls FAERS...') and what the values array should contain (tickers/CIKs vs. drug names). This added context gives the agent a deeper understanding beyond the schema's property descriptions.

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 natural-language examples ('Compare X and Y', 'X vs Y', 'rank these companies'), then states the core function: side-by-side comparison of 2–5 entities in one parallel call. It clearly distinguishes itself from sibling single-entity tools by explicitly saying 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' The specific verb is 'compare' with a defined resource scope.

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 directs when to use this tool: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', providing direct guidance versus alternatives. It also enumerates the exact query patterns that trigger this tool, making the decision boundary clear. It doesn't state exclusions for non-comparison scenarios, but that is implied.

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
Disambiguation3/5

Most tools have distinct purposes, but the ask/research family is crowded: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all route to the same underlying catalog and require careful description reading to select correctly. Prediction-market tools also overlap in scope, though each has a reasonably distinct angle.

Naming Consistency3/5

All names are snake_case and mostly readable, but conventions are mixed: some are verb_noun (query_layer, resolve_entity), some are noun_noun (entity_profile, pipeworx_feedback, polymarket_arbitrage), and some are adjective_noun or brand-prefixed phrases. No consistent verb/noun ordering pattern exists across the set.

Tool Count2/5

34 tools is too many for the apparent focus, especially since the server is named 'Arcgis Phoenix' but only 3 of the tools are actually GIS tools. The bulk is a sprawling Pipeworx data/prediction-market ecosystem plus unrelated utilities, making the set feel over-stuffed and unfocused.

Completeness3/5

The Pipeworx data side is fairly complete for lookups, entity profiles, comparisons, validation, and subscriptions, but the ArcGIS Phoenix portion is only search/schema/query and lacks any analysis, geocoding, or editing capability. The presence of generate_llms_txt and scan_dependency highlights that the overall domain is undefined and therefore hard to call complete.