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"]).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds valuable behavioral details: it makes a single parallel call, handles off-calendar fiscal years correctly, returns results sorted by primary metric, and includes citation URIs. It also describes the specific data pulled for each type. This goes well 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, consisting of two sentences. It front-loads with common user queries, then efficiently conveys the tool's purpose, usage preference, data sources, and behavior. Every sentence adds value; no redundancy.

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?

With no output schema, the description explains return data (paired data + citation URIs, sorted by primary metric). It covers entity types, data sources, and constraints. While it omits details like error handling or pagination, it provides sufficient context for an agent to use the tool effectively given its simplicity.

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%, so parameters are fully described in the schema. The description adds meaning by providing examples ('company' vs 'drug', tickers vs drug names), clarifying the 2–5 item constraint, and explaining the data each type retrieves. This adds context not in 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 queries like 'Compare X and Y' and 'which is bigger / better', then explicitly states 'side-by-side comparison of 2–5 companies or drugs'. It clearly identifies the action (compare) and the resource (entities), and distinguishes itself from sequential lookups, making the purpose unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', providing clear guidance on when to use this tool. It also explains the data sources for each entity type. However, it does not explicitly state when not to use it (e.g., for a single entity lookup).

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

B3.3/5.0
Disambiguation2/5

Many tools overlap in purpose: ask_pipeworx, ask_pipeworx_grounded, ask_pipeworx_beta, and deep_research all perform similar data lookups with slight variations. Prediction market tools (bet_research, polymarket_arbitrage, polymarket_edges) also overlap. Only the three PDBe-specific tools are clearly distinct, but overall the set is confusing.

Naming Consistency1/5

Tool names follow no consistent pattern: some are verb_noun (ask_pipeworx, get_molecules), others are noun_verb (ai_visibility_check), or have mixed conventions (generate_llms_txt, uniprot_mappings). The variety of verbs (ask, bet, compare, discover, generate, get, list, recall, remember) makes it hard to predict tool names.

Tool Count2/5

With 34 tools, the server is overstuffed for a single domain. It mixes PDBe-specific tools (3) with a large set of general-purpose data tools, prediction market tools, subscriptions, and memory tools. This bloat suggests the server should be split into focused services.

Completeness1/5

For the stated PDBe domain, only three tools exist (get_molecules, get_summary, uniprot_mappings), missing essential operations like search, download, or advanced queries. The server's overall purpose is unclear, and it feels like a random collection of tools rather than a coherent API.