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

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

The description provides extensive behavioral detail beyond the annotations: for 'company' it specifies it pulls latest 10-K data (revenue, net income, cash, debt) with correct off-calendar fiscal year handling; for 'drug' it pulls FAERS counts, FDA approvals, trial counts. It also notes results are sorted by primary metric and that citation URIs are returned. This fully informs the agent of what to expect without contradicting the readOnlyHint, openWorldHint, or idempotentHint 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 front-loaded with trigger phrases and quickly gets to the purpose. It is comprehensive but slightly verbose in repeating the efficiency gain ('in ONE parallel call' and 'Replaces 8–15 sequential lookups'). Still, every sentence adds value, and the overall structure is logical. Minor improvements could tighten phrasing.

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?

Given the tool has only 2 parameters and no output schema, the description fully explains input expectations, behavior for both entity types, sorting behavior, and output format (paired data + citation URIs). It even covers edge cases like off-calendar fiscal years. An agent has all the information needed to invoke the tool correctly and interpret results.

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?

The input schema already covers both parameters with descriptions (type enum and values array). The description adds valuable context: examples of values ('AAPL','MSFT' for companies; 'ozempic','mounjaro' for drugs) and constraints (2-5 items). This goes beyond the schema's minimal descriptions, though the schema itself is 100% covered. The added information is helpful but not essential.

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 states the tool performs side-by-side comparisons of 2-5 companies or drugs in one call. It provides example trigger phrases ('X vs Y', 'which is bigger') and distinguishes itself from single-entity lookup tools like entity_profile. This makes the purpose unambiguous and easily matched to user intent.

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 says to 'ALWAYS PREFER over sequential single-pack lookups when comparing entities,' giving clear guidance on when to use. It does not explicitly list cases when not to use (e.g., single entity), but the context implies it. Alternatives like entity_profile exist for single lookups, and the description indirectly suggests they are inferior for comparisons.

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

ask_pipeworx, ask_pipeworx_beta (currently identical in behavior), and ask_pipeworx_grounded overlap heavily, and the six-tool Polymarket cluster (edges, arbitrage, fill_risk, edge_tracker, kalshi_spread, bet_research) requires careful reading to distinguish. Descriptions are detailed, but several tools present real selection ambiguity.

Naming Consistency4/5

Nearly all tools use snake_case with a mostly verb-first or resource-first pattern (ask_, list_, fetch_, read_, subscribe, validate_claim). Minor deviations like entity_profile and recent_changes break the verb-noun pattern slightly, but the overall naming is predictable.

Tool Count2/5

34 tools is excessive for the 'Science Feeds' name, which implies a narrow feed-reading service; only 3 tools actually relate to feeds. The rest form a broad Pipeworx grab bag (memory, npm scanning, AI visibility, prediction markets, feedback), making the set feel unfocused and overweight.

Completeness4/5

For the broad query/research domain the descriptions actually establish, coverage is strong: discovery, single lookups, grounded/refusal-safe answers, deep research, entity resolution, comparison, change feeds, claim validation, subscriptions, memory, and feedback are all present. The literal science-feed surface is thin, but the toolkit as a whole has few dead ends.