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

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

The description adds significant behavioral context beyond annotations, including data sources (SEC EDGAR/XBRL, FAERS), handling of off-calendar fiscal years, sorting by primary metric, and return of paired data with citation URIs. Annotations already indicate read-only and idempotent, and description confirms non-destructive nature.

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 concise and front-loaded with trigger phrases and purpose. Every sentence adds value, covering usage guidance, parameter behavior, data sources, and output hints without unnecessary elaboration.

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?

Given no output schema, the description minimally explains return format ('paired data + citation URIs') and mentions sorting. It covers all key aspects for a two-parameter tool with simple output, though more detail on output structure could improve completeness.

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%, so baseline is 3. The description enriches parameter semantics by explaining how the 'type' enum determines data sources and providing examples for 'values'. It adds meaningful context beyond the 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 identifies the tool's purpose: side-by-side comparison of 2-5 companies or drugs. It lists trigger phrases and specifies the data pulled for each type, 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 instructs to prefer this tool over sequential lookups when comparing entities, and provides examples of when to use it. However, it does not directly mention when not to use or list alternative tools.

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

Multiple tool clusters have unclear boundaries: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are three variants of the same router (beta is currently identical), while bet_research, polymarket_edges, and polymarket_arbitrage all target prediction-market opportunities. ai_visibility_check is effectively a single-entity version of scan_competitor_ai_presence, and discover_tools overlaps heavily with suggest_questions.

Naming Consistency3/5

Tool names are uniformly snake_case and descriptive, but the pattern is mixed: verb-first names (ask_pipeworx, compare_entities, search_within) coexist with noun-first names (patent, scholarly, entity_profile), and the Lens.org pairing of patent/patents_search vs scholarly/scholarly_search is structurally inconsistent. Subgroups like pipeworx_* and polymarket_* are internally consistent, keeping the overall set readable.

Tool Count2/5

At 35 tools, this exceeds the 16-25 'heavy' band and bundles at least four distinct domains: Lens.org bibliometrics, Pipeworx data routing, Polymarket trading analysis, and memory/subscription utilities. While many tools serve legitimate purposes, the set feels sprawling and several variants (e.g., the three ask_pipeworx flavors) inflate the count without adding equivalent value.

Completeness4/5

The Pipeworx/Polymarket ecosystem is thoroughly covered with routing, grounded answers, deep research, entity resolution, validation, comparison, monitoring, and memory all present. The Lens.org portion is thin (search + fetch for patents and scholarly works) but covers the core read path; minor gaps exist such as no batch/export operations and no patent-number lookup.