Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Show backtest performance

show_backtest_dashboard
Read-onlyIdempotent

Answers "How did my backtest do?" with total return, CAGR, max drawdown, Sharpe and the equity curve for one saved backtest. Use a backtestId from list_backtests or backtest_status. Results are simulated. Never starts or changes a backtest. Read-only. Shows an interactive panel in apps that support MCP Apps; always returns a text summary and a botspot.trade link.

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": {
      "backtestId": "<backtestId>"
    },
    "name": "show_backtest_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
seriesNo
backtestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / limit / anyOf
      Added value: +[
      +  {
      +    "maximum": 5000,
      +    "minimum": 10,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / limit / default
      Removed value: -1000
    • removedInput schema / properties / limit / maximum
      Removed value: -5000
    • removedInput schema / properties / limit / minimum
      Removed value: -10
    • removedInput schema / properties / limit / type
      Removed value: -"integer"
    • addedInput schema / properties / series / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "equity",
      +      "drawdown"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / series / default
      Removed value: -"equity"
    • removedInput schema / properties / series / enum
      Removed value: -[
      -  "equity",
      -  "drawdown"
      -]
    • removedInput schema / properties / series / type
      Removed value: -"string"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, but the description adds real value beyond them: results are simulated, the tool never starts or mutates a backtest, it may render an interactive panel where MCP Apps are supported, and it always returns a text summary plus a botspot.trade link. That last pair is exactly the fallback behavior an agent needs to know when composing an answer.

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, each following sentence adds a distinct fact (ID source, read-only guarantee, simulation caveat, render fallback), and nothing is padding. Slightly dense with several clauses in the final sentence, but no sentence could be deleted without losing information.

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 read-only, three-parameter tool with no output schema, the description covers what comes back (named metrics plus equity curve), the rendering behavior and the guaranteed text fallback. The residual gap is parameter-level guidance for limit and series, which the schema does not supply either.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description must carry the load, and it explains only backtestId's provenance. 'limit' (10-5000, presumably series resolution points) and 'series' (equity vs drawdown) are never mentioned, so an agent cannot infer how to control the curve length or switch to a drawdown view from the text alone.

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?

Opens with the user question it answers and then states the concrete resource: one saved backtest, returning total return, CAGR, max drawdown, Sharpe and the equity curve. The phrase 'one saved backtest' implicitly separates it from the multi-backtest comparison sibling, so an agent can pick between them without opening schemas.

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?

Explicitly tells the agent where the required ID comes from (list_backtests or backtest_status) and adds a when-not clause: 'Never starts or changes a backtest.' It does not name show_backtest_comparison as the alternative for multi-backtest questions, relying on the word 'one' to carry that distinction.

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.