Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_fleet_report

Read-onlyIdempotent

Retrieve fleet performance KPIs, open positions, and unrealized PnL for a period and its prior period to evaluate bot health and plan changes.

Instructions

The fleet's performance for a period ("24h", "7d" by default, "30d") and the period of the same length before it (previous). KPIs per bot, for the fleet, and in totals over every fleet the key reads: net_pnl and net_pnl_pct_of_capital, return_pct, win_rate_pct, profit_factor, expectancy, trades, max_drawdown_pct, current_drawdown_pct, margin_used_pct; and what is held now: open_positions and unrealised_pnl. trades and net_pnl count closed trades only, so a bot can show trades 0 while it holds a position: read open_positions and unrealised_pnl before saying a bot is idle or flat. Exposure is a reading of now, so previous has it null. Each bot also has its exchange, every symbol it trades, whether it is demo, its status, and its health: seconds since its last sign of life (last_sign_of_life_s, with its source) and errors_24h. A KPI that is not measured is null, never 0: report it as "not measured", not as zero. With fewer than 20 trades, the win rate, profit factor and expectancy say little; say so. Fleet amounts are in the account's currency (account_currency); totals are in USD. Use it to tell the person how the fleet is doing, and before planning a change to it. Requires: a master key (read:stats), while the server's bot manager is on. Example: segnals_fleet_report({ period: "30d" })

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": "segnals_fleet_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoThe period: "24h", "7d" (default) or "30d"
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.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: unmeasured KPIs are null not 0, trades and net_pnl cover closed trades only so a bot can hold a position at trades 0, exposure fields are null for the previous period, <20 trades makes win rate/profit factor/expectancy unreliable, and fleet amounts are in account_currency while totals are USD. Auth and server-state prerequisites are also disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

High information density, but the opening clause is a verbless fragment and the rest is a long run-on chain of caveats and field lists. Almost every sentence earns its place, yet readability and front-loading suffer; structured bullets or a lead sentence would help.

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?

No output schema exists, so the description takes on the burden of enumerating returned KPI names, holdings fields, per-bot metadata and health signals, and it does so thoroughly along with the caveats needed to interpret them correctly.

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 coverage is 100%, so both parameters are already documented. The description repeats the period enum values and adds one usage example, but adds nothing about the optional 'account' parameter beyond what the schema states.

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 names a specific resource and scope: fleet-level performance per bot, per fleet, and totals across fleets, for a chosen period plus the prior period. It is clear what is returned, though it never names a sibling (e.g. segnals_get_bot_performance) to sharpen the fleet-vs-single-bot boundary.

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 states explicit usage conditions: 'Use it to tell the person how the fleet is doing, and before planning a change to it,' plus prerequisites (master key with read:stats, bot manager enabled) and an example call. It stops short of naming when to prefer a different tool.

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