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

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description adds that results are sorted by primary metric and includes citation URIs, providing extra behavioral context without contradiction.

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 a single dense paragraph that front-loads key triggers and purpose. Every sentence adds value, though it could be slightly more structured. No fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a comparative tool with no output schema, the description covers what data is returned for each type, sorting, and citation URIs. It also mentions parallel efficiency. Some details on error handling or edge cases could improve, but it is mostly complete.

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% and includes enums and descriptions. The description adds meaning by explaining what data is pulled for each type (10-K for companies, FAERS for drugs) and that results sort by primary metric, going 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 starts with natural language triggers and clearly states it provides side-by-side comparison of 2–5 companies or drugs. It specifies verb 'compare' and resource 'entities', and distinguishes from siblings like entity_profile and deep_research.

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?

Explicitly says 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' Provides when-to-use guidance and examples of queries that map to this tool, making it clear when to use vs 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

A4/5.0
Disambiguation3/5

Most tools have distinct purposes with detailed descriptions, but ask_pipeworx_beta is explicitly identical to ask_pipeworx, and the several polymarket tools (bet_research, polymarket_edges, polymarket_arbitrage) have overlapping prediction-market territory. Descriptions help differentiate, but the overlaps could still cause misselection.

Naming Consistency4/5

The majority follow a clear verb_noun snake_case pattern (e.g., compare_entities, resolve_entity, generate_llms_txt). A few tools deviate with noun/adjective prefixes (montreal_datasets, montreal_recent, pipeworx_feedback, recent_alerts) or single verbs (remember, recall, forget), but the overall style is consistent and readable.

Tool Count2/5

At 34 tools, the set exceeds the 25+ threshold and feels heavy. While each tool has a distinct role, the sheer number—spanning data access, prediction markets, memory, subscriptions, and meta-tools—makes the surface harder for agents to navigate compared to a more focused server.

Completeness4/5

For its broad data-gateway purpose, the server covers a wide range: lookups, research, entity resolution, claim validation, memory, subscriptions, and feedback. The Montreal-specific subset (datasets, query, recent) is adequate for the apparent scope, with only minor gaps like no subscription-update tool.