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

A5/5.0
Behavior5/5

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

Annotations already provide readOnly/openWorld/idempotent hints. The description adds significant behavioral context: off-calendar fiscal years handled correctly, results sorted by primary metric, and returns paired data with pipeworx:// citation URIs. It also specifies the exact data sources for each entity type, which is beyond what annotations alone convey.

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-structured, using bolded examples and clear sections. Every sentence carries weight: usage triggers, data specifics, sorting behavior, and return format. Despite its length, it avoids redundancy and is easy to scan, 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?

For a tool with two parameters and no output schema, the description covers all essential aspects: what it does, which data is fetched for each type, how results are sorted, what citations are included, and the performance benefit. It sufficiently informs an agent about invocation and expected output without unnecessary elaboration.

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% with descriptions for type and values, but the description enriches both. It explains that type='company' pulls SEC EDGAR/XBRL data (revenue, net income, etc.) and type='drug' pulls FAERS/FDA/trial counts, which is far more useful than the schema's simple enum listing. The examples and max/min constraints for values also add practical meaning.

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 states a specific verb and resource: side-by-side comparison of 2-5 companies or drugs in one parallel call. It clearly distinguishes from sibling tools like entity_profile by emphasizing it's for comparing multiple entities and should be preferred over sequential lookups. The detailed examples of natural language queries further clarify the purpose.

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?

Explicitly states when to use: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities' and mentions it replaces 8-15 lookups. It also clarifies the types of things that can be compared (companies by financials, drugs by adverse events/trials), providing clear context for selection versus 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.9/5.0
Disambiguation2/5

Several tools are near-identical in purpose: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded all route the same style of question, and the company-research tools (entity_profile, compare_entities, recent_changes) and Polymarket tools (polymarket_edges, polymarket_arbitrage, bet_research) have overlapping triggers. The long descriptions help, but an agent could easily select the wrong one.

Naming Consistency3/5

All names are snake_case and mostly readable, but conventions are mixed: some are verb-led (ask_pipeworx, resolve_entity, scan_dependency), some are noun-led (entity_profile, pipeworx_feedback, polymarket_arbitrage), and some are adjective-noun phrases (recent_changes, recent_alerts). The polymarket_* and ask_pipeworx_* families are internally consistent, but the overall set has no unifying pattern.

Tool Count2/5

33 tools is high and the server bundles several unrelated domains: Pipeworx data research, prediction markets, PRIDE proteomics, memory, subscriptions, and AI-visibility checks. Each cluster is individually useful, but the aggregate surface feels over-stuffed rather than well-scoped for a single MCP server.

Completeness4/5

The main clusters are well covered: query/grounded/deep research, entity resolution/profile/compare/validate, memory CRUD, subscription lifecycle, and a rich Polymarket analytics toolkit. Minor gaps exist—PRIDE is limited to metadata search/get and there is no trade execution for prediction markets—but most workflows can be completed without dead ends.