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.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, etc. The description adds valuable behavioral details: handling of off-calendar fiscal years, sorting by primary metric, return of paired data and citation URIs, and parallelism. This goes beyond the annotations.

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 moderately lengthy but every sentence adds value. It starts with user-facing examples and then details technical behavior. While compactness could be improved, there is no wasted text.

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?

Given the simplicity of the input schema (2 parameters, no output schema), the description covers all necessary context: entity types, data pulled, sorting, return format (paired data + citation URIs), and parallelism. It is fully self-contained.

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 coverage is 100% with both parameters described. The description enhances this by explaining the type-specific data (e.g., 'company pulls LATEST 10-K revenue...') and providing concrete examples (e.g., '["AAPL","MSFT"]'). This adds significant meaning beyond the schema.

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 clearly states that the tool performs 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call,' with specific verbs and resources. It distinguishes itself from sequential lookups and is likely distinct from the 'entity_profile' sibling tool.

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 provides explicit example queries ('Compare X and Y', 'which is bigger') and a strong recommendation: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' This gives clear guidance on when to use and implies alternatives for single-entity queries.

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

The set contains near-duplicate tools (ask_pipeworx_beta explicitly 'currently matches ask_pipeworx exactly') and a dense family of six polymarket_* tools whose boundaries are subtle, plus overlapping onboarding tools in discover_tools and suggest_questions. Detailed descriptions mitigate some confusion, but several tools are difficult to tell apart without reading their full text.

Naming Consistency3/5

All names are lowercase snake_case and readable, with consistent prefix families (ask_pipeworx, polymarket_, pipeworx_), but the overall structure is mixed: bare verbs (remember, forget, subscribe), adjective+noun names (recent_alerts, recent_changes), and noun+noun domain tags (polymarket_edges, entity_profile) rather than a uniform verb_noun pattern.

Tool Count2/5

At 33 tools the set exceeds the 25-tool threshold and feels heavy, carrying an experimental duplicate of ask_pipeworx and a six-tool polymarket family that could plausibly be consolidated. The breadth reflects several unrelated domains bundled into one server rather than a focused scope.

Completeness3/5

The data-research core (ask, grounded, deep_research, profiles, comparisons, claim validation, entity resolution) and the prediction-market analysis suite are thoroughly covered, and memory plus subscription lifecycles are complete. However, the events domain the server is named for is thin (only events + metros), and the overall set lacks a single coherent purpose against which completeness can be cleanly judged.