Skip to main content
Glama

Verify "done"

verify_done

Prove a task is genuinely complete by running the given test command and verifying claimed file changes appear in git. Returns PASS only when tests pass and every claimed path changed.

Instructions

Prove a task is actually complete before trusting an agent's "done" claim. Runs the given test command and, if the directory is a git repo, diffs the actual changes. Returns PASS only if the tests pass (exit 0) and — when expect_changed is provided — every claimed path actually changed. This is the gate between "agent says done" and "I believe it."

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoAbsolute path to the project directory. Defaults to the server's working directory.
claimNoThe agent's stated 'done' claim, echoed back in the verdict for the human reviewer.
test_commandYesThe command that proves real behavior, e.g. 'npm test' or 'pytest -q'. Runs in the target directory.
expect_changedNoPaths the agent claims it changed; verify_done checks each actually appears in git status.
timeout_secondsNoMax seconds to allow the test command to run before it is killed and the verdict is FAIL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonsYes
verdictYes
evidenceYes
timed_outYes
test_passedYes
changed_filesYes
test_exit_codeYes
missing_expected_changesYes
Behavior4/5

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

Annotations already indicate non-read-only, open-world, and non-idempotent behavior. The description adds valuable context by specifying the exact PASS/FAIL logic (test exit 0 plus all expect_changed paths appearing in git status) and the conditional git diff behavior. It does not contradict annotations and goes beyond what annotations provide.

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?

The description is three sentences, front-loaded with the core purpose, followed by the mechanism and a memorable metaphor. Every sentence earns its place with no redundancy or filler. Excellent structure.

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?

Given the tool's complexity (5 parameters, output schema, annotations), the description covers the essential behavior: running tests, diffing changes, and the PASS condition. It correctly omits output schema details since an output schema exists. Minor gaps like handling non-git repos are implicitly covered ('if the directory is a git repo'). Complete enough for an agent to select and invoke correctly.

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. The description adds significant meaning to 'expect_changed' by explaining that each claimed path must appear in git status for PASS, and clarifies the role of the test command. This goes beyond the schema's simple field descriptions, justifying a 4.

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?

The description clearly states the tool's purpose: proving a task is complete by running tests and diffing changes. It uses a specific verb ('prove'), names the resource (task completion), and provides a vivid metaphor ('the gate between agent says done and I believe it'). While it doesn't explicitly distinguish from the sibling 'check_repro', its purpose is unambiguous and specific enough to stand alone.

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?

The description clearly conveys when to use this tool: any time you need to validate an agent's 'done' claim. It provides strong context through the gate metaphor, but does not explicitly mention alternatives or exclusion criteria (e.g., when to use check_repro instead). Given clear context without exclusions, this aligns with a 4.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Johnny-Martinez/fleet-of-one-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server