Skip to main content
Glama

Backtesting Arena

Get Indicator Snapshot with Historical Percentile Ranks

arena_get_indicator_snapshot
Read-only

What do the classic indicators read right now? Current RSI(14), MACD(12/26/9), Bollinger(20,2), ATR(14) and OBV for a pair — each with a PERCENTILE RANK against that indicator's own history on that pair, plus the observation count. ATR and OBV are normalised (the payload names each unit; raw cumulative OBV would mostly rank how long the series has existed). Set interval to '1w' for the weekly view; the 1d view also carries rsi_14_weekly and rsi_14_4w, each with a source_note. Where a study on this platform has tested the current state, the payload carries its verdict. Related: arena_get_trend_channels (structure), arena_get_historical_analog (did a condition like this one ever pay?), arena_get_volatility_history (the volatility series behind ATR). [Free tier]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "arena_get_indicator_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairNoPair, e.g. "BTCUSDT" (default), "ETHUSDT", "PAXGUSDT".
intervalNoDefault '1d'. '1w' computes every indicator on weekly bars.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "context"
      -]
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint, so the description carries most of the burden and does so well: it explains that ATR/OBV are normalised and why (raw cumulative OBV would rank series length), that units are named in the payload, and that observation counts accompany each rank. It stops short of describing payload shape or any limits/errors, but adds substantial behavior beyond the annotation.

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?

Front-loaded with the question it answers and the indicator list, then conditions, then related tools. Dense but nearly every clause carries information; the parenthetical about OBV normalisation is justified. It is a single long paragraph that would scan better split into return-contract and routing sections.

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 2-parameter, no-output-schema read tool, the description covers defaults, the interval branch, the extra weekly fields, and the conditional study verdict. The verdict format and the shape of the payload beyond field names are left unspecified, which is the one remaining gap given there is no output schema.

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?

Schema coverage is 100%, so the baseline is 3; the description earns above that by clarifying the '1w' option produces a weekly view of every indicator and, more usefully, that the 1d view additionally carries rsi_14_weekly and rsi_14_4w with a source_note — behavior the schema does not state. Pair semantics are left entirely to 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?

Names the exact indicators and their parameters (RSI(14), MACD(12/26/9), Bollinger(20,2), ATR(14), OBV) plus the differentiating feature — a percentile rank against each indicator's own history on that pair. A concrete verb-and-resource statement that an agent can distinguish from arena_get_volatility_history or arena_get_trend_channels without opening a schema.

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?

Routes the agent to alternatives with their roles in parentheses: trend_channels for structure, historical_analog for 'did a condition like this one ever pay?', volatility_history for the series behind ATR. It also tells when to choose the weekly variant. It lacks explicit exclusions (e.g. 'do not use for raw price'), so it is clear context rather than a full when/when-not map.

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.