Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_skip_trade

Skip a planned confirm-mode trade by recording one or more reasons and an optional note, moving it to skipped status for the skip journal and scorecard.

Instructions

Skip (pass on) a confirm-mode PLANNED trade, recording WHY. Moves it to status "skipped" with skipReasons[] + an optional skipNote — this feeds the skip journal / scorecard (dwlf_list_trades(status: "skipped")). Only planned trades can be skipped. Valid skipReasons: entry_extended_from_anchor, risk_reward_poor, thesis_already_played_out, low_conviction_signal, regime_risk_off, correlated_exposure, account_drawdown_pause, broker_access, other. skipNote is REQUIRED when a reason is "other". The first reason is treated as primary. Pair with dwlf_confirm_trade to take it instead.

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": {
      "tradeId": "<tradeId>",
      "skipReasons": "<skipReasons>"
    },
    "name": "dwlf_skip_trade"
  }
}

Input Schema

NameRequiredDescriptionDefault
tradeIdYesPlanned trade ID to skip
skipNoteNoFree-text rationale (max 500 chars). Required when a reason is "other".
skipReasonsYesOne or more skip reason codes (see tool description for the valid set). First = primary.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: it discloses the state transition to 'skipped', the skipReasons[]/skipNote payload, the downstream journal/scorecard effect, the planned-only constraint, the 'other' validation rule, and primary-reason ordering. These are exactly the traits an agent needs before mutating a trade.

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

Conciseness5/5

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

The definition is dense but front-loaded: action and outcome first, constraints and valid codes next, sibling pairing last. Every sentence carries actionable information and none restates the tool name.

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?

For a three-parameter mutation tool with no output schema and no annotations, the description covers the action, state change, valid inputs, conditional validation, ordering semantics, and downstream effects. Nothing an agent needs to call it correctly 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 earns above that by enumerating the otherwise-undocumented valid skipReasons codes (the schema has no enums) and reinforcing that the first reason is primary. The skipNote 'other' rule is repeated from the schema, so it adds less.

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?

The description states a precise verb plus resource ('Skip (pass on) a confirm-mode PLANNED trade') and immediately contrasts with the sibling action ('Pair with dwlf_confirm_trade to take it instead'). An agent can distinguish this from confirm/list/close tools without opening any schema.

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?

It gives an explicit precondition ('Only planned trades can be skipped'), names the alternative tool for the opposite action, and points to dwlf_list_trades(status: "skipped") for the journal. When-to-use, when-not, and the alternative are all spelled out.

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