Skip to main content
Glama

compare_tickers

Rank two or more tickers against each other by a single metric (total_return, volatility, sharpe, max_drawdown, last_price). Symbols that cannot be resolved (or lack enough history) are skipped and noted in warnings rather than failing the call. Returns a ranked list of {ticker, value, rank, currency} (rank 1 = best). (paid: $0.0050/call)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeNo1y
metricNototal_return
tickersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It openly states that unresolvable or history-insufficient symbols are skipped and reported in 'warnings', and that rank 1 = best. It also surfaces pricing. However, it does not clarify how 'best' is interpreted for each metric (e.g., lower volatility vs. higher return), which is a notable gap.

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 two tight sentences plus a pricing parenthetical, with no fluff. The first sentence states the core action and metric list, the second covers error handling and output structure, and the pricing note is informative. Every clause earns its place.

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 and no annotations, the description adequately covers the return shape (list of {ticker, value, rank, currency}), the skip/warning behavior, and the ranking definition. It falls short only on defining per-metric 'best' and leaving the range parameter semantically open, but overall the tool is sufficiently described for a competent agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% coverage, so the description must add meaning for parameters. It does clarify the 'metric' parameter by listing its allowed values and the 'tickers' parameter by requiring at least two and explaining skip behavior. However, the 'range' parameter is entirely unexplained, and the description does not elaborate on how range interacts with the metric or the rankings.

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 states a specific verb ('Rank') and resource ('two or more tickers') with a clear scope: ranking by a single metric. It lists the allowed metrics and explicitly describes the output format, distinguishing it from sibling tools like compute_stats or screen, which have broader or different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies usage when comparing multiple tickers by a metric, but it does not explicitly mention when not to use the tool or provide alternative tool names. Sibling tools like screen or compute_stats have overlapping capabilities, and no exclusions or fallback guidance are given.

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.

Resources