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

A5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior. The description adds valuable behavioral details beyond that: source data (SEC EDGAR/XBRL for companies, FAERS/FDA for drugs), handling of off-calendar fiscal years, sorting by primary metric, and inclusion of citation URIs. There is 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but front-loaded with trigger phrases and a clear directive. Every sentence contributes unique information—usage triggers, data sources, sorting behavior, and efficiency gains—without redundancy or filler. It is structured to be scannable and immediately actionable.

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 2-parameter schema, strong annotations, and no output schema, the description fully covers what the tool returns (paired data, citation URIs), how results are ordered, and what each type does. It also names the alternative approach it replaces, making its role in the toolset clear. No significant gaps remain.

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?

Although schema coverage is 100%, the description enriches the parameters substantially: it explains what 'type' maps to in terms of data sources, gives concrete examples for 'values' (tickers vs drug names), and clarifies output behavior (sorted by primary metric). This goes well beyond the schema's terse property 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 specific verbs ('compare', 'rank', 'side-by-side') with a clear resource ('companies or drugs'), and explicitly differentiates itself from sequential single-entity lookups. It also enumerates concrete query phrasings that trigger the tool's use, 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 Guidelines5/5

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

The description provides explicit usage criteria: trigger phrases like 'X vs Y', 'which is bigger', 'rank these companies', and a strong directive to always prefer this over sequential single-pack lookups when comparing entities. It also gives per-type data sources, clarifying when company vs drug comparison is appropriate.

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 tool families have ambiguous boundaries: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are three variants of the same router (with beta currently identical), and the six polymarket tools plus bet_research heavily overlap in scanning and pricing edges. discover_tools, suggest_questions, and deep_research also all function as 'what should I query' entry points. Agents will struggle to select the right tool without carefully reading long descriptions.

Naming Consistency3/5

Many tools follow a clear verb-first snake_case pattern (get_article_extract, resolve_entity, subscribe, validate_claim), and families like ask_pipeworx_* and polymarket_* are internally consistent. However, notable noun-phrase outliers such as entity_profile, deep_research, bet_research, recent_changes, pipeworx_feedback, and polymarket_edge_tracker break the convention. The naming is readable but not predictable across the full set.

Tool Count2/5

36 tools is well over the 25+ threshold for a typical MCP server, and for a server named 'wikipedia' it is especially disproportionate: only 5 tools actually deal with Wikipedia while 31 are Pipeworx data, prediction-market, memory, subscription, and feedback utilities. The count reflects a broad all-in-one platform crammed into a Wikipedia-labeled surface rather than a well-scoped server. This is a significant scope mismatch.

Completeness4/5

The Wikipedia portion is reasonably complete for read-only lookup: search, summary, sections, full extract, and random discovery cover common encyclopedic questions without dead ends. The broader Pipeworx surface is also extensive, with query, grounded verification, deep research, entity resolution/profile/comparison, claim validation, memory, and subscription lifecycle tools. Minor gaps remain (no article categories/history, no update for subscriptions, no direct fetch of a citation URI), but they are workable.