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

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

Annotations already declare the tool read-only, idempotent, and non-destructive, so the safety profile is clear. The description goes further by disclosing concrete behavioral traits: parallel execution, latest 10-K data pull, correct handling of off-calendar fiscal years, sorting by primary metric, and returned paired data with citation URIs. These add substantial value beyond 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 dense and well-structured, front-loading trigger phrases and the core purpose. It is slightly verbose with the repeated trigger examples, but every sentence contributes to the agent's understanding, and the length is justified by the tool's dual-type scope and rich behavioral detail.

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?

For a two-parameter tool with no output schema, the description is remarkably complete. It specifies data sources, return format (paired data + citation URIs), sorting behavior, scope (2–5 entities), and business context (replaces sequential lookups). The agent has everything needed to invoke the tool correctly.

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?

Schema coverage is 100%, but the description enriches parameter meaning significantly. It maps type='company' to specific metrics (revenue, net income, cash, long-term debt) and type='drug' to FAERS counts, FDA approvals, and trial counts. It also clarifies value formats with examples and notes fiscal year nuances, providing crucial context beyond the schema's generic field descriptions.

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 explicitly states 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call' and provides numerous trigger phrases ('X vs Y', 'rank these companies'). It distinguishes itself from siblings by declaring 'ALWAYS PREFER over sequential single-pack lookups' and 'Replaces 8–15 sequential lookups', making its unique role 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 gives explicit when-to-use guidance: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It also provides natural-language triggers that signal the appropriate context and explains type-specific usage (company vs. drug), clarifying which data each type retrieves. This makes the tool's selection criteria very clear.

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
Disambiguation3/5

Most tools have clearly differentiated roles, but several pairs blur boundaries: ask_pipeworx and ask_pipeworx_beta are currently functionally identical, and identify vs resolve both wrap the same NCI CACTUS service. The detailed descriptions rescue most selections, but an agent could easily mispick between the research and chemical lookup options.

Naming Consistency3/5

Names are mostly snake_case and readable, but conventions are mixed: some are verb-first (ask_pipeworx, validate_claim, search_within) while many are noun-first or domain-prefixed (entity_profile, polymarket_edges, recent_changes, pipeworx_trending). There is no single predictable pattern for a new tool's name, though subfamilies (polymarket_*, ask_pipeworx_*) are internally consistent.

Tool Count3/5

At 33 tools, this is well above the typical well-scoped range and carries real selection overhead. The unusually broad purpose—a data router plus prediction-market analysis, memory, subscriptions, and several standalone utilities—partially justifies the count, but it still feels heavy and could be consolidated.

Completeness4/5

For its varied subdomains, coverage is strong: memory has remember/recall/forget, subscriptions have subscribe/unsubscribe/list/recent_alerts, and prediction markets span research, edge scanning, arbitrage, fill-risk, and edge telemetry. Minor gaps exist—such as no direct tool to fetch a specific citation URI by identifier, and the redundant stable/beta router pair—but there are no obvious dead ends.