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?

Adds significant behavioral detail beyond annotations: single parallel call, handles off-calendar fiscal years, sorts results by primary metric, and returns citation URIs. Annotations already indicate read-only and idempotent, but description expands on data sources and result structure.

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?

Single dense paragraph with front-loaded natural language triggers, then key behavioral details. Every sentence adds value, but could be slightly more structured with bullet points or separation of input/output. Still concise and effective.

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?

Covers input (type and values with examples), behavior (parallel call, sorting), and output (paired data + citation URIs). No output schema exists, but description adequately describes return format. For a complex multi-entity comparison tool, this is complete.

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 coverage is 100%, so baseline is 3. Description adds meaning beyond schema: explains what data each type pulls (10-K, FAERS), gives examples for values (tickers vs names), and clarifies sorting behavior, helping agent use parameters correctly.

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 comparison of 2-5 companies or drugs, using specific financial or adverse event data. It includes natural language triggers like 'compare X and Y' and 'which is bigger,' making the purpose immediately recognizable and distinguishing it from siblings like 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?

Explicitly instructs 'ALWAYS PREFER over sequential single-pack lookups when comparing entities' and mentions it replaces 8-15 sequential lookups, giving clear when-to-use guidance. Also implies not to use for single entity lookups via contrast with triggers and efficiency claim.

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.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose, from job searching to company research to bet analysis. Even closely related tools like ask_pipeworx and ask_pipeworx_grounded are differentiated by one being hallucination-resistant. Memory and subscription tools are clearly separated.

Naming Consistency4/5

Most tools follow a verb_noun pattern (e.g., search_jobs, validate_claim, subscribe). However, some tools like pipeworx_feedback, pipeworx_trending, entity_profile deviate with noun_noun or proper noun patterns, creating minor inconsistency.

Tool Count4/5

29 tools is above the typical 3-15 range, but the server covers a wide breadth of domains (jobs, company data, betting, memory, monitoring) so each tool earns its place. Slightly over-scoped but reasonable.

Completeness3/5

The tool set covers many domains but has notable gaps. For jobs, only search/list/get exist (no create/update/delete). For company data, update is missing. For betting, there is analysis but no placement. The set is broad but not deeply complete for any single domain.