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

A5/5.0
Behavior5/5

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

Goes far beyond the annotations (readOnlyHint, openWorldHint, idempotentHint, destructiveHint) by disclosing data sources (SEC EDGAR/XBRL, FAERS), handling of off-calendar fiscal years (AAPL Sep, NVDA Jan), sorting behavior, and return format (paired data + pipeworx:// 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 yet well-structured, front-loaded with user-intent examples for instant recognition. Every sentence serves a purpose: what, when, data specifics, sorting, return format, and efficiency gain. No filler or repetition.

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 2-parameter tool with no output schema, the description covers all essential context: input patterns, parameter behavior, data sources, edge cases (fiscal year alignment), output ordering, and paired result structure. It leaves no ambiguity about what the tool does or returns.

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?

Although the schema covers both parameters (type, values) at 100%, the description enriches semantics by explaining what data each type pulls (10-K metrics vs FAERS counts), clarifying the expected value formats (tickers/CIKs vs drug names), and giving concrete examples. This adds meaning beyond the schema's bare enumeration.

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 query patterns ('Compare X and Y', 'X vs Y', 'which is bigger') and states the core function: side-by-side comparison of 2-5 companies or drugs in one parallel call. It clearly distinguishes itself from sequential single-pack lookups and explicitly mentions replacing 8-15 such lookups, differentiating it from sibling tools 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 explicit when-to-use guidance: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It also defines what each type pulls (company vs drug) and specifies the primary-metric sorting, so an agent knows exactly when to invoke this tool over 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.7/5.0
Disambiguation2/5

Multiple tools have unclear boundaries: ask_pipeworx and ask_pipeworx_beta are described as currently identical, and citation vs citations differ only by pluralization while actually accepting different ID types (OCI vs DOI). The server is named Opencitations but 31 of 37 tools serve unrelated purposes, so an agent cannot infer what the set is for without reading very long descriptions.

Naming Consistency3/5

All names are snake_case and family prefixes (polymarket_*, ask_pipeworx_*, pipeworx_*) give some predictability. However, conventions are mixed: bare resource nouns (citation, citations, references, metadata) coexist with verb_noun tools (resolve_entity, validate_claim) and noun phrases (recent_changes, entity_profile, deep_research), so there is no single pattern that lets an agent predict tool names.

Tool Count2/5

37 tools is well past the 25+ threshold for a heavy set, and most are redundant with the server's own router tools — ask_pipeworx already reaches 5,759 underlying tools, making many direct tools overlapping conveniences. The scope also wildly overshoots the server name: only 6 of 37 tools serve the Opencitations citation-graph domain.

Completeness3/5

For the named OpenCitations domain, the core citation-graph read operations exist (metadata, incoming citations, outgoing references, counts, OCI record lookup), but there is no paper/DOI discovery or search tool — an agent must already possess a DOI, a dead end for title/author queries. The broader accidental domain (data routing, company research, prediction markets, monitoring) is covered unusually well, but that does not serve the server's stated purpose.