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

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

Annotations declare readOnlyHint, openWorldHint, idempotentHint true, and destructiveHint false. The description adds rich behavioral details: data sources (SEC EDGAR/XBRL, FAERS), fiscal year handling, result sorting by primary metric, and return of paired data with citation URIs. No contradiction with 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, starting with example queries, then listing data sources, then clarifying behavior. It could be slightly more concise by grouping the data source details, but every sentence adds value and the structure is logical.

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?

Despite no output schema, the description explains what is returned (paired data, citation URIs) and how results are sorted. It covers both entity types in detail, addresses edge cases (off-calendar fiscal years), and the annotations provide additional safety guarantees. The tool is fully specified for its complexity.

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 covers both parameters (type, values) with full descriptions. The description adds semantic value by specifying that company values should be tickers/CIKs and drug values should be names, and provides examples ('AAPL', 'MSFT', 'ozempic'). This goes beyond the schema's enum and type constraints.

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 performs side-by-side comparison of 2–5 companies or drugs in one parallel call. It provides example queries and differentiates from sequential single-pack lookups, making the purpose clear and distinct from sibling tools like get_entity or entity_profile.

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 clearly specifies when to use this tool (comparison queries like 'X vs Y', 'rank these companies') and advises preferring it over sequential lookups. It also includes concrete query examples, providing both positive guidance and exclusion conditions.

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

Multiple tools have overlapping purposes, especially the ask_pipeworx variants (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, bet_research) which all serve to query data but with subtle differences. An agent would struggle to distinguish which to use without deep understanding of their nuances.

Naming Consistency3/5

Most tool names follow a verb_noun or noun_noun pattern in snake_case, but there are exceptions like 'forget', 'recall', 'remember' which are single verbs, and names like 'ask_pipeworx' mix verb and proper noun. Overall pattern is discernible but not uniform.

Tool Count2/5

33 tools is high for a server named 'Open Sanctions' which implies a focused domain. The tool set spans sanctions, meta-querying, prediction markets, memory, subscriptions, and more, making it feel bloated and unfocused relative to the server's name.

Completeness2/5

For a sanctions server, only two tools (search_entities, get_entity) directly address the domain, missing obvious operations like update, delete, or list. Many tools are unrelated to sanctions, leaving the core domain incomplete.