Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_mark_thesis_condition_met

Records a user-judged manual condition as met on a thesis, with an optional note, so the next nightly check picks it up. Only manual conditions can be marked once.

Instructions

Mark one of a thesis's MANUAL conditions met (once), with an optional note: something only the user can judge (e.g. "the news I was waiting for came out"). The nightly check records it on its next run. Only manual conditions can be marked (400 NOT_A_MANUAL_CONDITION); a second mark is 409 ALREADY_MARKED.

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

Input Schema

NameRequiredDescriptionDefault
noteNo
thesisIdYesThesis ID
conditionIdYesThe manual condition's id (from dwlf_get_thesis).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A4.4/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 well: it discloses the deferred effect ('the nightly check records it on its next run'), the one-shot nature, and two error codes (400 NOT_A_MANUAL_CONDITION, 409 ALREADY_MARKED). It stops short of saying what the call returns or what permissions are needed, and there is no output schema to fill that gap.

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

Conciseness5/5

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

Three tight sentences: purpose and example first, timing second, failure modes last. Every sentence adds information an agent needs, and nothing is repeated from the schema.

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 mutation tool with no annotations and no output schema, the description covers trigger condition, eligibility restriction, idempotency, deferred timing, and error codes. The main remaining gap is the shape of a successful response, which matters because there is no output schema to describe it.

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 67%, with the note field undocumented in the schema; the description compensates by explaining what a note should capture ('something only the user can judge'). conditionId is additionally pointed at dwlf_get_thesis, which is the practical way to obtain it.

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?

States a specific verb (mark met) plus the resource (one of a thesis's MANUAL conditions) and scopes it with 'once' and 'with an optional note'. The manual-only restriction separates it from any automated fire/ack flow, so an agent can tell what this tool does without opening the schema.

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 a concrete usage criterion: it is for something only the user can judge, with an example ('the news I was waiting for came out'), and it warns that only manual conditions qualify. It does not name a sibling as the alternative for non-manual conditions, which keeps it short of a 5.

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