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

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

Beyond annotations (readOnlyHint, idempotentHint, etc.), the description reveals data sources (SEC EDGAR/XBRL for companies, FAERS/FDA/trials for drugs), handling of off-calendar fiscal years, sorting by primary metric, and citation URIs in output. This fully informs the agent of behavior.

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 a single, dense paragraph that front-loads example queries and key advantage. Every sentence adds meaningful information without redundancy, achieving high information density.

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?

Given the tool's complexity (2 params, no output schema), the description covers functionality, data sources, sorting, and efficiency claims. It lacks explicit response structure details but 'paired data + citation URIs' is sufficient. No major gaps.

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 description coverage is 100%, providing baseline 3. The description adds value by explaining what each 'type' pulls and giving concrete examples for 'values' (tickers/CIKs for companies, drug names), enhancing usability 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 compares 2-5 companies or drugs side-by-side, with explicit verbs like 'compare', 'rank', and 'head-to-head'. It distinguishes itself from single-entity lookups by emphasizing efficiency over sequential calls.

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 when-to-use guidance with example queries ('which is bigger', 'rank these companies') and states 'ALWAYS PREFER over sequential single-pack lookups'. It implicitly excludes single-entity use, for which sibling tools like entity_profile exist.

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

Each tool has a clear, distinct purpose. The various `ask_pipeworx*` variants are differentiated by mode (single vs grounded vs research). `get_nav_history` vs `latest_nav` serve different query granularities. Administrative tools like `remember`/`recall`/`forget` are clearly separate. No two tools overlap in functionality.

Naming Consistency4/5

Tool names follow a consistent snake_case convention and generally use `verb_noun` order (e.g., `ask_pipeworx`, `search_schemes`, `validate_claim`). A few exceptions like `entity_profile` (noun_verb) exist, but the pattern is mostly predictable.

Tool Count3/5

At 34 tools, the server is quite large, including many specialized tools (e.g., multiple Polymarket tools, administrative memory/subscription tools) that could arguably be split into separate servers. The number feels slightly excessive for a coherent, focused server.

Completeness5/5

The tool set covers an extraordinarily wide range of domains: company financials, SEC filings, FDA drugs, economic data, mutual funds, real estate, prediction markets, npm dependencies, AI visibility, and more. It also includes memory, subscription, and feedback mechanisms. There are no obvious gaps for the domains addressed.