Skip to main content
Glama

Strategy Comparison Race

compare_strategies
Read-only

Run all 9 strategies (RSI, Bollinger, MACD, EMA Cross, Supertrend, Donchian, RSI Pullback, Keltner Breakout, Triple EMA) and return a ranked leaderboard.

Args:
    symbol: Yahoo Finance symbol (AAPL, BTC-USD, SPY…)
    period: '1mo', '3mo', '6mo', '1y', '2y'
            (period >= '1y' recommended so rsi_pullback and triple_ema can
             complete SMA200 warmup; otherwise they contribute zero trades)
    initial_capital: Starting capital in USD (default $10,000)
    interval: '1d' (daily) or '1h' (hourly)

Input Schema

NameRequiredDescriptionDefault
periodNo1y
symbolYes
intervalNo1d
initial_capitalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so safety is covered. The description adds genuine behavioral context beyond that: it runs a fixed set of 9 strategies and discloses a non-obvious warmup side effect (strategies silently yield zero trades on short periods). Return metric composition is still unstated.

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 purpose sentence is front-loaded and tight. The args block is somewhat list-like, but given 0% schema coverage it is necessary rather than redundant. No wasted prose.

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?

For a four-parameter tool with no output schema, the description covers invocation fully, including defaults and the warmup pitfall. What it does not describe is what the ranked leaderboard actually contains (which metrics, sort key), leaving the agent to infer the return shape.

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 description coverage is 0%, so the description must carry the full burden — and it does, documenting all four parameters with types, examples (AAPL, BTC-USD, SPY), enumerated values for period and interval, and the $10,000 default. The warmup caveat ties a parameter value to a concrete outcome.

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?

States a specific verb and resource ('Run all 9 strategies') and enumerates every strategy by name, then declares the output ('ranked leaderboard'). The comparison scope is inherently distinct from single-strategy siblings like backtest_strategy or walk_forward_backtest_strategy.

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?

Gives real contextual guidance — 'period >= 1y recommended so rsi_pullback and triple_ema can complete SMA200 warmup; otherwise they contribute zero trades' — which steers correct invocation. It stops short of naming an alternative or an explicit when-not-to-use condition versus the sibling backtest tools.

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.