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

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

The description discloses key behavioral traits beyond annotations: it pulls data from specific sources (SEC EDGAR/XBRL for companies, FAERS/FDA/clinicaltrials for drugs), handles off-calendar fiscal years correctly, returns sorted results by primary metric, and includes citation URIs. Annotations already indicate read-only, open-world, idempotent, and non-destructive behavior, and the description adds valuable context without contradiction.

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 and well-structured, using parenthetical examples and short clauses. It is front-loaded with natural language queries that the tool handles, and every sentence adds value without redundancy. It efficiently communicates purpose, usage, and returned data.

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?

Despite having no output schema, the description fully explains what is returned (paired data and citation URIs) and covers both entity types. It addresses edge cases like off-calendar fiscal years and sorting behavior. For a comparison tool with two parameters and clear return expectations, the description is complete and leaves no significant gaps.

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 adds significant semantic value beyond schema: it explains what data is retrieved for each type (e.g., latest 10-K revenue/net income/cash/debt for companies; adverse events/approvals/trials for drugs), the sorting behavior, and how to interpret the response. This helps the agent understand the parameters' meaning and usage effectively.

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 the tool performs side-by-side comparisons of 2–5 companies or drugs, using clear verb phrases like 'Compare X and Y', 'which is bigger', 'rank these companies'. It distinguishes itself from sibling tools like entity_profile (single entity) and sequential lookups, making its 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 strongly recommends using this tool over sequential single-pack lookups when comparing entities, and provides context for when to use it. However, it does not explicitly mention when not to use it or suggest alternative sibling tools for different types of comparisons (e.g., comparing other entity types), so guidance is not exhaustive.

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

A4.1/5.0
Disambiguation4/5

Most tools are distinct (event search, subscriptions, memory, Polymarket arbitrage, data lookups), but ai_visibility_check, scan_competitor_ai_presence, bet_research, polymarket_edges, and polymarket_arbitrage have overlapping purposes around competitive research and prediction-market edge-finding. The detailed descriptions disambiguate them, though an agent could confuse polymarket_edges with polymarket_arbitrage.

Naming Consistency4/5

Tool names are mostly descriptive and consistent: search_events, event, categories, tags are aligned; ask_pipeworx, compare_entities, entity_profile follow a similar pattern. However, polymarket_* tools have an odd mix of `polymarket_arbitrage`, `polymarket_fill_risk`, and `polymarket_edge_tracker`, and discover_tools/recent_alerts/recent_changes are consistent, mostly. Naming is quite consistent overall with minor deviations.

Tool Count3/5

At 35 tools, the count is heavier than typical MCP servers, but it reflects a broad service (Funcheap data + Pipeworx data platform + pred markets). Still, plenty of tools serve the same primary purpose (polymarket_, ask_pipeworx variants) so some pruning would improve the surface.

Completeness4/5

The surface appears complete for its domain: search/retrieve events, category/tag navigation, memory, subscriptions (create/list/cancel/pull), data lookups, entity resolution, comparisons, profiles, edge scanning, and feedback. Minor gaps include no direct 'update' on events (but events are static), and no pricing fetch tool separate from event text, though body text covers it.