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

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

The description discloses data sources (SEC EDGAR/XBRL for companies, FAERS/FDA/trials for drugs), handling of off-calendar fiscal years, sorting by primary metric, and return format with citation URIs. This goes well beyond the annotations, providing rich 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.

Conciseness4/5

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

The description is front-loaded with example queries and every sentence provides value. While slightly verbose, it is efficient and structured well for quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately explains inputs, behavior, and output format (paired data + citation URIs). It covers the essential context needed for correct invocation.

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?

The input schema covers 100% of parameters with descriptions. The description adds examples for values (tickers/CIKs vs drug names), explains data pulled per type, and clarifies min/max constraints, adding semantic meaning beyond the 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 clearly states the tool's purpose: side-by-side comparison of 2-5 companies or drugs in a single parallel call. It provides example queries and distinguishes it from sequential lookups, 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 Guidelines4/5

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

The description explicitly advises ALWAYS PREFER this tool over sequential single-pack lookups when comparing entities. It gives usage contexts like comparing, ranking, head-to-head. However, it does not explicitly state when not to use it, but the guidance is strong.

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

Several tools occupy adjacent roles: ask_pipeworx and ask_pipeworx_beta are currently identical in behavior, discover_tools and suggest_questions both serve discovery, and the astronomy plus Polymarket scanners have overlapping boundaries. The descriptions are unusually detailed and do differentiate most tools, but the number of near-neighbor tools still creates real selection risk.

Naming Consistency3/5

Names are uniformly snake_case and mostly descriptive, which helps, but the grammatical pattern is inconsistent: verb_noun names (compare_entities, resolve_entity) sit alongside bare nouns (catalogs, object) and bare verbs (remember, recall, forget). It is readable but not a predictable verb_noun convention.

Tool Count2/5

At 35 tools, the surface is well beyond what an agent can comfortably hold in mind. The set mixes a data-research core with one-off utilities like generate_llms_txt, scan_dependency, and AI-visibility auditing, making it feel like a grab-bag rather than a scoped server.

Completeness4/5

The core data-research workflow is strongly covered: plain and grounded Q&A, deep research, entity resolution, profiles, comparisons, claim validation, recent changes, tool discovery, memory, and subscription lifecycle all exist. Minor gaps remain, such as no subscription-update operation and no generic citation-fetch tool, but there are no serious dead ends.