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 declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, indicating safe, non-destructive, repeatable behavior. The description adds value by detailing how off-calendar fiscal years are handled, the inclusion of citation URIs, and efficiency gains (replaces 8-15 sequential lookups). No contradictions.

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 moderately lengthy but front-loaded with natural-language triggers. Every sentence adds meaningful context (data sources, sorting, efficiency). A slight reduction in redundant phrasing (e.g., 'side-by-side... in ONE parallel call' could be tightened) would improve conciseness.

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 lacking an output schema, the description fully covers return format (paired data + citation URIs, sorted by primary metric) and data provenance. It addresses behavioral nuances like fiscal-year handling and explicitly states the tool's efficiency advantage, making it fully self-contained for an AI agent.

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%. The description reinforces parameter meaning: for 'type' it specifies data sources (SEC EDGAR/XBRL for company, FAERS/FDA/clinicaltrials.gov for drug); for 'values' it clarifies required format (tickers/CIKs vs. drug names) and the 2-5 item limit. This adds real context beyond the raw 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 begins with concrete example queries like 'Compare X and Y' and 'rank these companies,' directly stating the tool is for side-by-side comparison of 2-5 companies or drugs. It clearly differentiates from siblings such as entity_profile by emphasizing parallel evaluation over 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 includes an explicit directive: 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It also clarifies when to use each data type and notes that results are sorted by primary metric, guiding the agent on how to interpret output for queries like 'largest.'

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

Most clusters have clear roles, and the detailed routing guidance separates ask_pipeworx from deep_research and grounded mode. However, three ask_pipeworx variants (one currently identical to stable), plus overlapping opportunity-discovery tools (polymarket_edges vs bet_research) and discovery/onboarding tools (discover_tools vs suggest_questions), leave several boundary cases where an agent could select the wrong tool.

Naming Consistency3/5

Many tools group under readable prefixes (ask_pipeworx, cambridge_, polymarket_, pipeworx_) and are mostly snake_case. But the set mixes bare verbs (remember, recall, forget), verb_noun actions (resolve_entity, validate_claim), and noun-phrase names (entity_profile, recent_changes, polymarket_fill_risk), so no single convention predicts the full API.

Tool Count2/5

34 tools is well into the 'too many' band, and the count is inflated by a kitchen-sink mix of data querying, prediction-market analysis, memory, subscriptions, feedback, llms.txt generation, and npm scanning. The server name 'Data Cambridge' suggests a narrow local-data scope, which makes the sprawl look even less appropriate.

Completeness3/5

Individual verticals are fairly complete: query/grounded/beta router levels, entity resolution/profile/compare/change, prediction-market discovery through fill-risk, and full memory and subscription CRUD. The major gap is discover_tools, which returns tools promoted as ready to call directly but no generic invocation tool is exposed, so the agent must route back through ask_pipeworx.