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 indicate read-only, idempotent, open-world behavior. Description adds specifics: pulls latest 10-K data for companies handling off-calendar fiscal years, FAERS data for drugs, sorts results by primary metric, returns paired data with citation URIs. No contradiction.

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?

Front-loaded with example queries and core purpose. Every sentence adds value, but slightly verbose with details that could be condensed. Still efficient and well-structured.

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?

No output schema, but description mentions return type: paired data and citations. Adequate for a comparative tool. Lacks mention of error handling or edge cases, but overall complete.

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?

Both parameters are 100% described in schema. Description adds meaning: for 'type', explains data sources per enum; for 'values', gives examples (tickers/CIKs, drug names) and format. Adds real-world context 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?

Description clearly states it performs side-by-side comparison of 2–5 entities (companies or drugs) in one parallel call, using example queries like 'X vs Y' and distinguishing from sequential single-pack lookups. The verb and resource are specific and differentiate from sibling tools.

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 says 'ALWAYS PREFER over sequential single-pack lookups when comparing entities,' providing clear usage guidance. Example queries further indicate when to use.

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

Several tools are near-duplicates or overlapping entry points: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, discover_tools, and suggest_questions all serve overlapping query/discovery purposes. The polymarket tools and HubSpot tools are more distinct, but the set as a whole has fuzzy boundaries between many members.

Naming Consistency2/5

Naming is inconsistent across the set: HubSpot tools use an hs_ prefix, Pipeworx tools mostly use bare verbs (ask_pipeworx, recall, forget), and other tools mix styles (ai_visibility_check, generate_llms_txt, polymarket_edges). The hs_* subset is consistent, but overall there is no single predictable pattern.

Tool Count2/5

38 tools is too many for the apparent scope, especially since the server is named 'Hubspot' but only 6 of the tools are HubSpot-specific. A large portion of the catalog covers unrelated Pipeworx data access, prediction markets, memory, and npm scanning, making the set feel bloated and unfocused.

Completeness2/5

The HubSpot portion of the tool set is read-only: it can get, list, and search companies/contacts/deals, but has no create, update, or delete operations, leaving obvious lifecycle gaps. If the intended domain is actually Pipeworx/data research, the HubSpot tools seem like an unrelated afterthought, so the surface is incomplete for either interpretation.