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

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

Beyond the annotations (which already indicate read-only, open-world, idempotent), the description reveals important behavioral details: it makes parallel calls, correctly handles off-calendar fiscal years, sorts results by primary metric, and returns citation URIs. Nothing contradicts the 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 informative but slightly wordy, especially the opening line which mixes many examples. However, it front-loads the key action and contexts. Every sentence adds value, but minor trimming could improve conciseness.

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?

Given the tool's moderate complexity (two parameter types, two entity types, no output schema), the description covers what data is returned, cites sources, explains sorting, and quantifies efficiency. It leaves no critical gaps for an agent to understand how to invoke and interpret results.

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?

The schema already documents type and values, but the description adds critical meaning: it explains what values mean (tickers/CIKs for companies, drug names for drugs), the allowed range (2-5 items), and how each type affects the data pulled. This fully compensates for any schema brevity.

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 clearly states that the tool performs side-by-side comparisons of 2–5 companies or drugs in a single parallel call. It specifies the data sources (SEC EDGAR for companies, FAERS/FDA for drugs) and the exact metrics returned, making the purpose unmistakable and distinguishing it from single-entity 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 says 'ALWAYS PREFER over sequential single-pack lookups' and quantifies the efficiency gain ('Replaces 8–15 sequential lookups'). It gives strong guidance on when to use, though it does not explicitly mention cases where this tool should not be used, leaving room for improvement.

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

The tool set has significant overlap among query and research tools (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, bet_research) and among entity/company tools (entity_profile, compare_entities, recent_changes). Despite detailed descriptions, an agent would struggle to select the correct tool without careful reading, especially for nuanced differences.

Naming Consistency2/5

Tool naming is inconsistent: some start with verbs (ask_, generate_, validate_, scan_, subscribe) while others are nouns (entity_profile, popular, trending, search, recent_alerts, recent_changes). The snake_case style is consistent, but the verb_noun pattern is not, making predictions of tool names difficult.

Tool Count3/5

38 tools is on the high side for a single server, but the scope is broad (general query, research, Trakt, subscriptions, memory). The count is appropriate for the wide range of functionality, though some tools could be merged to reduce cognitive load.

Completeness4/5

The tool set covers a very wide range of tasks: querying, research, entity profiles, comparisons, subscriptions, memory, Trakt operations, etc. For the Trakt domain, it has all essential operations (search, get, list, trending). The Pipeworx side has a comprehensive set for data access, grounding, and validation. Minor gaps exist (e.g., no update for subscriptions), but overall it is well-covered.