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?

Adds rich behavioral context beyond annotations: data sources (SEC EDGAR/XBRL, FAERS), handling of off-calendar fiscal years, sorting by primary metric, return of paired data with 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?

Single paragraph with dense information, front-loaded with examples and use cases. Could be slightly more structured but no wasted sentences.

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 purpose, data sources, parameter semantics, and return format (paired data + URIs). Missing explicit mention of output format but sufficient given no output schema.

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?

Despite 100% schema coverage, description adds significant meaning: explains what each type pulls (company: financials, drug: adverse events and trials), and gives concrete examples for values (tickers, drug names). Goes beyond 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?

Description explicitly states it performs side-by-side comparison of 2-5 companies or drugs in a single call, with specific examples of use cases ('which is bigger', 'head to head'). Clearly distinguishes 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 Guidelines5/5

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

Explicitly states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', providing strong when-to-use guidance. Implicitly excludes single-entity lookups.

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 legislation-specific tools are distinct, but the server bundles dozens of unrelated Pipeworx/prediction-market/AI-visibility tools, making the set's purpose unclear. Several near-identical pairs exist: ask_pipeworx and ask_pipeworx_beta are explicitly identical right now, and ai_visibility_check overlaps heavily with scan_competitor_ai_presence. An agent would struggle to know which tool is the right entry point.

Naming Consistency2/5

Naming is mixed: snake_case dominates, but camelCase appears in ask_pipeworx, ask_pipeworx_grounded, generate_llms_txt, and pipeworx_feedback. There is also inconsistency in verb style — get_/search_/list_ coexist with bare verbs like remember, recall, forget, and subscribe. The legislation tools themselves follow a clean get_legislation* pattern, but the wider set does not.

Tool Count2/5

35 tools is too many for a server named 'Legislation Uk' where only 4 tools actually relate to UK legislation. The remaining 31 tools appear to belong to a broader data/prediction-market platform, which suggests severe scope creep or a mislabeled assembly. This bloats the surface area and makes the server harder for an agent to navigate.

Completeness4/5

For the stated UK-legislation purpose, the core read-and-search workflow is covered: search_legislation, get_legislation, get_legislation_section, and get_legislation_text together support discovery, metadata, targeted section lookup, and full-text retrieval with version selection. Obvious gaps remain, such as full-text content search and amendment/change history, but agents can complete the primary task of finding and reading legislation. The unrelated tools neither help nor complete this domain.