Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_delete_backtest

Permanently deletes a backtest request and its result data by requestId, helping clean up stale or invalid runs; deleting an already-deleted ID still returns success.

Instructions

Permanently delete a backtest request and its associated result data by requestId. Use to clean up stale or invalid runs (e.g. results computed before an engine bug was fixed). Idempotent — deleting an already-deleted requestId returns success.

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": {
      "requestId": "<requestId>"
    },
    "name": "dwlf_delete_backtest"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestIdYesBacktest request ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A4/5.0
Behavior4/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 a solid job: it discloses that the deletion is permanent, that it cascades to associated result data, and that the operation is idempotent, returning success for an already-deleted requestId. It stops short of stating permission/auth requirements or what happens for an ID that never existed versus one already deleted.

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?

Three short sentences with no waste, and the destructive consequence is front-loaded before the usage rationale and idempotency note. Every clause contributes something an agent needs.

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

Completeness4/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 the essentials: what is destroyed (request plus results), when to use it, and idempotency of the response. It leaves minor gaps around permission requirements and the return payload shape, but nothing that would cause a misinvocation.

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?

There is only one parameter and schema description coverage is 100% ('Backtest request ID to delete'), so the schema already does the explaining. The description's 'by requestId' adds only marginal confirmation that the identifier keys the request rather than the result set. Baseline 3 applies.

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 ('permanently delete') and resource ('a backtest request and its associated result data'), plus the key ('by requestId'). The word 'permanently' implicitly separates it from the reversible dwlf_cancel_backtest sibling, but that alternative is never named, so an agent must infer the distinction rather than being told it.

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?

'Use to clean up stale or invalid runs (e.g. results computed before an engine bug was fixed)' gives a concrete when-to-use condition with a worked example. There is no explicit when-not guidance (e.g. 'use cancel_backtest if the run is still in flight') and no named alternative, which keeps it below a 5.

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