Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Show bot activity

show_bot_activity
Read-onlyIdempotent

For a general activity or trading-today summary, call this before separate order telemetry, run history or logs. Inspect its returned dated account, holdings and orders first, then fetch only missing decision details. Daily price attribution requires loading data-analysis and using validate_analysis_program followed by run_data_analysis, including when prices came from public search. Publish the computed opening and ending account values and the known-position subtotal, separately from an unknown full-basket total when a symbol is missing. Re-reading recorded position telemetry does not refresh broker holdings already shown in this report. When a current financial read is unavailable but an earlier tool result supplies a dated account value or cash, begin the interpretation with that last-known value and its original date, clearly labeled as not a current broker read. State the current uncertainty separately; an unavailable report does not erase earlier recorded evidence. Answers "How is my bot doing right now?" and "What did my bot do?" for one deployment. Already renders account value and holdings with signed unrealized P&L, followed by recent orders when available with their actual dates. Reuse these panels; do not add watchlist or risk-budget panels to restate account performance or holdings. This is the first financial read after list_deployments, before separate broker balance or position reads, even when discovery values are old. Reads current balances and account holdings directly from its exact linked broker, with source/retrieval timestamps; account-wide holdings and account-value change are not strategy-only profit. Uses recorded bot telemetry for orders and history, preserving their separate times. Live or paper comes from the deployment. Do not duplicate successful current reads. If current broker balances or holdings are unavailable and only recorded data is returned, recover once with get_broker_account_snapshot/get_broker_positions using that deployment's exact brokerCredentialId; never restart the trading bot to refresh prices. To explain a daily portfolio move, supplement this report with matching per-symbol price changes and estimated position contributions; since-entry P&L and a hold decision do not provide daily attribution. Recorded order history does not verify later broker activity. Use logs/run artifacts for decision explanations, not redundant cross-checks. 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_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
deploymentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / limit / anyOf
      Added value: +[
      +  {
      +    "maximum": 50,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / limit / default
      Removed value: -20
    • removedInput schema / properties / limit / maximum
      Removed value: -50
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • removedInput schema / properties / limit / type
      Removed value: -"integer"
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that balances come from the exact linked broker with source/retrieval timestamps, that account-wide holdings change is not strategy-only profit, that order/history telemetry uses recorded times, and that stale data should be labeled as a last-known dated value rather than a current broker read. It also notes the MCP Apps interactive panel and the guaranteed text summary plus botspot.trade link.

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

Conciseness2/5

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

The ~230-word block is a wall of interleaved rules; the core purpose statement ('Already renders account value and holdings...') appears mid-text rather than up front, and usage guidance is buried before it. Several prohibitions repeat the same idea ('do not duplicate successful current reads', 'do not add watchlist or risk-budget panels', 'never restart the trading bot to refresh prices'), which could be tightened into a short structure.

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 broker-reading, telemetry-merging tool with no output schema it covers fallback paths, timestamp provenance, panel reuse, and failure labeling thoroughly. The main gap is the unexplained 'limit' parameter and the absence of any hint about how many orders the report surfaces.

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% for both parameters and the description does not compensate: 'limit' (1-50, nullable) is never explained, so an agent cannot tell whether it bounds recent orders or something else. deploymentId is only obliquely implied by 'for one deployment'; its UUID form and the brokerCredentialId relationship are not tied to the parameter.

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 names a specific capability — a combined account value, holdings with signed unrealized P&L, and recent orders report for exactly one deployment — and frames it with the user questions it answers ("How is my bot doing right now?"). It actively distinguishes itself from separate order telemetry, run history/logs, and broker snapshot/position reads, so an agent can choose it without opening sibling schemas.

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?

Guidance is explicit and conditional: call it before separate order telemetry/logs, treat it as the first financial read after list_deployments, do not restart the bot to refresh prices, and recover once via get_broker_account_snapshot/get_broker_positions using the deployment's brokerCredentialId when current data is missing. It also routes daily price attribution to validate_analysis_program plus run_data_analysis, and decision explanations to logs/run artifacts.

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.