Skip to main content
Glama

confirm_doc

Record your review verdict on a document after reading it, marking it as still true, outdated, or a record of a moment, so stale docs are tracked and re-review dates set.

Instructions

Record your review verdict on a document, after reading it. Three verdicts:

  • holds: still true. It leaves the stale audit, twice as long each time it is confirmed again in a row (next_review gives the date).

  • outdated: needs an update you are not making now. It stays in stale's outdated until someone edits it.

  • record: it tells a moment (minutes, a recap, a review), so it never goes stale and reads as true at its date (as_of). A verdict is bound to the text reviewed: any edit clears it. It is committed to the mind and takes edit rights on the doc. If you know the fix, edit_doc instead: an edit counts as a look too. Use stale to find the docs due for a review.

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": {
      "path": "<path>",
      "verdict": "<verdict>"
    },
    "name": "confirm_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
aiNoYour AI family in lowercase (claude, chatgpt, gemini), not the model name. Attributes the verdict; omitted only when relaying the user's own decision from an app view.
noteNoA one-line reason, stored with the verdict.
pathYesThe doc reviewed, e.g. notes/cdc.md.
verdictYesholds: still true; outdated: needs an update; record: the record of a moment.

Output Schema

NameRequiredDescriptionDefault
pathYes
as_ofNo
verdictYes
in_a_rowNo
next_reviewNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / as_of
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv2.7.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare openWorldHint=false and destructiveHint=false; the description goes well beyond them by disclosing that the verdict is bound to the reviewed text and is cleared by any edit, that it is 'committed to the mind', that it requires edit rights on the doc, and how the holds schedule extends and when `next_review`/`as_of` are set. These are exactly the consequences an agent needs before invoking a 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 action and cleanly bulleted by verdict, which matches the decision the caller must make. The 'holds' bullet is noticeably muddled ('It leaves the stale audit, twice as long each time it is confirmed again in a row') and costs a read to decode, keeping it below top marks.

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?

The tool is moderately complex (bound verdict, permission requirement, downstream scheduling effects), and the description covers all of it, plus the alternative path via `edit_doc` and discovery via `stale`. An output schema exists, so the absence of return-value detail is not a 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 would be 3. The description earns a step up by explaining the downstream consequence of each `verdict` enum value (holds → doubled re-audit interval, outdated → sits in stale's `outdated` list, record → never goes stale), which is more than the enum text alone conveys. The `ai` and `note` parameters are left entirely to the schema, which keeps it from a 5.

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?

Opens with a specific verb+resource: 'Record your review verdict on a document, after reading it.' It also implicitly scopes itself against siblings by naming `edit_doc` and `stale`, so an agent can tell this is the review-commit tool, not the fix-the-doc tool.

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?

Explicitly states when to use it ('after reading it'), when not to ('If you know the fix, edit_doc instead'), and how to find candidates ('Use stale to find the docs due for a review'). The three-verdict breakdown also functions as decision guidance for which variant to pick.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.