Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_get_bot_performance

Retrieves detailed performance metrics for a specific trading bot—including net PnL, win rate, trade count, and drawdown—so you can analyze how well that bot is performing.

Instructions

Get detailed performance metrics for a specific bot: net PnL, win rate, total trades, drawdown, and more. Use this to analyze how well a particular bot is performing. Requires scope: read:stats. Example: segnals_get_bot_performance({ bot_id: 42 })

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_get_bot_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
bot_idYesThe ID of the bot to get performance for
accountNoThe account to act on. Optional: this program holds one account, "default".

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

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose a real operational prerequisite: "Requires scope: read:stats." It also supplies a concrete invocation example, which pins down call shape. Gaps remain on whether the metrics are all-time or windowed and what the response payload looks like, but the auth disclosure is genuine added value.

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?

Three short sentences, front-loaded with the resource and its metrics, then usage, then prerequisite and example. The middle sentence ("Use this to analyze...") is somewhat redundant with the metric list but earns partial keep as usage framing.

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 two-parameter read tool with no output schema, the description does the needed work: it names the returned metrics (compensating for the missing output schema) and states the required scope. Only the time-window semantics of the metrics are left unaddressed.

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 both bot_id and account are already documented in the schema and the baseline is 3. The example repeats bot_id in context but adds no semantics for 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 gives a specific verb and resource ("Get detailed performance metrics for a specific bot") and enumerates the concrete outputs (net PnL, win rate, total trades, drawdown). It does not explicitly contrast itself with the close sibling segnals_get_bot, so an agent must infer that bot config lives there and metrics live here.

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

Usage Guidelines3/5

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

"Use this to analyze how well a particular bot is performing" implies the use case but names no alternatives and states no exclusions. It is silent on when to prefer segnals_get_pnl_summary or segnals_get_trades over per-bot performance, leaving the routing decision to inference.

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