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

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

Annotations already indicate readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. Description adds valuable behavioral context: data sourcing (SEC EDGAR/XBRL for companies, FAERS for drugs), handling of off-calendar fiscal years, sorting by primary metric, return of paired data and citation URIs. No contradictions 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?

Description is somewhat lengthy but front-loaded with natural language triggers that aid discoverability. Every sentence provides useful information; however, it could be slightly more concise by removing redundant phrases like 'rank these companies' as examples. Overall well-structured.

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, description adequately explains return format (paired data + citation URIs) and sorting behavior. It covers both entity types, edge cases (off-calendar fiscal years), and the comparative advantage over sequential lookups. Comprehensive for a tool of this complexity.

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?

Both parameters (type, values) have 100% schema description coverage. Description adds meaning by explaining that values should be tickers/CIKs for company and drug names for drug type, provides examples, and specifies min/max items (2–5). This enriches the schema beyond enum labels.

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 starts with natural language triggers ('Compare X and Y', 'X vs Y') and clearly states it performs side-by-side comparisons of 2–5 companies or drugs. It specifies data sources (SEC EDGAR for companies, FAERS for drugs) and distinguishes itself from sequential lookups. The verb 'compare' and resource 'entities' are unambiguous.

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?

Explicitly instructs 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' This provides clear when-to-use guidance and contrasts with alternative approaches (sequential single-pack lookups). It also explains different data sources for company vs drug types.

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

B3.4/5.0
Disambiguation2/5

Many tools have overlapping purposes, particularly the multiple 'ask_pipeworx' variants and various Polymarket tools that serve similar functions. The lack of clear boundaries between data retrieval tools makes it difficult for an agent to choose the right one.

Naming Consistency2/5

Naming patterns are inconsistent: Slack tools use a 'slack_' prefix, while Pipeworx tools use a mix of verbs (ask_, validate_, resolve_) and nouns (entity_profile, bet_research). No uniform convention is applied across the set.

Tool Count3/5

With 36 tools, the count is high but not unreasonable for a comprehensive data platform. However, the inclusion of only 5 Slack tools in a server named 'Slack_connect' indicates a mismatch between tool count and intended purpose.

Completeness1/5

For a Slack integration, the tool surface is severely incomplete—missing core operations like creating channels, archiving, reactions, or message threading. The Pipeworx tools are extensive but unrelated to the server's stated purpose.