Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Inspect action authorization or revoke trading permission

get_deployment_action_status
DestructiveIdempotent

Returns the status of a pending or completed deployment authorization request created by start_deployment, stop_deployment, update_deployment_revision, run_deployment_once, or place_trade. Includes the active, expired or revoked trading window when present. Omit operation or use status for reads. Use operation=revoke_trade_window with the source actionId to revoke further-trade authority; requires place_trade scope. Revocation is idempotent and prevents new claims, but does not cancel submitted or in-flight orders, stop bots or alter other accounts. Use this after the user approves or denies the website authorization URL. Copy the actual actionId returned by the action tool; never guess an authorization request id. A deploymentId, botId or revisionId is not an actionId. If no action request has been created or returned, prepare the requested action first. Do not poll a known unapproved request merely to confirm that approval is still pending. For run_deployment_once, the authorization status describes approval and dispatch, not the strategy iteration. Pending approval means no strategy iteration has started. A completed action with metadata.executionResult.status=launched means launch accepted; completion and trades remain unverified. A skipped result started no new iteration. An already_recorded result is a duplicate dispatch; inspect its run_id, last_run_status and run history. A failed or unconfirmed dispatch without terminal run evidence leaves the iteration outcome unknown. Inspect run history before any new request; do not automatically retry or infer that the run failed or finished. A balance or holdings report does not verify iteration completion. Answer questions about whether the RUN finished from iteration evidence: launched means completion is unverified. Do not lead with Yes and then qualify it when only the approval completed or launch was accepted.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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_deployment_action_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdNo
operationNoOmit for status. revoke_trade_window revokes further trades authorized by this source action; requires place_trade scope and does not cancel submitted orders.
requestIdNoAlias for actionId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / requestId
      Added value: +{
      +  "$ref": "#/properties/actionId",
      +  "description": "Alias for actionId."
      +}
    • removedInput schema / required
      Removed value: -[
      -  "actionId"
      -]
  2. Changed1 schema field changed
    • addedInput schema / properties / operation
      Added value: +{
      +  "description": "Omit for status. revoke_trade_window revokes further trades authorized by this source action; requires place_trade scope and does not cancel submitted orders.",
      +  "enum": [
      +    "status",
      +    "revoke_trade_window"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: revocation is idempotent, prevents new claims but explicitly does not cancel submitted or in-flight orders, does not stop bots, and does not alter other accounts. It also decodes outcome states that annotations cannot express — launched means launch accepted but completion unverified, skipped started no new iteration, already_recorded is a duplicate dispatch, and failed/unconfirmed leaves the outcome unknown pending run history.

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 core description is front-loaded correctly, but the text then sprawls into agent answer-formatting directives that have nothing to do with selecting or invoking this tool — how to phrase a Yes/No about run completion, Markdown link rendering for Codex/Claude/Cursor, and not claiming a native confirmation card was rendered. Statements are also repeated ('Report expiry and check get_deployment_action_status after approval' restates the earlier approval flow), so several sentences do not earn their place in a tool description.

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 carries the burden of explaining return semantics, and it does so concretely (metadata.executionResult.status values, run_id/last_run_status, trading window active/expired/revoked). What is missing is narrower: the requestId alias is never mentioned and the distinction between the status and revoke return payloads is not spelled out.

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?

Adds real meaning beyond the schema for actionId: it must be the actual actionId returned by the action tool, never guessed, and 'a deploymentId, botId or revisionId is not an actionId' — a distinction the schema does not make. However, the operation enum semantics ('omit for status', revoke requires place_trade scope, does not cancel submitted orders) largely restate the schema's own property description, and the requestId alias is left entirely to the schema.

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 a specific verb and resource: 'Returns the status of a pending or completed deployment authorization request', then enumerates the exact sibling action tools that create such requests (start_deployment, stop_deployment, update_deployment_revision, run_deployment_once, place_trade). It also states the second capability (operation=revoke_trade_window revokes further-trade authority), so an agent can distinguish this from run_deployment_once or list_deployment_runs 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?

Gives explicit when-to-use and when-not rules: 'Omit operation or use status for reads', 'Use this after the user approves or denies the website authorization URL', 'If no action request has been created or returned, prepare the requested action first', and 'Do not poll a known unapproved request merely to confirm that approval is still pending'. It also names the prerequisite for the destructive path (requires place_trade scope).

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.