Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_delete_trade

Delete a trade by ID to remove incorrect or unwanted entries from the DWLF trade journal and keep records accurate.

Instructions

Delete a trade by ID.

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>"
    },
    "name": "dwlf_delete_trade"
  }
}

Input Schema

NameRequiredDescriptionDefault
tradeIdYesTrade ID

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 carries the full behavioral burden, and it discloses almost nothing. It does not say whether deletion is permanent or reversible, whether attached notes/annotations are cascaded or orphaned, or what permissions are required. Only the word "Delete" itself implies destructiveness.

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?

One short, front-loaded sentence with zero filler; the verb and the identifier come first. It is efficient, though its brevity borders on under-specification for a destructive operation.

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 an irreversible mutation with no annotations and no output schema, the definition omits everything an agent needs to act safely: reversibility, side effects on related records, and the close-vs-delete distinction. The simple one-parameter schema does not compensate for that.

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% for the single tradeId parameter, so the schema already explains the input. The phrase "by ID" confirms the lookup key but adds no format, sourcing, or validation detail beyond the schema.

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 ("Delete a trade") plus the identifying key ("by ID"), so an agent knows exactly what operation is performed. It does not, however, differentiate itself from close siblings like dwlf_close_trade or dwlf_skip_trade, which are plausible alternative actions on the same entity.

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?

There is no guidance on when to delete versus close, skip, or archive a trade, and no prerequisites or warnings. Given that dwlf_close_trade exists as a non-destructive alternative for the same resource, the absence of any routing guidance is a meaningful gap.

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