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

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

Annotations indicate safe read-only, idempotent behavior. The description adds meaningful context: data sources (SEC EDGAR/XBRL for companies, FAERS/FDA/Trials for drugs), fiscal year handling, and result sorting, going beyond 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?

The description is dense but well-organized, front-loading key purpose and usage. Every sentence adds value, though it's a single paragraph without explicit structure.

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, description adequately explains return data (paired data + citation URIs) and data freshness. Rich annotations compensate for any gaps, but a note on auth or rate limits could improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 clarifies enum values and array constraints but doesn't add format details 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?

The description explicitly states the tool compares 2-5 companies or drugs side-by-side in one parallel call, with example queries and clear distinction from 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 Guidelines5/5

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

The description explicitly instructs to prefer this over sequential lookups and details when to use for company vs drug types, providing clear guidance on appropriate contexts.

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

A4/5.0
Disambiguation3/5

Tools are richly described with clear use-cases, but several clusters overlap: ask_pipeworx/ask_pipeworx_beta/ask_pipeworx_grounded/deep_research are all question-routing tools with similar names, and the five polymarket_* tools cover adjacent prediction-market analysis. An agent could easily pick the wrong one without reading the full descriptions.

Naming Consistency4/5

All names are snake_case and mostly follow a verb_noun or domain_noun pattern (compare_entities, resolve_entity, denver_query, polymarket_edges, pipeworx_trending). There are minor deviations like single verbs (remember, forget), adjective-first names (recent_alerts, deep_research), and domain-prefixed groups, but the overall style is predictable and readable.

Tool Count2/5

34 tools is a large surface for one server, pushing beyond the 25+ threshold where agents struggle to choose. While the platform is genuinely multi-domain (data lookup, prediction markets, Denver open data, memory, subscriptions, npm checks, llms.txt generation), several niche clusters like the 5-tool Polymarket suite and 3-tool memory trio inflate the count.

Completeness4/5

The server covers its domain well: general querying, grounded verification, deep research, entity resolution, company profiling, change feeds, subscription lifecycle (subscribe/list/unsubscribe/alerts), memory lifecycle (remember/recall/forget), and discovery (discover_tools, suggest_questions). Minor gaps exist—such as no direct browsing of all Pipeworx sources—but agents can work around them.