Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_get_thesis_story

Retrieve a thesis's story as step-by-step beats showing what happened, where it stands, what each unmet step needs next, and optionally replay the plan as drawn against actual events.

Instructions

One thesis told as a story, in steps ("beats"): what happened (saved, revisions, the cycle windows, the engine events its conditions name, its fires), where it stands now, and what each unmet step needs next. Each beat has a plain sentence, knowableAt (when DWLF could first know it), checkedAs (the condition it speaks to, in its label's words) and means (what it does to the steps). Also the plan as drawn when a revision was saved (plan, stored once and never changed; planNote says when it was reconstructed after the fact or none was captured), definitions, a disclaimer and deepLink (opens the story on the DWLF site at "now"; set its story query value to a beat's id to open that beat). current.routes: illustrated routes past today, one that meets the remaining steps and one per way the thesis could be challenged (both or none), each leg naming the engine numbers it was drawn from (basis); illustration carries their disclaimer, watermark and legend. replaySummary (always present): one sentence of facts (saved, each step met, challenge and revision with its date, the outcome). With replay: true, once a step is met or the thesis has an outcome, replay tells the plan as drawn against what happened: asDrawn, met (where each step was met, beside where its plan had illustrated it), windows (as drawn vs today), beats, plans and checkpoints (the plan just after each fire). Tell it as what happened and what the thesis needs next, in the beats' own facts. Never as an expectation or a forecast: a needs-next beat says what would meet a step, not that it will happen. Routes (current.routes, and a plan's routes as drawn at that save) are ILLUSTRATIONS, not forecasts: describe a meets route as "a shape price could take for the remaining steps to be met" and a challenges route as "one way the thesis could be challenged", always both together, and quote illustration.disclaimer.text. Name a leg's numbers from its basis (a window edge, a depth-band percentile, the condition's level); never present a route vertex's price as a level to aim for or one price will reach, and never say how likely a route is. A plan's routes are what that plan illustrated then: never score them against what price did (no hit or miss). No routes: say why, from current.routeNote. Replay (replay: true) is the plan as drawn told against what happened, in facts only. Give the date each step was met beside the date its plan had illustrated it as two dates, never as a difference, and never score the illustration: no right, wrong, early, late, accurate, hit or miss. Say a window was redrawn when windows[].redrawn is true. When replay.asDrawn.reconstructed is true, say the plan was reconstructed after the fact, not captured at the time; when a beat has a note (no plan, no checkpoint), say so. replaySummary is the one-sentence account to quote. Engine prices (route vertices included) are withheld for keys not entitled to raw prices.

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": {
      "thesisId": "<thesisId>"
    },
    "name": "dwlf_get_thesis_story"
  }
}

Input Schema

NameRequiredDescriptionDefault
replayNoAlso return `replay`: the plan as drawn told against what happened (open once a step is met or the thesis has an outcome). Larger: every plan and checkpoint.
revisionNoWhose plan as drawn to return (1..currentRevision). Default: the current revision.
thesisIdYesThesis ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A3.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so extensively: it discloses the output structure (beats, plan, current.routes, replay, replaySummary), entitlement restrictions ('Engine prices are withheld for keys not entitled to raw prices'), and strict behavioral rules for interpreting the data (routes are illustrations, never forecasts; no scoring of plans against price). This goes well beyond what any structured field provides.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense block of text that mixes output explanation with detailed presentation rules. It is front-loaded with the core idea, but the many prescriptive sentences ('Tell it as...', 'Never as...', 'always both together') make it overlong and harder to scan than necessary. Bullet points or a more structured layout would improve readability.

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?

Given the tool's complexity—a rich nested narrative output with no output schema—the description is thorough. It explains every major return section (beats, plan, current.routes, replay, replaySummary), caveats (illustration disclaimers, reconstruction notes), and how to interpret sensitive fields. Nothing essential for correct invocation or interpretation 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?

Schema description coverage is 100%, so the schema already documents all three parameters. The description adds some context for replay ('once a step is met or the thesis has an outcome') and revision ('Whose plan as drawn to return'), but these are mostly restatements of the schema or implicit in the output narrative. Baseline 3 is appropriate when the schema does the heavy lifting.

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: retrieving one thesis as a narrative in steps called 'beats'. It clearly describes the result, but it never mentions sibling tools like dwlf_get_thesis or explains when this narrative view is preferable to that one.

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?

The text gives detailed instructions on how to present the output (e.g., never as a forecast, never score a plan's routes) but provides no guidance on when to choose this tool over alternatives. It only implicitly implies usage through the replay parameter condition ('once a step is met or the thesis has an outcome'), which is not a full when-to-use statement.

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