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

A5/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent, but the description goes beyond them: it reveals that company data comes from SEC EDGAR/XBRL with correct off-calendar fiscal year handling, that results are sorted by the primary metric, and that output includes paired data plus citation URIs. No contradictions 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.

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, preference instruction, type-specific data sources, fiscal-year handling, sorting behavior, and return format. It is front-loaded with usage intent 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?

Even without an output schema, the description fully specifies return contents (paired data + pipeworx:// citation URIs), result ordering, and per-type data sources. For a two-parameter comparison tool, it covers all necessary operational context.

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 coverage is 100%, but the description enriches both parameters: 'type' is explained with what data each enum value pulls (10-K financials vs FAERS/trial counts), and 'values' is clarified with examples like tickers ([AAPL, MSFT]) and drug names ([ozempic, mounjaro]). This adds meaning beyond the bare schema definitions.

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 trigger phrases ('Compare X and Y', 'X vs Y', 'which is bigger') and clearly states the tool's function: side-by-side comparison of 2-5 companies or drugs in one parallel call. It distinguishes itself from sibling tools by explicitly naming the alternative ('sequential single-pack lookups') and detailing the exact data sources per entity type.

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 instructs agents to 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', providing clear usage guidance. It also explains the two modes (company vs drug) and gives example queries, making it obvious when to invoke 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.8/5.0
Disambiguation2/5

Several tools have overlapping purposes: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, validate_claim, and bet_research all route questions to the same underlying engine, and ask_pipeworx_beta is explicitly identical to ask_pipeworx right now. The polymarket_* family also has many closely-related entry points, though descriptions do help differentiate them.

Naming Consistency4/5

Names consistently use snake_case with descriptive verb-first patterns (ask_, lookup_, scan_, validate_, resolve_, subscribe) and a clear polymarket_ family prefix. Minor inconsistency exists between lookup_city/lookup_zipcode and resolve_entity, and between noun-style names like entity_profile vs verb-style names like compare_entities, but the overall style is predictable.

Tool Count2/5

33 tools is heavy for a single server, and multiple could be consolidated: the ask_pipeworx variants and deep_research largely overlap, and the memory/subscription categories could be collapsed. For a data-platform gateway the breadth is arguably justified, but the visible redundancy makes the surface feel bloated rather than well-scoped.

Completeness4/5

The core domains are well covered: question answering has multiple modes, entity lookup has resolution and profiling, prediction markets have research/edge/arb/fill-risk coverage, and the memory (remember/recall/forget) and subscription (subscribe/list/unsubscribe/recent_alerts) lifecycles are complete. Minor gaps exist such as no direct tool to fetch a pipeworx:// record by URI, relying instead on MCP resources.