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?

Beyond annotations (readOnly, openWorld, idempotent), the description discloses specific data sources (SEC EDGAR/XBRL for companies, FAERS/FDA for drugs), handling of off-calendar fiscal years, sorting by primary metric, and return format with 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?

The description is dense and front-loaded, but includes slight redundancy ('ALWAYS PREFER' and 'Replaces 8–15 sequential lookups' convey similar points). However, every sentence contributes to usability, and the length is justified by the tool's complexity.

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?

The description covers triggers, type-specific behavior, data sources, sorting logic, return format, and comparisons to alternatives. Even without an output schema, it gives a clear picture of what to expect, making it complete for a tool with 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?

Despite 100% schema coverage, the description enriches parameter meaning by explaining how 'type' determines data source and metric, and gives concrete examples for 'values' (e.g., AAPL/MSFT, ozempic/mounjaro). It also clarifies constraints like 2-5 items and what is compared.

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 in one parallel call, with explicit trigger phrases. It distinguishes itself from sequential lookups and sibling tools like entity_profile, making its purpose 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?

It provides explicit when-to-use guidance via trigger examples and states 'ALWAYS PREFER over sequential single-pack lookups when comparing entities.' It also differentiates behavior for type='company' vs type='drug', giving clear context for selection.

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

The set mixes several overlapping clusters: three ask_pipeworx variants (beta is explicitly identical to stable right now), six Polymarket tools with similar opportunity-scanning purposes, and two AI-visibility tools that duplicate each other. However, the descriptions are detailed enough that an agent can usually pick correctly, so the ambiguity is moderate rather than severe.

Naming Consistency2/5

Tool names follow no single convention — some are verb_noun (query_layer, validate_claim), some noun_noun (entity_profile, layer_info), some company-prefixed clusters (pipeworx_*, polymarket_*), and a few standalone verbs (forget, recall). While snake_case is consistent, the absence of a uniform verb_noun pattern across the set makes it unpredictable.

Tool Count2/5

At 34 tools, the server is oversized for its apparent purpose, and the count is even more problematic because most tools belong to a general Pipeworx/data platform while only 3 serve the 'Arcgis Princewilliam' GIS theme. The set feels like two unrelated servers merged, with many tools earning no clear place in a unified product.

Completeness2/5

The GIS side is a read-only stub (search, schema, and query) with no editing or feature-level retrieval, and the broader Pipeworx side has a notable dead end: tools return pipeworx:// citation URIs but no tool is provided to fetch those resources. The result is a surface that is simultaneously over-built in prediction markets and under-built in its namesake domain.