Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_restart_bot

Restart a trading bot with a preview-first confirmation step, resetting loss streaks and starting the cold-start cycle.

Instructions

Restart a trading bot. Requires scope: control:bots.

TWO-STEP CONFIRMATION: Call without confirm to preview. Call with confirm: true to restart. NOTE: Restarting resets the bot's loss streaks and goes through the cold-start cycle.

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": {
      "bot_id": "<bot_id>"
    },
    "name": "segnals_restart_bot"
  }
}

Input Schema

NameRequiredDescriptionDefault
bot_idYesBot ID to restart
accountNoThe account to act on. Optional: this program holds one account, "default".
confirmNoSet to true to execute after previewing

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / account
      Added value: +{
      +  "description": "The account to act on. Optional: this program holds one account, \"default\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / bot_id / maximum
      Added value: +9007199254740991
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it discloses the important side effects: loss streaks are reset and the bot goes through a cold-start cycle. It also discloses the permission requirement and the confirmation workflow. What it omits is the effect on open positions or in-flight trades, and what the preview response contains.

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 short, front-loaded lines: purpose, permission, protocol, then the side-effect warning. Nothing is redundant and the destructive consequence is placed where an agent will read it before calling.

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 mutation tool with no annotations and no output schema, the description covers the essential gaps: authorization scope, confirmation flow, and state-changing side effects. It could be stronger if it said what the preview returns or what happens to live positions during the cold start, but it is sufficient to call correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds value beyond the schema by explaining the two-step semantics of `confirm`: the schema only says "Set to true to execute after previewing", while the description clarifies what calling without it does (a preview rather than a no-op). It says nothing extra about `bot_id` or `account`, which the schema already covers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("Restart a trading bot") that an agent can act on immediately. However, it never contrasts the tool with its close siblings segnals_start_bot and segnals_stop_bot, so the agent must infer why a restart differs from a stop-then-start.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a precise operating protocol: call without `confirm` to preview, then call with `confirm: true` to execute, plus the required scope `control:bots`. It does not explicitly say when to choose restart over start/stop, so the alternative-selection guidance is incomplete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.