Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_plan_fleet

Read-only

Validate a fleet change plan without modifying bots: check items against settings, policy, caps, and bot limits, then return a diff, risks, refusals, and warnings for approval before applying.

Instructions

Check a plan of changes to this account's fleet. It changes no bot: the server judges every item against the settings catalog, the fleet's policy and caps, the account's bot limit and every key rule, stores the plan for 24 hours, and answers plan_id, status ("checked" or "refused"), expires_at, the counts per action, per item the diff (before → after for each changed setting), its risk and whether it is real money, the totals per account against the caps, needs_confirmation, refusals (each with the item's position, the path and a code) and warnings. Read segnals_get_settings_catalog and segnals_get_fleet first. Each item is one of: { action: "create", exchange, connection_id, name?, from?: "default" | { bot_id }, config?, start? }, { action: "update", bot_id, config }, { action: "start" | "stop" | "delete", bot_id }. Items are judged in order, so a start after an update is judged on the updated config. Plan one account per call; the plan acts only on the fleet of the key of the account you name. Then show the person the diff, and apply only a plan they approved with segnals_apply_fleet_plan. A fleet may check 30 plans an hour. Requires: a master key (manage:fleet). Example: segnals_plan_fleet({ items: [{ action: "create", exchange: "bybit", connection_id: "", name: "BTC grid 1", config: { TRADING_PARAMS: { LEVERAGE: 3 } }, start: 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": {
      "items": "<items>"
    },
    "name": "segnals_plan_fleet"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesThe changes, in the order they apply: 1 to 500, and at most the policy's max_items_per_plan
accountNoThe account to act on. Optional: this program holds one account, "default".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, and the description corroborates rather than contradicts this ('It changes no bot'). Beyond annotations it discloses the validation sources, the 24-hour plan storage, the full answer shape (plan_id, status, expires_at, diffs, risk, money flags, needs_confirmation, refusals, warnings), the master-key/manage:fleet requirement, and the rate limit.

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?

Every sentence carries information and the non-mutating guarantee plus prerequisites are front-loaded before the details. It is a single dense block, however, and the long enumeration of response fields and item shapes is harder to scan than it needs to be.

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?

There is no output schema, yet the description enumerates the response contract in detail, and it covers prerequisites, ordering, scoping, auth, and rate limits for a tool whose job is validation. Nothing an agent needs in order to call it correctly or interpret the result 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; the description rises above it by adding ordering semantics ('Items are judged in order, so a start after an update is judged on the updated config'), account scoping ('the plan acts only on the fleet of the key of the account you name'), and a concrete example. Much of the item-shape enumeration duplicates the oneOf schema, which keeps it short of a 5.

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 ('Check a plan of changes to this account's fleet') and immediately delimits the scope with 'It changes no bot', which separates it cleanly from the mutating sibling segnals_apply_fleet_plan. The validating behavior against catalog, policy, caps and bot limit further pins down exactly what 'check' means.

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?

Explicit prerequisites ('Read segnals_get_settings_catalog and segnals_get_fleet first'), an explicit workflow ('show the person the diff, and apply only a plan they approved with segnals_apply_fleet_plan'), and an explicit constraint ('Plan one account per call'). The rate limit of 30 checks an hour is also stated, leaving little to inference.

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