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"]).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond annotations (read-only, idempotent), the description discloses data sources (SEC EDGAR/XBRL, FAERS), sorting by primary metric, handling of off-calendar fiscal years, and the inclusion of pipeworx:// citation URIs. This is rich operational insight.

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 not verbose. It front-loads with trigger phrases, uses bullet-like clarity, and every sentence adds information. The "Replaces 8–15 sequential lookups" is a helpful efficiency note, not 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?

With no output schema, the description still explains what the return contains: "paired data + pipeworx:// citation URIs per entity." It covers inputs, outputs, data sources, sorting, and scope (2-5 entities), making it fully usable by an agent.

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 covers 100% of parameters, so baseline is 3. The description adds value by explaining type-specific behavior ("type='company' pulls LATEST 10-K...", "type='drug' pulls FAERS...") and gives concrete examples for values (AAPL, MSFT, ozempic, mounjaro), enhancing schema meaning.

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 explicit trigger phrases ("Compare X and Y", "X vs Y") and a clear statement: "side-by-side comparison of 2–5 companies or drugs in ONE parallel call." It names the resource (companies/drugs) and verb (compare), and distinguishes itself from single-pack lookups.

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?

States "ALWAYS PREFER over sequential single-pack lookups when comparing entities," giving explicit when-to-use guidance and implying when not (single entity comparisons). It also clarifies the two input types (company vs drug) and what each pulls.

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

Most tools have carefully written distinctions, but several overlap in purpose: ask_pipeworx versus ask_pipeworx_beta are currently functionally identical, and ask_pipeworx, deep_research, validate_claim, and the Polymarket research tools all sit on the same factual-question axis. The long descriptions help an agent choose, but the set still has multiple ambiguous boundaries.

Naming Consistency3/5

Names are uniformly snake_case and mostly readable, with clear prefix families like pipeworx_*, polymarket_*, and ask_pipeworx*. However, the verb-noun pattern is inconsistent: many tools are noun phrases (entity_profile, recent_alerts, polymarket_edges) and some are bare verbs (remember, recall, forget), so the naming is not predictable across the full set.

Tool Count2/5

35 tools is well above the 25-tool threshold and feels like an organic platform dump rather than a curated server. The broad data-platform scope partly justifies the number, but the presence of near-duplicate entry points and one-off utilities (generate_llms_txt, ai_visibility_check, scan_dependency) makes the set feel bloated rather than cohesive.

Completeness4/5

For a read-heavy data/research platform the surface is unusually complete: discovery, single-lookup, grounded-answer, deep-research, entity resolution, comparison, change-tracking, subscriptions, memory, and feedback are all covered. Missing write/execution capabilities like placing trades or modifying BIS flows are reasonable absences for this kind of server; the main gap is a dedicated historical/trend utility beyond the general router.