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

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, destructiveHint. Description adds valuable context: data sources (SEC EDGAR/XBRL, FAERS), off-calendar fiscal year handling, sorted results, citation URIs.

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?

Well-structured with examples and front-loaded use cases. Could be slightly more concise, but all sentences earn their place.

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?

Covers key aspects: input types, output metrics, sorting, citation URIs, and efficiency claim. No output schema, but description compensates adequately. Missing error/pagination info, but not critical for this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameters are fully described. Description enriches by explaining what each type returns (metrics for company/drug) and how values are interpreted (tickers vs names), adding value beyond 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 clearly states it performs side-by-side comparison of 2-5 companies or drugs, specifying exact metrics pulled per type. It distinguishes from siblings (e.g., entity_profile) by explicitly preferring 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit usage examples and states to prefer this tool over sequential lookups. Could mention alternatives like entity_profile for single entity, but sufficient for comparison context.

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

B3.3/5.0
Disambiguation2/5

The ENTSO-E energy tools are clearly distinct, but the Pipeworx half contains overlapping query modes: ask_pipeworx and ask_pipeworx_beta are explicitly identical right now, and ask_pipeworx/ask_pipeworx_grounded/deep_research/validate_claim all route natural-language questions to the same underlying catalog. The Polymarket tools also blur edge detection, arbitrage, fill-risk, and persistence tracking, so an agent can easily select the wrong one.

Naming Consistency2/5

The five ENTSO-E tools use a clean snake_case noun pattern, but the rest mix brand verbs (ask_pipeworx, bet_research), bare memory verbs (remember, recall, forget), and polymorphic prefixes (polymarket_*), with inconsistent suffixes like beta, grounded, and kalshi_spread. There is no server-wide predictable naming convention.

Tool Count2/5

36 tools is too many for the apparent scope, and the server name promises ENTSO-E while only 5 of 36 tools serve that domain. Even viewed as a general data utility, the count is heavy and includes duplicate query modes, though individual clusters do have some purpose.

Completeness3/5

For an ENTSO-E server, the five energy tools cover the basics (generation, load, price, flow, capacity) but omit common datasets like generation forecasts, balancing/imbalance prices, and outages. The unrelated Pipeworx tools add broad research, memory, and subscription coverage, but the overall surface feels like a general-purpose assistant with an energy add-on rather than a complete energy domain.