Skip to main content
Glama

Review implementation

review_implementation

Evaluate current changes against a saved TaskSpec to assess scope compliance, check evidence, per-criterion results, risks, and unverified items, then return a readiness verdict.

Instructions

Evaluate the current changes against a saved TaskSpec: scope compliance, check evidence, per-criterion assessment, risks, and explicitly unverified items. Returns a verdict of ready-for-human-review, needs-changes, or blocked.

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": {
      "specId": "<specId>"
    },
    "name": "review_implementation"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoProject root directory. Defaults to the MCP client's current working directory.
specIdYesTaskSpec id saved under .promptpilot/specs/.
runChecksNoAlso run the spec's verification commands (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 the returned verdict taxonomy and that unverified items and risks are surfaced, which is real added context. It does not state whether the tool is read-only, whether it writes any artifact, or that runChecks (per the schema) executes commands with side effects, leaving the safety profile ambiguous.

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?

Two sentences, zero filler, with the evaluated dimensions front-loaded before the return-value sentence. Every clause contributes either scope or output information.

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?

There is no output schema, so the description appropriately explains what comes back (dimensions plus a three-value verdict). For a three-parameter analysis tool this is nearly sufficient; the main gap is the absence of any note on side effects or execution behavior when checks are run.

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 all three parameters are already documented in the schema, including runChecks and its default. The description's only added semantic is that the spec is 'saved' and that evaluation targets 'current changes', which is marginal beyond what the schema provides. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb and resource ('Evaluate the current changes against a saved TaskSpec') and enumerates the evaluated dimensions: scope compliance, check evidence, per-criterion assessment, risks, and unverified items. It does not explicitly distinguish itself from the similarly named sibling check_change_scope or verify_implementation, so the agent must infer the boundary from the enumerated outputs rather than from an explicit statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the 'ready-for-human-review' verdict suggests this is the pre-review gate after implementation work. There is no explicit when-to-use guidance, no conditions selecting this over verify_implementation or check_change_scope, and no statement of prerequisites such as an existing spec.

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