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

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

Annotations already document readOnlyHint=true and other hints. Description adds useful behavioral details such as data sources (SEC EDGAR/XBRL for companies, FAERS for drugs), handling of off-calendar fiscal years, and sorted results. Does not contradict 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?

Description is relatively long but each sentence adds value, front-loaded with example phrases. Could be slightly more concise, 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?

No output schema, but description mentions return format (paired data + citation URIs). Given the complexity of comparing 2-5 entities with two types, the description provides sufficient completeness for an agent to understand what the tool does and returns.

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%, baseline 3. Description adds value by explaining the enum choices for type parameter (what data each pulls) and clarifying values parameter (tickers vs drug names, min/max items).

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 the tool performs side-by-side comparison of 2-5 companies or drugs in one parallel call, with specific verb 'compare' and resource 'entities'. It distinguishes from siblings by noting it replaces 8-15 sequential lookups.

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?

Explicitly states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities', providing clear when-to-use guidance. Does not explicitly state when not to use, but implies single-entity lookups are for other tools like entity_profile.

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 clusters of tools have heavily overlapping purposes: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, discover_tools, and suggest_questions all route/discover questions across the same 5,743 tools, differing mainly in mode or betaness. The polymarket_* family (arbitrage, edges, edge_tracker, fill_risk, kalshi_spread) similarly overlaps in prediction-market edge detection. An agent would frequently struggle to pick the right tool from these near-duplicate groups despite verbose descriptions.

Naming Consistency3/5

Snake_case is used throughout, but patterns are mixed: some tools are verb-first (ask_pipeworx, find_sites, recall, forget, subscribe), some are noun phrases (current_conditions, entity_profile, bet_research), and some use a domain prefix (pipeworx_*, polymarket_*). The version-suffixed ask_pipeworx_beta is also a minor deviation from the otherwise clear descriptive style.

Tool Count2/5

34 tools is excessive for a server named 'Usgs Water' since only 3 tools (current_conditions, daily_values, find_sites) actually relate to USGS water data. Even as a general Pipeworx platform server, the count is heavy, with many tools dedicated to niche prediction-market trading and meta-routing that inflate the surface.

Completeness1/5

Against the stated USGS Water purpose, the surface is severely incomplete: it lacks water-quality samples, groundwater data, site metadata details, historical statistics, rating curves, parameter code lookup, and flood/alert data. The remaining 31 tools cover an entirely different domain (SEC filings, drugs, prediction markets, npm scans, memory), so agents using this server for water data will hit dead ends almost immediately.