Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_update_strategy

Update an existing visual trading strategy by providing its strategy ID and changed fields, including name, description, or JSON body for nodes and edges.

Instructions

Update an existing visual trading strategy. Provide the strategy ID and updated fields.

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": {
      "strategyId": "<strategyId>"
    },
    "name": "dwlf_update_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoUpdated strategy name
bodyJsonNoUpdated strategy body as JSON string (nodes, edges, metadata). Parse before sending.
strategyIdYesStrategy ID to update
descriptionNoUpdated description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full disclosure burden for a mutation tool. It never says whether the update is partial or a full replace, what happens to fields omitted from the request, whether bodyJson overwrites the entire graph, or whether a recompile/validation step is required.

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?

Two short sentences, front-loaded with the action and free of filler. It is efficient, though the terseness is partly what leaves the behavioral gaps unaddressed.

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

Completeness2/5

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

For a four-parameter mutation tool with no annotations and no output schema, the definition is under-specified: it omits update semantics (partial vs. replace), side effects on the compiled strategy, and any indication of what the call returns. An agent could invoke it but could easily send an unintended full-body overwrite.

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 all four parameters are already documented in the schema, including the useful 'Parse before sending' note on bodyJson. The description only restates 'strategy ID and updated fields' and adds no meaning beyond the schema, making the baseline 3 appropriate.

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 uses a specific verb and resource ('Update an existing visual trading strategy'), which is immediately actionable. It does not distinguish this from siblings such as dwlf_create_strategy, dwlf_compile_strategy, or dwlf_delete_strategy, so the agent gets no explicit routing signal.

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?

The second sentence ('Provide the strategy ID and updated fields') is parameter advice, not usage guidance. There is no statement of when to choose this over create/compile/delete, no prerequisites (e.g., must the strategy exist or be recompiled afterward), and no exclusions.

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