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

A5/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true, idempotentHint=true, and the description adds behavioral details: pulls latest 10-K data with off-calendar handling for companies, FAERS and FDA data for drugs, and results sorted by primary metric. 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.

Conciseness5/5

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

The description is well-structured with front-loaded examples and concise sentences. Every sentence adds value, covering usage, data sources, and behavior without redundancy.

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 2 params and no output schema, the description fully explains return data, sorting, and citation URIs. It is complete for the agent to understand input and expected output.

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% but description adds meaning: explains what data is returned for 'company' (revenue, net income, cash, debt) and 'drug' (adverse events, approval counts, trials). This goes beyond the enum values.

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 companies or drugs, using explicit verbs like 'compare' and examples such as 'which is bigger / better'. It distinguishes itself from sibling tools like entity_profile and 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 Guidelines5/5

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

The description explicitly instructs 'ALWAYS PREFER over sequential single-pack lookups' and provides example queries. It also differentiates usage for company vs. drug types, giving clear context for when to invoke.

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

Several tools appear to do the same thing at the top level: ask_pipeworx, ask_pipeworx_beta (explicitly identical today), and ask_pipeworx_grounded are near-duplicate routing entry points, and deep_research overlaps heavily with them. Among the ct_* tools, ct_count_by_condition, ct_competitive_landscape, ct_sponsor_pipeline, and ct_compare_sponsors all provide overlapping counting/landscape functionality, making correct selection genuinely ambiguous.

Naming Consistency4/5

The overwhelming majority of tools use lowercase snake_case and mostly follow a verb_noun or domain-prefixed pattern (ct_search, ct_get_study, list_subscriptions, validate_claim, resolove_entity). Some names are noun phrases rather than verbs (ct_competitive_landscape, entity_profile, polymarket_edge_tracker) but the overall style is consistent and readable, with only minor deviations.

Tool Count2/5

44 tools is far too many for a server named 'Clinicaltrials'; only 13 tools are actually clinical-trials-specific while the rest span general data lookup, prediction markets, memory, subscriptions, and npm scanning. The count is inflated by redundant entry points (ask_pipeworx/beta/grounded) and overlapping ct tools, making the set feel heavy and unfocused.

Completeness4/5

For the clinical-trials registry domain, the surface is largely complete: search, full study details, results summaries, condition counts, sponsor pipelines, location-based lookup, recent updates, and catalyst tracking are all represented. Minor gaps exist (e.g., historical versions/protocol amendments and advanced filter combinations), but most could be worked around via the universal ask_pipeworx router.