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. Added

TDQS

A4.8/5.0
Behavior5/5

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

The description adds substantial behavioral detail beyond the annotations: data sources (SEC EDGAR/XBRL for companies, FAERS/FDA for drugs), handling of off-calendar fiscal years, sorting by primary metric, and the return format (paired data + citation URIs). It also discloses that results are sorted so 'largest' reads off the top, which helps the agent set expectations.

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 longer than the one-sentence ideal, but every clause adds functional information (triggers, data sources, sorting, citations). It is front-loaded with the most critical trigger examples and preference instruction, then dives into specifics. The density justifies the length, though it could be slightly tightened.

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?

With no output schema, the description compensates by describing the return format (paired data + citation URIs) and sorting behavior. It also covers data source specifics and fiscal year handling. Combined with read-only and idempotent annotations, the agent has a complete picture of what to expect and how to use the tool.

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?

While the schema already describes both parameters (coverage 100%), the description enriches their semantics by explaining what each 'type' actually pulls (e.g., company -> 10-K revenue, drug -> FAERS counts) and gives examples for 'values'. This goes beyond the bare enum and array descriptions, adding meaningful context for parameter selection.

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 opens with concrete trigger phrases and a specific verb+resource: 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call.' It clearly distinguishes itself from sibling tools like entity_profile or resolve_entity by emphasizing the multi-entity comparison scope and the efficiency gain over sequential lookups.

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?

Explicit guidance is given: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It also enumerates the exact user expressions that should invoke this tool ('X vs Y', 'which is bigger', 'rank these companies') and scopes the tool to 2–5 entities, which tells the agent when to choose it over 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

A3.6/5.0
Disambiguation2/5

Several tools have heavily overlapping purposes: ask_pipeworx and ask_pipeworx_beta are explicitly identical, ask_pipeworx_grounded and deep_research blur the query/research boundary, and the polymarket_* family plus bet_research all target prediction-market analysis. An agent would frequently struggle to pick the correct tool among these near-duplicates.

Naming Consistency3/5

All names are snake_case, but the verb/noun style is inconsistent: get_* for flight lookups, ask_* for queries, noun-style names like entity_profile and bet_research, and the polymarket_* prefix group. Some subgroups are internally consistent, but there is no single predictable pattern across the set.

Tool Count2/5

36 tools is far too many for a server named 'flights' — only 5 tools actually relate to aviation, while the rest span prediction markets, SEC/FDA data, npm packages, memory, and feedback. Even viewed as a general data platform, the count is heavy and the scope is unfocused.

Completeness2/5

For a flights server, the surface is severely incomplete: no scheduled flight status, delays, cancellations, or airport schedules — only live ADS-B snapshots. For the broader data-research domain the tools imply, coverage is better but still scattered, with no coherent lifecycle and several one-off utilities that don't connect to the rest.