Skip to main content
Glama

Verify implementation

verify_implementation

Runs lint, typecheck, test, and build commands and returns real evidence—exit code, duration, and output—while reporting absent checks instead of fabricating results.

Instructions

Run lint/typecheck/test/build commands and return real evidence (exit code, duration, output). Uses the spec's commands, explicit commands, or auto-detected project scripts. Never fabricates results — absent checks are reported as such.

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": "verify_implementation"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoProject root directory. Defaults to the MCP client's current working directory.
specIdNoTaskSpec id whose verification commands should run.
commandsNoExplicit commands to run instead of the spec's or auto-detected ones.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/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 substantial work: it discloses the returned evidence (exit code, duration, output) and asserts that results are never fabricated and absent checks are reported as such. It omits side effects (build/test may write to the filesystem), permission needs, and how failures or timeouts are handled.

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 sentences, front-loaded with the action and the evidence returned, followed by source resolution and the no-fabrication guarantee. No filler or repetition.

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?

No output schema exists, and the description compensates by naming the returned fields and the empty-check behavior. Missing details about failure handling (fail-fast vs continue) and timeouts keep it from being fully complete for a command-execution tool.

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, but the description adds real meaning: it explains that commands override the spec's commands, which in turn override auto-detection, and that auto-detection is the fallback when neither is provided. That resolution logic is not encoded in the schema.

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?

States a concrete verb and resource — run lint/typecheck/test/build commands and return evidence — which is clearly distinct from review-oriented siblings such as review_implementation. It does not name a sibling explicitly, so it stops just short of the top band.

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?

Describes the command-source resolution order (spec commands, then explicit commands, then auto-detected project scripts), which tells the agent exactly when to supply specId vs commands vs neither. No explicit exclusions or named alternatives are given, so it is clear context rather than full when/when-not guidance.

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