Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Stop a live deployment

stop_deployment
DestructiveIdempotent

HIGH RISK: stops an existing BotSpot live deployment and changes a running trading system. Stopping the wrong bot can leave real-money exposure unmanaged. Only call this tool after the user has explicitly confirmed the stop action, broker mode, and target deployment in the current conversation. The tool always returns an approval URL for the signed-in user to authorize; it does not execute from chat-only approval or reusable grants. For Codex, Claude, Cursor, and other clients without BotSpot native confirmation cards, return the exact authorizationUrl as a clickable Markdown link in your reply. Do not say a card or button was created unless the client actually rendered it. BotSpot clients may render structuredContent as a native confirmation, but a button name alone is not an approval link. A pending request is not execution; only the signed-in user may approve on the website. Report expiry and check get_deployment_action_status after approval.

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

Input Schema

NameRequiredDescriptionDefault
deploymentIdYes
idempotencyKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered; the description adds the mechanism the annotations cannot express: the tool returns an approval URL, never executes from chat, only the signed-in user can approve, and a pending request is not execution. It also discloses expiry and the structuredContent rendering behavior for native clients, which materially changes how an agent should report the result.

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?

Risk warning is correctly front-loaded and the confirmation/authorization flow follows in logical order. It runs long for a two-parameter tool, and the client-specific rendering paragraph (Codex/Claude/Cursor, Markdown link, card vs button) is agent-behavior coaching rather than tool semantics, though it is genuinely relevant to calling this tool correctly. A little redundancy around 'pending is not execution' could be tightened.

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?

With no output schema, the description does the return-value work well: it explains the approvalUrl, structuredContent for native clients, expiry, and the status-check follow-up. The gap is parameter-level — for a destructive, high-stakes tool with 0% schema coverage, an agent still has to guess what idempotencyKey does and when to supply it.

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, so the description must carry the load and it largely does not. It gestures at 'target deployment' and 'broker mode' but never explains the deploymentId format or what idempotencyKey is for — the idempotencyKey parameter is never mentioned at all, despite the tool being idempotentHint=true, which makes that omission notable.

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 ('stops an existing BotSpot live deployment') and immediately scopes the blast radius ('changes a running trading system'). The word 'live' implicitly separates it from stop_backtest, and it names get_deployment_action_status as the follow-up tool, so an agent can place it correctly without opening a 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?

Gives an explicit precondition ('Only call this tool after the user has explicitly confirmed the stop action, broker mode, and target deployment in the current conversation') and an explicit post-condition ('check get_deployment_action_status after approval'). It also states the negative case — chat-only approval and reusable grants do not execute — which is exactly the routing information an agent needs.

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.