Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Strategies and charts open in this conversation

conversation_attachments
Destructive

A conversation can hold several strategies and charts. action="list" shows what is attached and which strategy is primary; action="attach" adds one of the person’s strategies (kind="strategy") or charts (kind="chart") by refId, and attaching a strategy makes it primary; action="detach" removes one by attachmentId without deleting it. When the person says "this strategy" and several are attached, ask which one unless one is clearly selected.

Set "action" to choose the operation. Only send the fields listed for that action.

action="list": List what is open in this conversation

No other fields required. Lists the strategies and charts attached to this conversation, with which strategy is primary. When the person says "this strategy" and more than one strategy is attached, ask which one unless one is clearly selected.

action="attach": Attach a strategy or chart

Required fields: kind, refId. Attaches one of the person’s strategies or charts to this conversation. Attaching a strategy makes it the primary strategy, like switch_active_strategy.

action="detach": Remove a strategy or chart from this conversation

Required fields: attachmentId. Removes one attachment from this conversation without deleting the strategy or chart. The only strategy cannot be removed; attach another first.

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": {
      "action": "<action>"
    },
    "name": "conversation_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoWhat to attach. Used with action="attach". Required for action="attach".
refIdNoStrategy id (strategyId or aiStrategyId) or chart id (chartId). Used with action="attach". Required for action="attach".
actionYesWhich operation to run: "list", "attach", "detach". See the tool description for each one.
attachmentIdNoAttachment id from action="list". Used with action="detach". Required for action="detach".
conversationIdNoLeave empty to use the current conversation. Used with action="list", action="attach", action="detach".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, but the description supplies the crucial qualifier that detach does not delete the underlying strategy or chart, and that attach has the side effect of making the strategy primary. That is real behavior beyond the annotations. It stops short of addressing idempotency of repeat attach/detach calls or any permission/auth requirements, which the openWorldHint annotation implies.

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?

Front-loaded summary followed by clean per-action headings that match the action enum, which is good structure. The 'this strategy' disambiguation sentence appears twice, almost verbatim, so one sentence does not earn its place.

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?

For a five-parameter, three-action tool with no output schema, the description covers every operation's requirements, the shape of the list result (what is attached plus which strategy is primary), and the detach invariant. Nothing an agent needs in order to call any action correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every field is already documented, including enum values for action and kind. The description adds only marginal meaning — confirming kind maps to 'one of the person's strategies' versus charts — and does not clarify refId's dual id space (strategyId vs aiStrategyId) beyond what the schema says.

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 opening sentence names the resource (strategies and charts attached to a conversation) and enumerates the three operations with specific verbs — list, attach, detach — each restated under its own heading. An agent can distinguish this from switch_active_strategy or list_strategies 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?

Each action documents its required fields and its effect, and the description names an alternative ('like switch_active_strategy') while giving an explicit disambiguation rule: when the person says 'this strategy' and several are attached, ask which one. The detach section also states a precondition (the only strategy cannot be removed; attach another first).

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.