Skip to main content
Glama

crypto-backtest

TRADING(info): SMA-crossover backtest on historical data. INFORMATION ONLY. input=symbol, dias=optional. [x402: 5.0 USDC on Base, pay-per-use]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "crypto-backtest"
  }
}

Input Schema

NameRequiredDescriptionDefault
diasNoDays of history, optional
symbolYesCrypto asset (btc, eth...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / dias
      Added value: +{
      +  "description": "Days of history, optional",
      +  "type": "string"
      +}
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "service input",
      -  "type": "string"
      -}
    • addedInput schema / properties / symbol
      Added value: +{
      +  "description": "Crypto asset (btc, eth...)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "input"
      -]New value: +[
      +  "symbol"
      +]
  2. Added

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose something material: this is a paid x402 endpoint costing 5.0 USDC on Base per use, which is real cost/auth context an agent needs before calling. However, it says nothing about failure behavior for an unknown symbol, latency, or what a backtest response contains, leaving significant gaps for an unannotated tool.

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 short and front-loads the core operation before the caveat and pricing note. The 'input=symbol, dias=optional' clause is redundant with the schema and could be dropped, but overall there is little waste.

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

Completeness2/5

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

There is no output schema, so the description is responsible for conveying what the backtest returns, and it does not — no mention of metrics, equity curve, trade list, or result shape. For a paid tool with no annotations and no output schema, this leaves the agent unable to anticipate the response or judge whether the 5 USDC cost is worthwhile.

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?

Schema description coverage is 100%, so both parameters are already documented in the schema. The description's 'input=symbol, dias=optional' merely restates that, adding no format, range, or unit detail (e.g. valid values for dias) beyond what is structured. Baseline 3 applies when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific operation on a specific resource: an SMA-crossover backtest over historical price data for a crypto symbol. An agent can tell this computes a strategy simulation rather than a spot quote like crypto-price. It loses a point only because the terse 'TRADING(info):' prefix is noise rather than differentiation.

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

Usage Guidelines2/5

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

'INFORMATION ONLY' is a disclaimer about the nature of the output, not guidance on when to call this versus alternatives. There is no statement of prerequisites, no indication of when a backtest is the right tool over a price lookup, and no exclusions. The agent must infer usage entirely from the purpose sentence.

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.