Skip to main content
Glama

pg_verify

Runs a slot’s deterministic verification recipe (full or quick), then refreshes CODE_GRAPH.md and REVIEW_DIFF.html so you can validate workspace changes and review results.

Instructions

Run the slot's registered deterministic verification recipe ('full' or 'quick') and refresh CODE_GRAPH.md + REVIEW_DIFF.html.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pg_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotNoWorkspace slot name (optional if only one slot is open or `--slot` default is set).
sub_idNoOptional sub-worktree ID to verify instead of main slot worktree.
recipe_idNoVerification recipe tier (default: full).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.7.1

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the tool mutates/replaces CODE_GRAPH.md and REVIEW_DIFF.html, and that the recipe must be 'registered', hinting at a prerequisite. However, it omits permissions, failure behavior, whether prior artifacts are overwritten, and what the tool returns, leaving material behavioral gaps.

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 a single, front-loaded sentence with no filler. It immediately states the action, the recipe tiers, and the artifacts refreshed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations, no output schema, and three optional parameters, the description covers the core action and side effects but leaves out prerequisites, return value, and guidance on choosing between recipes or sibling tools. It is adequate but not fully complete.

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 parameter meaning is primarily carried by the schema. The description adds minor context by naming the two recipe tiers and tying the operation to a slot, but does not clarify slot versus sub_id behavior or when sub_id should be used.

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: run the slot's registered deterministic verification recipe, with 'full' or 'quick' tiers. It also names the concrete artifacts refreshed: CODE_GRAPH.md and REVIEW_DIFF.html. It does not explicitly distinguish itself from nearby tools such as pg_review or pg_test_target, so it falls short of a 5.

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 description implies the tool is used to verify a slot, but gives no explicit when-to-use or when-not-to-use guidance and names no alternatives. It does not say when to choose this over pg_review, pg_test_target, pg_diagnose, or pg_detect_recipes, despite those likely being relevant alternatives.

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