Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_get_setup_transitions

Retrieves cycle setup screener stage transitions in one call, grouping entered, downgraded, and left events newest first to show what changed stage, not current standings.

Instructions

Cycle Setup Screener stage transitions in ONE call โ€” the five cycle.setup.* event types merged and pre-grouped into entered / downgraded / left, newest first. Use this instead of five separate dwlf_get_events calls (that endpoint filters one type per request). ๐Ÿ’ก This is the delta feed: what CHANGED stage, not what currently sits in the screener โ€” for the current standing list use dwlf_get_cycle_setups. โš ๏ธ SEEDED ROWS ARE EXCLUDED BY DEFAULT. The first live run of the transitions job seeds the entire current state as seeded: true rows (โ‰ˆ34 of them on 27-Aug-2026); they are bookkeeping, not news, and SPTโ€™s dispatcher does not deliver them either. Counting them as transitions would report a flood of false โ€œnew setupsโ€. suppressedSeeded tells you how many were hidden. Pass includeSeeded: true only when auditing the seed itself. ๐Ÿ“… Transitions are written by the 04:12 UTC job, so the freshest data appears after that. ๐Ÿ“‘ Each type is paginated to completeness (cursor-followed, 10-page cap). If a type hits the cap the response carries truncated: true + truncatedTypes and the counts are PARTIAL โ€” narrow with a smaller days or a symbol. A per-type fetch failure sets partial: true + failedTypes rather than failing the whole call.

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

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days. Defaults to 7. The transitions job runs once daily, so `days: 1` may return nothing if todayโ€™s 04:12 run has not happened yet โ€” prefer 2+ for "what changed recently".
sideNoRestrict to one side. Omit for both.
symbolNoRestrict to one symbol โ€” accepts BTC, BTC/USD, BTC-USD, BTCUSD, or stock tickers.
maxRowsNoMax rows returned PER bucket (default 200). `counts` are always complete โ€” this caps only what is rendered, newest first, and reports `rowsOmitted`.
includeSeededNoInclude first-run seed rows (`seeded: true`). Defaults to FALSE โ€” they are current-state bookkeeping, not stage changes. Set true only to audit what the seed wrote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A4.8/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 burden and does so: it discloses the seeded-row default exclusion with the reason and approximate volume (~34 rows), the `suppressedSeeded` counter, the daily 04:12 UTC write cadence, per-type cursor pagination with a 10-page cap, `truncated`/`truncatedTypes` partial-count semantics, and `partial`/`failedTypes` degradation behavior. These are exactly the operational traits an agent cannot infer from the schema.

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?

Front-loaded with the core purpose and the sibling routing, then layered with the seed warning, timing, and failure modes in a scannable order. It is dense and longer than typical, with a few clauses that duplicate the schema (default 7 days, includeSeeded defaults false), but no sentence is pure filler.

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?

There is no output schema, so the description must describe returns and it does: bucket structure, newest-first ordering, complete `counts` versus capped rendered rows, `rowsOmitted`, `suppressedSeeded`, `truncated`/`truncatedTypes`, and `partial`/`failedTypes`. For a zero-required-parameter aggregation tool with no annotations, nothing an agent needs to call it correctly is missing.

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 and the schema already documents each parameter's default and meaning. The description adds genuine meaning beyond that by linking parameters to behavior: narrowing with a smaller `days` or a `symbol` is the remedy when `truncated` fires, and seeded rows would produce false 'new setups' โ€” rationale the schema does not supply. Some of its days/includeSeeded text does restate schema descriptions, which keeps it out of the top score.

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?

Names a specific verb and resource ('Cycle Setup Screener stage transitions') and states the scope precisely: five `cycle.setup.*` event types merged and pre-grouped into entered/downgraded/left. It explicitly distinguishes itself from both `dwlf_get_events` (one type per request) and `dwlf_get_cycle_setups` (current standing list), so an agent can select it without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('use this instead of five separate dwlf_get_events calls'), when-not ('for the current standing list use dwlf_get_cycle_setups'), and a conditional override ('pass includeSeeded: true only when auditing the seed itself'). The days guidance (prefer 2+ because the job runs once daily at 04:12 UTC) is a concrete selection rule rather than a vague hint.

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