Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_get_signal_stats

Retrieve win rate, average P&L, totals, and breakdowns for strategies' recorded fires to assess past signal performance.

Instructions

Get statistics for your strategies' recorded fires: win rate, average P&L, totals and a breakdown. Any simulated figure here (a backtest, a strategy's recorded fires, a replayed skip) is hypothetical: worked out on past data, not actual trading. Say so whenever you report one, and pass on hypotheticalLegend when the response carries it.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose one important trait: all figures are simulated/hypothetical, and a `hypotheticalLegend` field may appear in the response. That is genuinely useful output-side context. It says nothing about permissions, scope (all strategies vs. one), freshness, or whether the operation is read-only, so the disclosure is partial.

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?

The purpose and the returned metrics are front-loaded in the first clause, and the hypothetical-figures caveat follows as a separate, self-contained instruction. It is slightly wordy in the parenthetical list of simulated sources, but that detail earns its place as a compliance constraint.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description does well to enumerate the returned metrics and warn about the legend field. However, it leaves the aggregation scope ambiguous (all strategies? a default time window?) and does not mention pagination or result size for what could be a large breakdown. Adequate but with real gaps for a stats endpoint.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The description correctly implies an unfiltered, account-wide computation rather than inviting parameters that do not exist.

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 verb and resource ("Get statistics for your strategies' recorded fires") and enumerates the metrics returned: win rate, average P&L, totals, breakdown. The phrase "recorded fires" does distinguish it from decision- or skip-oriented siblings, though it never names an alternative explicitly. Clear purpose without sibling routing.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no sibling such as dwlf_get_decision_stats or dwlf_get_skip_outcomes is referenced. The only implied context is that this covers recorded fires rather than other event types. An agent must infer selection from the name alone.

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

Deploy Server

Other Tools