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 readOnly, openWorld, idempotent, and non-destructive. The description adds significant detail: pulls latest 10-K data, handles off-calendar fiscal years, results sorted by primary metric, returns 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact yet dense with information. It front-loads the purpose with example queries, then details behavior. Every sentence earns its place; no wasted words.

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 no output schema, the description adequately covers return format (paired data + citation URIs) and behavior (sorted results). It addresses the complexity of two entity types with different data sources. Comprehensive for its purpose.

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?

Schema coverage is 100% with both parameters described. The description adds meaning: explains the enum of 'company' vs 'drug', specifies that values must be 2-5 tickers/CIKs or drug names, and clarifies what each type returns (financial metrics vs counts). This goes beyond the 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 clearly states it performs side-by-side comparison of 2-5 entities (companies or drugs) with example queries like 'compare X and Y' and 'rank these companies'. It specifies the data sources (SEC EDGAR/XBRL for companies, FAERS/FDA/trials for drugs) and distinguishes 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 Guidelines4/5

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

The description explicitly says 'ALWAYS PREFER over sequential single-pack lookups when comparing entities' and provides trigger phrases. It doesn't explicitly mention when not to use, but the preference is clear. Could be more explicit about alternative tools for single entities, but contextual completeness is high.

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

The tool set mixes NASA-specific tools with a large number of financial and prediction market tools, causing confusion. Within the non-NASA tools, there is significant overlap (e.g., multiple Polymarket analysis tools, several research tools with vague boundaries).

Naming Consistency3/5

Most tools use snake_case, but naming patterns are inconsistent: some start with verbs (search_collections, get_collection), others are noun phrases (entity_profile, deep_research). There is no uniform verb_noun convention across the set.

Tool Count2/5

With 33 tools, the count is high. Although it may be appropriate for the underlying domain (data/prediction markets), it is excessive for the server's stated NASA focus, where only 3 tools are relevant.

Completeness1/5

For a server named 'Nasa Cmr', the tool set is severely incomplete: only three tools cover NASA Earth science (search/granules/collections), lacking any support for missions, datasets, or advanced queries. The non-NASA tools are comprehensive but disconnected from the server name.