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"]).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Discloses data sources (SEC EDGAR, FAERS), handling of off-calendar fiscal years, sorting behavior by primary metric, and output format with citation URIs. Annotations already cover read-only, idempotent, non-destructive nature, and description adds substantial behavioral context.

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?

Highly concise: 5 sentences packed with essential information. Front-loaded with example queries. No redundant or unnecessary text. Every sentence serves a clear purpose.

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 2 parameters, no output schema, and existing annotations, the description fully covers tool behavior, data sources, sorting, and expected output. An agent can confidently decide when and how to invoke this tool.

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?

Adds significant meaning beyond schema: explains that type='company' pulls latest 10-K data, type='drug' pulls FAERS data, and values examples are given. Schema coverage is 100% but description enriches understanding of what each parameter value entails.

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 clearly states it performs side-by-side comparison of 2-5 entities, with specific examples of query patterns and data sources. Distinguishes from sequential lookups by emphasizing parallelism.

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 to prefer this tool over sequential single-pack lookups when comparing entities. Provides clear context for when to use each type (company vs drug) with concrete data sources.

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

The tool set mixes tools from multiple unrelated domains (HathiTrust, Pipeworx data platform, Polymarket, npm, etc.), making it unclear which tool to use for a given task. Overlap exists between ask_pipeworx and ask_pipeworx_grounded, and between several Polymarket tools, while the HathiTrust-specific tools are few and buried among many others, causing confusion.

Naming Consistency2/5

Naming conventions are inconsistent across the tool set. Some tools use verb_noun (check_full_view, lookup_by_identifier), others use noun_verb (entity_profile, deep_research), and some are single verbs (forget, remember, subscribe). There is no predictable pattern, making it harder for an agent to guess tool names.

Tool Count1/5

With 33 tools, the count is high, but only 3 (get_record, lookup_by_identifier, check_full_view) are relevant to the server's stated purpose (HathiTrust). The remaining 30 tools appear to be from unrelated domains (Pipeworx data platform, Polymarket, npm, etc.), making the tool count severely mismatched with the server name.

Completeness2/5

For the HathiTrust domain, the tool surface is severely incomplete: only three basic lookup tools with no search, browse, or management capabilities. The broader set includes tools for many other domains, but that does not compensate for the lack of coverage of the server's primary purpose.