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

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive hints. The description goes further by disclosing data sources (SEC EDGAR/XBRL for companies, FAERS/FDA for drugs), handling of off-calendar fiscal years, sorting by primary metric, and the return of paired data with citation URIs. This adds substantial behavioral context beyond the structured 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 front-loaded with trigger phrases and usage direction, followed by type-specific behavior and output details. Every sentence earns its place, providing dense, non-redundant information. Despite its length, it remains well-structured and efficient for the complexity of the tool.

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 absence of an output schema, the description covers essential return details: data types, sorting, and citation URIs. It also explains critical edge cases like off-calendar fiscal years. However, the exact response structure ('paired data') is somewhat vague, leaving some ambiguity about the precise format the agent will receive.

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% with clear descriptions for 'type' and 'values'. The description enriches the 'type' parameter by specifying exactly what data each enum value retrieves ('company' pull financials, 'drug' pulls adverse-event counts). It also clarifies the values parameter through examples ('AAPL, MSFT' vs 'ozempic, mounjaro'), adding semantic meaning 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 begins with trigger phrases ('Compare X and Y', 'X vs Y') and explicitly states 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call'. It clearly identifies the resource (companies/drugs) and the action (comparison), while distinguishing itself from single-entity lookups by emphasizing 'ALWAYS PREFER over sequential single-pack 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?

The description provides explicit usage guidance: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities' and lists concrete comparison queries. It also outlines what data is returned for each type (company vs drug), giving clear context for when to invoke this tool instead of 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.5/5.0
Disambiguation2/5

There are several clusters of tools with overlapping purposes: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all route questions to data sources; entity_profile, compare_entities, and recent_changes all provide company research. The descriptions are detailed, but an agent could easily misselect among these near-duplicates, especially since ask_pipeworx_beta is explicitly identical to ask_pipeworx right now.

Naming Consistency2/5

Placeholder for naming consistency placeholder

Tool Count1/5

34 tools for a server named Newsapi is an extreme scope mismatch. Only three tools (everything, top_headlines, sources) are news-related; the rest cover data research, prediction markets, memory, subscriptions, and package scanning, which belongs in separate servers. The count is also past the 25+ range that feels overloaded for any single purpose.

Completeness3/5

The three NewsAPI tools themselves cover the standard news surface (top_headlines, everything, sources) with no major gaps. However, the server's stated purpose is diluted by ~30 unrelated tools, and the non-news tools form an incoherent assortment with no clear unified domain to assess completeness against. The mismatch makes completeness hard to reason about and degrades the overall usefulness.