Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_review_thesis

Record the user's answer to a challenged thesis: keep it, revise fields with a dry-run check, or close it with an outcome.

Instructions

Record the user's answer to a thesis (usually a challenged one): keep (unchanged; clears the challenge), revise (a new revision: send expectedRevision and the fields to change, as dwlf_revise_thesis) or close (ends it, with an outcome). Record the user's own answer; do not choose it for them. For revise, dryRun: true checks the revision first (as dwlf_revise_thesis), writing nothing.

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

Input Schema

NameRequiredDescriptionDefault
stepsNoOrdered: step n+1 is checked only after step n is met. Limits: dwlf_list_thesis_condition_types.
titleNoOne line: what you are waiting for.
answerYes
dryRunNoFor revise only: check the revision as it would be saved; nothing is written.
contextNoYour assessment, why you are waiting. Replayed verbatim in every alert.
outcomeNoFor close: what the user did, in their words.
nextStepNoWhat you intend to look at when it fires (your words).
thesisIdYesThesis ID
invalidationNoAny one of these happening marks the thesis challenged (review it). Optional. window_closes goes only here.
allowAlreadyMetNoFor revise: save even if a step condition is already true now.
expectedRevisionNoFor revise: the currentRevision you read.

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, the description carries the full burden and does reasonably well: it discloses that keep clears the challenge, close ends the thesis, revise creates a new revision, and dryRun writes nothing. It omits what a stale expectedRevision does and what the call returns, which are meaningful gaps for a multi-mode mutation.

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 verb and the mode breakdown, and every sentence contributes (mode semantics, the don't-choose-for-them rule, dryRun). The heavy parenthetical packing makes it dense but not wasteful.

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 an 11-parameter nested mutation with no annotations and no output schema, the description covers the decision logic and the safety-relevant dryRun path. It leaves return values and revision-conflict behavior unexplained, which an agent would want before handling failures.

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 91%, so the baseline is 3; the description adds real meaning by mapping the answer enum to concrete state transitions and by explaining expectedRevision's role and dryRun's no-write semantics. The remaining nested condition/outcome parameters are left to 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?

States a specific verb and resource ("Record the user's answer to a thesis") and enumerates the three answer modes with their effects, so the agent knows what the call does. The relationship to the sibling dwlf_revise_thesis stays slightly implicit — it says the revise payload is "as dwlf_revise_thesis" but never says plainly which tool to call for a revision.

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?

Gives clear context ("usually a challenged one") and an explicit behavioral constraint that the agent must record rather than choose the user's answer. It also scopes dryRun to revise only. It does not state when to prefer this tool over dwlf_revise_thesis or dwlf_ack_thesis_fires, so alternatives are only implied.

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