Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_apply_fleet_plan

DestructiveIdempotent

Applies an approved, previously checked fleet plan to create, update, start, stop, or delete bots, using a preview-then-confirm step to prevent unintended changes.

Instructions

Apply a checked plan of this account's fleet, exactly as it was checked. This changes bots: it creates, updates, starts, stops and deletes them as the plan says.

TWO-STEP CONFIRMATION: call without confirm to preview: it reads the stored plan and changes nothing. Show the person that plan (every diff, the risk, real money, the caps) and wait for their approval. Then call again with confirm: true. Apply only a plan the person approved; for any other change, check a new plan with segnals_plan_fleet. The apply is sent once and carries an Idempotency-Key made from the plan id, so applying the same plan twice does nothing more; if Segnals does not answer, read the plan with segnals_get_fleet_plan before applying again. A plan whose bots changed since the check is refused (plan_stale) and nothing is applied. Starts are released in batches (25 a minute by default): follow them with segnals_get_fleet_plan, and never say a real-money bot started until the plan says applied. Items that need the account holder's confirmation wait for it in Settings → Bot manager; you cannot confirm them. A fleet may apply 10 plans an hour. Requires: a master key (manage:fleet). Example: segnals_apply_fleet_plan({ plan_id: "<plan_id>", confirm: true })

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": {
      "plan_id": "<plan_id>"
    },
    "name": "segnals_apply_fleet_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoThe account to act on. Optional: this program holds one account, "default".
confirmNoSet to true to apply, after the person approved the preview
plan_idYesThe plan_id segnals_plan_fleet answered, for this same account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds substantial context: the idempotency key derived from plan id, the plan_stale refusal when bots changed since the check, batch release of starts at 25/minute, a 10-plans-per-hour fleet cap, and the manage:fleet master-key requirement. It stops short of describing the immediate return payload or how partial failures surface, which keeps it just below the top.

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 with the purpose, then a labeled TWO-STEP CONFIRMATION block, then operational caveats and requirements — a structure that lets an agent skim for the gating rule. It is dense and mostly earns its length, though the confirmation rules are restated in several places and could be tightened.

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 destructive, rate-limited mutation tool with no output schema, the description covers the safety gate, failure modes (plan_stale, no answer), async start progression via segnals_get_fleet_plan, items requiring account-holder confirmation, throttling, and auth. Nothing an agent needs to invoke it safely is missing.

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 real meaning: confirm is tied to a human-approval workflow rather than a bare boolean, and plan_id is constrained to a value segnals_plan_fleet returned for the same account. The inline example reinforces the expected call shape.

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?

Names a specific verb and resource ('Apply a checked plan of this account's fleet') and immediately enumerates the concrete effects (creates, updates, starts, stops, deletes bots). It also distinguishes itself from segnals_plan_fleet (checking a new plan) and segnals_get_fleet_plan (reading), so an agent can route 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 two-step protocol: call without confirm to preview and change nothing, obtain human approval, then call with confirm: true. It names the alternatives and their triggering conditions — segnals_plan_fleet for any other change, segnals_get_fleet_plan when Segnals does not answer — leaving nothing to inference.

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