Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Show bot reasoning

show_bot_reasoning
Read-onlyIdempotent

Answers "why did my bot trade", "explain its last trade", "why didn't it trade today", "what is my bot's market view" and "what has it been trading and why" for one deployment (AI or rules-only). Draws one run card: a one-line result from that run's trades, each agent's saved conclusion under its own name (marking only agents whose saved tool calls placed orders), and the run's trades. Handles agent teams, single/no-agent runs, rules-only bots, and failed or skipped runs. Reads saved records directly; do not query agent_detail, order telemetry, artifacts, or logs before or after looking for more reasoning. Defaults to latest run. Pass date (YYYY-MM-DD, New York time) for a specific day (falls back to closest earlier run); pass runId only from list_deployment_runs. After the card, reply in at most two short sentences using only the card's facts. Do not repeat each agent, redraw as a table, or invent research/trading labels. State no trades, failures, or absent AI reasoning plainly. 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": {
      "deploymentId": "<deploymentId>"
    },
    "name": "show_bot_reasoning"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
runIdNo
deploymentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, but the description adds substantive behavior: it reads saved records directly, handles agent teams, single/no-agent runs, rules-only bots, and failed or skipped runs, falls back to the closest earlier run, renders an interactive panel where MCP Apps are supported, and always returns a text summary plus a botspot.trade link. What is missing is any mention of cost, latency, or size limits on the card, so it stops short of a 5.

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 lead is front-loaded with the user intents, then scope, then constraints, then output shape, which is the right ordering for an agent. It is dense and sentence-heavy, and the trailing reply-formatting rules ("at most two short sentences", "do not repeat each agent, redraw as a table") are more output-style policy than tool definition, but each still carries actionable instruction rather than filler.

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

Completeness5/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 must describe return values, and it does: the card's composition, the guaranteed text summary, and the botspot.trade link. Combined with the run-type edge cases and fallback semantics, an agent has everything needed to call this correctly and to interpret the response.

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?

With 0% schema description coverage the description must carry the parameter burden, and it does for two of three: date is specified as YYYY-MM-DD in New York time with documented fallback behavior, and runId is constrained to values from list_deployment_runs. deploymentId is only implied by "for one deployment" with no format or sourcing note, leaving one gap.

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 opens with the exact user questions the tool answers ("why did my bot trade", "why didn't it trade today") and names the concrete output artifact, a single run card with a one-line result, per-agent conclusions, and the run's trades. It also scopes the tool to one deployment and explicitly excludes adjacent resources (agent_detail, order telemetry, artifacts, logs), so an agent can distinguish it from siblings without opening the schema.

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

Usage Guidelines5/5

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

It states when to use it, what not to do around it ("do not query agent_detail, order telemetry, artifacts, or logs before or after looking for more reasoning"), and the defaults: latest run, date for a specific day with fallback to the closest earlier run, and runId only sourced from list_deployment_runs. The alternative-path routing is unusually explicit.

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.