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

A5/5.0
Behavior5/5

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

Annotations already declare the tool read-only, open-world, idempotent, and non-destructive. The description adds valuable behavioral context beyond these: it uses a parallel call pattern, handles off-calendar fiscal years correctly, sorts results by primary metric, and returns paired data with citation URIs. No contradiction 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 but well-organized: trigger phrases lead, followed by core value proposition, then type-specific details, and finally output format. Every sentence adds operational information with no filler, making it appropriately sized for the tool's complexity.

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?

Despite no output schema, the description covers inputs (types, value formats), outputs (paired data, citation URIs, sorted by primary metric), edge cases (off-calendar fiscal years), and usage context (parallel vs sequential). For a tool with 2 parameters and two distinct modes, this is fully complete.

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?

While the schema covers 100% of parameters, the description significantly enriches their meaning. It explains that type='company' pulls 10-K financials (revenue, net income, cash, long-term debt) from SEC EDGAR/XBRL, while type='drug' pulls FAERS adverse-event counts, FDA approval counts, and trial counts. It also clarifies value formats (tickers/CIKs vs drug names) and the sorting behavior tied to the primary metric.

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 the tool's purpose: side-by-side comparison of 2–5 companies or drugs in a single parallel call. It distinguishes itself from siblings by explicitly noting it should be preferred over sequential single-pack lookups, and includes trigger phrases ("X vs Y", "which is bigger") that make intent unmistakable.

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 trigger phrase examples and a direct statement to prefer this tool over sequential lookups. It also details type-specific usage (company vs drug) and data sources, giving the agent clear context for when each variant is appropriate.

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

Most tools are well-differentiated, with detailed descriptions clarifying their distinct purposes. However, there is some overlap between the multiple 'ask' tools (ask_pipeworx, ask_pipeworx_grounded, deep_research, suggest_questions) and between weather tools (forecast, latest_observations, recent_observations, warnings), which could cause confusion. Overall, ambiguity is low.

Naming Consistency5/5

All 34 tool names follow a consistent lowercase_with_underscores (snake_case) pattern. Names are descriptive and predictable, such as 'ask_pipeworx', 'entity_profile', 'polymarket_arbitrage', etc. No mixing of conventions like camelCase or inconsistent verb styles.

Tool Count3/5

The server has 34 tools, which is on the higher side given its broad scope covering weather, company research, prediction markets, and general data queries. While not excessive, it could be split into more focused servers for clarity. The count feels a bit heavy but still manageable.

Completeness4/5

The tool set covers a wide range of data domains (weather, company financials, prediction markets, news, memory, subscriptions) with reasonable completeness. Minor gaps exist, such as limited weather coverage (Finland only) and no direct support for non-company entities or unofficial data sources, but core workflows are well-supported.