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?

Annotations declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is already clear. The description adds substantial behavioral context: it explains the data source (SEC EDGAR/XBRL), handles off-calendar fiscal years (AAPL Sep, NVDA Jan), states that results are sorted by the primary metric, and notes the return format (paired data + pipeworx:// citation URIs). This goes well beyond what annotations provide.

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 dense and information-rich, with no filler sentences. Every clause adds value—trigger phrases, data sources, edge-case handling, sorting behavior, output format, and efficiency claim. It is slightly longer than the absolute minimum, but for a tool with two distinct modes (company vs drug) and such specific behaviors, the length is justified. The use of ALL CAPS for the key directive is a purposeful structural choice.

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?

There is no output schema, so the description must cover the return value—and it does. It promises 'paired data + pipeworx:// citation URIs per entity' and details the metrics included per entity type, plus the sorting behavior. It also covers constraints (2–5 entities, one parallel call) and edge cases (off-calendar fiscal years). For a comparison tool of this complexity, this is complete enough for an agent to invoke it correctly and interpret results.

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 schema coverage is 100% (with a type enum and values array descriptions), the description enriches the parameter semantics significantly. It explains what each type actually retrieves (e.g., company → revenue, net income, cash, long-term debt; drug → FAERS adverse-event counts, FDA approvals, trial counts). It also clarifies that values must be 2–5 entities and that results are sorted by the primary metric, which helps the agent construct valid inputs and interpret outputs.

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 begins with a clear verb-resource pairing: 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call.' It includes multiple trigger phrases ('Compare X and Y', 'X vs Y', 'rank these companies'), making the tool's intent unmistakable. It also distinguishes itself from sequential single-tool lookups, a key differentiator 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?

The tool explicitly states when to use: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' This is a strong directive with an alternative (sequential lookups), and the description goes further to specify which entity types map to which data sources (company → 10-K metrics, drug → FAERS/FDA/trial counts). This leaves no ambiguity about the intended use case.

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

Several tools have unclear boundaries: ask_pipeworx and ask_pipeworx_beta are explicitly identical in behavior today, while discover_tools and suggest_questions overlap as discovery/onboarding entry points. The Polymarket tools also blur together across arbitrage, edges, edge tracking, and fill risk, making tool selection prone to mistakes despite long descriptions.

Naming Consistency3/5

Names are consistently lowercase snake_case and readable, but they mix conventions: some are clear verb_noun actions like validate_claim and compare_entities, while others are noun-led like recent_alerts and entity_profile, or domain-prefixed like polymarket_edges and opensensemap_nearby. There is no single predictable naming pattern across the set.

Tool Count2/5

At 34 tools, this exceeds the 25+ threshold for a heavy tool set, and the tools span several unrelated domains: OpenSenseMap sensors, Pipeworx data access, Polymarket research, memory, subscriptions, and AI visibility. A server named Opensensemap hosting this much unrelated functionality feels poorly scoped.

Completeness3/5

The OpenSenseMap portion covers nearby discovery, box lookup, and area averages, but lacks historical/time-series access and station lifecycle operations, which are notable gaps for a sensor data server. The broader Pipeworx surface has strong lookup, research, validation, and subscription coverage, so the main incompleteness is in the named domain.