Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_delete_strategy

Permanently delete a visual strategy, including its compiled executable and symbol activations. Disable or delete related subscriptions first to prevent orphaned event consumption.

Instructions

Permanently delete a visual strategy. Hard delete — also removes the compiled executable and symbol activations. ⚠️ Past UserTradeSignal rows that referenced this strategy are NOT scrubbed (they remain as historical record), but they will be filtered out of the chart's strategy dropdown going forward because the chart filters by current live strategies. If you have an active subscription on this strategy, the subscription will keep consuming events but the dispatcher's strategy lookup will fail — disable the subscription first via dwlf_update_subscription({ enabled: false }) or delete it via dwlf_delete_subscription to keep state clean.

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_delete_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
strategyIdYesStrategy ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A4.4/5.0
Behavior5/5

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

No annotations exist, so the description carries the full behavioral burden and does so thoroughly: it discloses that this is irreversible, that the compiled executable and symbol activations are destroyed, that UserTradeSignal history is retained but filtered from the dropdown, and that a live subscription is left in a broken lookup state. This is exactly the destructive-operation context an agent needs.

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 critical fact (permanent hard delete) is front-loaded and each subsequent clause adds distinct operational value. The final sentence is long and dense, chaining two remediation options, which slightly hurts scannability.

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 single-parameter destructive tool with no annotations and no output schema, the description covers everything relevant: scope of destruction, retained data, downstream UI effects, and prerequisite cleanup. Nothing an agent needs to call it safely is missing.

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?

Only one parameter (strategyId) and schema description coverage is 100%, so the schema already documents it fully. The description adds no format, sourcing, or validation detail beyond the schema, making the baseline 3 correct.

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?

Opens with a specific verb+resource ('Permanently delete a visual strategy') and immediately qualifies the kind of delete ('Hard delete') versus the implicit soft alternatives among siblings like dwlf_deactivate_strategy_symbols. The agent knows exactly what operation this performs before reading further.

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 a concrete prerequisite workflow: disable or delete an active subscription before calling, with the exact tool calls named. It lacks explicit 'use this instead of X' routing (e.g., when to prefer update_strategy to disable rather than delete), but the conditional guidance it does give is actionable.

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