Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_update_trade_plan

Update an existing trade plan by ID with partial changes, so you can revise entry, stop loss, take profit, quantity, status, or notes without recreating the plan.

Instructions

Update an existing trade plan by ID. All fields except planId are optional (partial update).

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": {
      "planId": "<planId>"
    },
    "name": "dwlf_update_trade_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoAdditional notes
planIdYesTrade plan ID
statusNoPlan status
symbolNoTrading symbol
quantityNoPlanned position size
stopLossNoStop loss price
strategyNoStrategy name or description
directionNoTrade direction
timeframeNoTimeframe
entryPriceNoPlanned entry price
takeProfitNoTake profit price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A3.5/5.0
Behavior3/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; it does add the genuinely useful fact that unspecified fields are left untouched (patch semantics rather than replacement). It says nothing about required permissions, whether status transitions are validated, whether changes are reversible, or what the tool returns, leaving the mutation profile largely opaque.

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?

Two short sentences, zero filler, and the key fact (update by ID, all other fields optional) is front-loaded. Nothing could be removed without losing information.

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?

For an 11-parameter mutation with no annotations and no output schema, the parameter surface is fully covered by the schema, but the definition is thin on mutation behavior: no mention of validation rules, side effects of changing status, or failure modes. It is enough to call the tool, not enough to call it correctly in edge cases.

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%, with all 11 parameters individually documented, so the baseline is 3. The description reinforces that planId is the only required field and that the rest are optional in a partial update, but adds no meaning beyond the schema (e.g., accepted status values, units, or constraints between entryPrice/stopLoss/takeProfit).

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 states a specific verb and resource ('Update an existing trade plan') and a scope ('by ID'), which is clearly distinct from create/delete/get trade plan. However, it never distinguishes itself from the sibling 'dwlf_update_trade', which operates on a different (non-plan) resource, so the agent must infer that boundary from the name alone.

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?

The parenthetical '(partial update)' plus 'All fields except planId are optional' implies this is for modifying an existing plan without resupplying every field, which is real usage information. It gives no explicit when-to-use vs alternatives (create vs update vs close), no prerequisites, and no guidance about whether status changes should go through a different, more specific tool.

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