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

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

The description provides extensive behavioral context beyond annotations: details on data sources (SEC EDGAR/XBRL, FAERS), specific metrics (revenue, net income, etc.), handling of fiscal year variations, sorting by primary metric, and return format including citation URIs. No contradiction with annotations.

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 somewhat long but front-loaded with example triggers. Every sentence adds value, though some repetition could be trimmed. Overall well-structured and clear.

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?

Despite lacking an output schema, the description adequately explains what is returned (paired data, citation URIs) and the behavior for different entity types. It covers most of the information an agent would need to use the tool correctly.

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 descriptions for both parameters. The description adds value by explaining the meaning of each type ('company' vs 'drug') and what data is fetched, which is not fully captured in the schema descriptions.

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 uses clear verbs like 'compare' and specifies the resource as '2–5 companies or drugs'. It provides example queries and explicitly states 'side-by-side comparison... in ONE parallel call', which distinguishes it from sibling tools like entity_profile.

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 advises to 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', providing clear when-to-use guidance. However, it does not explicitly list alternative tools or cases where this tool should not be used, which is a minor gap.

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/5.0
Disambiguation4/5

Most tools have clear, distinct purposes with detailed descriptions that differentiate them. However, there is some overlap among data query tools (e.g., ask_pipeworx, deep_research, entity_profile) and among Polymarket analysis tools, which could cause confusion for an agent.

Naming Consistency2/5

Tool names lack a consistent pattern, mixing snake_case (ai_visibility_check, bet_research) with descriptive phrases (ask_pipeworx, generate_llms_txt) and some with verbs (list_subscriptions, remember). This inconsistency makes it harder to predict tool names.

Tool Count3/5

With 34 tools, the server covers a broad scope including data querying, Polymarket analysis, SMS management, and utilities. While many tools are justified, the number feels slightly high and some tools (e.g., multiple Polymarket tools) might be consolidated.

Completeness4/5

The server provides comprehensive coverage for data analysis, entity resolution, fact-checking, and monitoring. However, SMS management lacks create/update operations for keywords and subscribers, and there is no tool for sending SMS messages, indicating minor gaps.