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. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description adds further behavioral context: one parallel call, correct handling of off-calendar fiscal years, results sorted by primary metric, returns citation URIs, and replaces 8–15 sequential lookups. No contradictions.

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?

Description is front-loaded with example queries and is concise overall, though could be trimmed slightly. Every sentence adds value, but some redundancy (e.g., 'side-by-side' vs 'parallel'). Still well-structured and efficient.

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?

No output schema provided, but description explains return format: sorted by primary metric, paired data with citation URIs. Covers behavioral nuances like fiscal year handling. Given complexity and limited parameters, description is complete and helps agent understand expectations.

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% (both parameters described). The description adds meaning beyond schema: for 'type' it specifies what data is pulled (company: revenue, net income, cash, debt; drug: FAERS, FDA approvals, active trials). Examples for 'values' are given. Adds value over baseline, but schema already covers basics.

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 'side-by-side comparison of 2–5 companies or drugs in ONE parallel call' and distinguishes from sequential lookups. It clearly defines the purpose with specific verb (compare) and resource (entities).

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?

Provides explicit usage guidance: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities' and lists trigger phrases like 'X vs Y' or 'which is bigger'. It tells the agent when to use this tool vs alternatives.

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

The 11 fb_* Facebook tools are clearly separated by resource (account vs campaign vs adset) and action (list vs get vs create), and the Pipeworx research tools each have distinct roles (router, grounded, profile, compare, research). However, ask_pipeworx, ask_pipeworx_beta, and deep_research overlap in routing/fan-out behavior, and ai_visibility_check vs scan_competitor_ai_presence are near-identical in purpose, creating some ambiguity.

Naming Consistency3/5

The 11 fb_* tools follow a consistent fb_verb_noun pattern (except fb_get_campaign vs fb_list_*), but the remaining 25+ tools mix verb-first (ask_pipeworx, compare_entities, resolve_entity), noun-first (entity_profile, recent_changes, polymarket_edges), and generic names (forget, recall, remember). Pipeworx tools use verb_noun mostly consistently (ask_pipeworx, discover_tools, resolve_entity) but the overall set blends two naming cultures without a unifying prefix or pattern.

Tool Count3/5

36 tools is on the heavy side for one server. The Facebook ads domain only needs ~11 tools, while the rest are a sprawling Pipeworx research/meta platform (memory, subscription, prediction-market, web-tooling, AI-visibility) that feels like several servers merged into one. Each area is internally coherent, but as a single MCP server the count is bloated.

Completeness4/5

The Facebook ads surface covers list accounts/campaigns/adsets and read campaigns/insights, but notably lacks create/update/delete operations for campaigns and adsets, so the ad-management workflow has dead ends. The Pipeworx research side is extremely complete for data lookup (router, grounded, deep research, entity profiles, comparisons, verification), though the memory/subscription tools introduce a separate domain that is only thinly supported.