Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Fetch live performance metrics for a deployment

get_bot_performance
Read-onlyIdempotent

Returns recorded performance snapshots for a live deployment's bot, including total return, max drawdown, Sharpe ratio, and portfolio value over time. The hoursAgo parameter controls the lookback window (default 168 = 1 week, max 720 = 30 days). For current account performance use show_bot_activity first; this telemetry does not refresh broker valuations.

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": "get_bot_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursAgoNo
deploymentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, so the safety profile is settled. The description adds genuinely new behavior: the data is recorded/snapshot-based rather than live valuations, which prevents misreading stale numbers as current. It stops short of describing sampling cadence or pagination/limit on the snapshot list.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with what is returned, then the parameter contract, then the disambiguation. No restatement of the name or title and no 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?

No output schema exists, so listing the metric fields in prose is exactly the right compensation, and the lookback semantics plus the staleness caveat cover the remaining unknowns for a two-parameter read tool.

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 carries the burden and does: hoursAgo is given a concrete default (168 = 1 week) and a cap (720 = 30 days) that the schema only partially encodes (maximum, no default). deploymentId is left implicit, but its required/uuid nature is fully expressed in the schema itself.

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 ('Returns recorded performance snapshots for a live deployment's bot') and enumerates the metrics returned (total return, max drawdown, Sharpe ratio, portfolio value over time), so the agent knows exactly what this yields versus siblings like get_deployment_logs or get_portfolio_series.

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?

Explicitly routes the agent: 'For current account performance use show_bot_activity first', and adds the exclusion that this telemetry does not refresh broker valuations. Both the alternative and the condition selecting it are named, leaving nothing to inference.

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.