Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_list_trades

List trades from the trade journal and filter by status or symbol to review open, closed, planned, or skipped signals, including reasons skipped signals were passed.

Instructions

List trades from the trade journal. Filter by status or symbol. Statuses: open (live position), closed (exited, has P&L), planned (confirm-mode signal awaiting confirm/skip), skipped (passed signal — carries skipReasons[]/skipNote). Omit status to get ALL statuses. Use status: "skipped" to review the skip journal (which signals you passed and why).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dwlf_list_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoFilter by trade status. Omit for all. planned/skipped are served from the base table (they lack entryAt so aren't in the StatusIndex GSI).
symbolNoFilter by symbol (e.g. BTC, TSLA)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does useful work defining what each status means ('open = live position', 'closed = exited, has P&L') and notes that skipped trades carry skipReasons[]/skipNote, but it says nothing about result ordering, pagination/limits, or how large the list may be — meaningful omissions for a list tool with zero annotation coverage.

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 purpose and filter behaviour are front-loaded in the first two sentences, and every subsequent sentence adds enum semantics rather than restating the name. The dense parenthetical list of statuses is efficient but slightly hard to scan in one pass.

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 read-only, two-optional-parameter list tool with no output schema, the description covers what it returns at a conceptual level (trades, with P&L on closed, skip reasons on skipped) and how to filter. Explicit ordering or result-size expectations are the only notable gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: the bare enum values are explained semantically (open = live position, closed = exited with P&L, planned = confirm-mode signal awaiting confirm/skip). That interpretation is not present in the schema's generic 'Filter by trade status' line.

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 opens with a specific verb plus resource ('List trades from the trade journal') and immediately names the two available filters, which makes the tool's scope unambiguous. It does not name a distinguishing sibling (e.g. dwlf_list_trade_plans or dwlf_close_trade), so an agent must infer the boundary between trade journal listing and trade plans from naming alone.

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?

It gives concrete when-to-use guidance: 'Omit status to get ALL statuses' and 'Use status: "skipped" to review the skip journal.' That is more than implied usage, but it stops short of explicit alternatives or when-not-to-use conditions relative to sibling list tools.

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