Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_get_dashboard

Retrieve a trading dashboard overview for a timeframe or custom date range, showing PnL, win rate, trade count, equity curve, bot counts, and latest trades.

Instructions

Get the trading dashboard overview for a period: total PnL, win rate and trade count of that period, the equity curve, plus the current bot counts and the 10 latest trades (those two are not limited to the period). Period: timeframe "24h", "7d" (default), "30d" or "all"; or start_date and end_date together (ISO 8601), which take precedence over timeframe. A bare date means 00:00 of that day, so an end_date of 2026-10-31 leaves the 31st out: pass 2026-11-01 to include it. Requires scope: read:stats. Example: segnals_get_dashboard({ timeframe: "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_get_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoThe account to act on. Optional: this program holds one account, "default".
end_dateNoEnd of a custom period, ISO 8601 (e.g. 2026-11-01). Requires start_date.
timeframeNoPeriod to report: "24h", "7d" (default), "30d" or "all"
start_dateNoStart of a custom period, ISO 8601 (e.g. 2026-10-01). Requires end_date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • addedInput schema / properties / account
      Added value: +{
      +  "description": "The account to act on. Optional: this program holds one account, \"default\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / end_date
      Added value: +{
      +  "description": "End of a custom period, ISO 8601 (e.g. 2026-11-01). Requires start_date.",
      +  "type": "string"
      +}
    • addedInput schema / properties / start_date
      Added value: +{
      +  "description": "Start of a custom period, ISO 8601 (e.g. 2026-10-01). Requires end_date.",
      +  "type": "string"
      +}
    • addedInput schema / properties / timeframe
      Added value: +{
      +  "description": "Period to report: \"24h\", \"7d\" (default), \"30d\" or \"all\"",
      +  "enum": [
      +    "24h",
      +    "7d",
      +    "30d",
      +    "all"
      +  ],
      +  "type": "string"
      +}
  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?

With no annotations, the description carries the burden and does well: it discloses the required scope (read:stats), which two return components are NOT period-limited, and the precedence of start_date/end_date over timeframe. Minor gaps remain, e.g. it never says outright that the call is read-only or how costly it is, but the behavioral picture is otherwise solid.

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 what the tool returns, then periods, then the boundary caveat, then scope and an example — a sensible order with no filler. The end_date inclusivity explanation is verbose but earns its length by preventing an off-by-one error.

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, and the description compensates by enumerating the returned components. Combined with scope, defaults, period precedence, and date boundary semantics, an agent has everything needed to call it correctly and interpret the result shape.

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 would be 3, but the description adds real meaning the schema lacks: start_date/end_date together take precedence over timeframe, a bare date means 00:00 of that day, and end_date is effectively exclusive (pass 2026-11-01 to include Oct 31). That is precisely the semantic trap an agent would otherwise fall into.

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?

States a specific verb+resource ("Get the trading dashboard overview for a period") and enumerates exactly what comes back: total PnL, win rate, trade count, equity curve, bot counts, and the 10 latest trades. It does not explicitly name a sibling like segnals_get_pnl_summary or segnals_get_trades as an alternative, so differentiation is left partly to inference.

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?

Gives clear context for when to use it: an overview for a chosen period, with the default ("7d"), the allowed enum values, and the custom-range path. It also states precedence rules and the scope requirement. It stops short of explicit exclusions or pointing to specific alternatives for narrower questions.

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