Skip to main content
Glama

Vision Driven Design (VDD) MCP Server

Implement Task

vdd_implement
Read-onlyIdempotent

VDD Phase 7b: Prepare one task for implementation — loads constitution, spec, plan, and contracts and returns the implementation instruction plus the impact-chain commit-message format. Read-only; the tool writes nothing — the host agent performs the code edits, verification, and commit. Pass taskId (e.g. "TASK-003") from the task returned by vdd_get_next_task. Run one task at a time, after vdd_get_next_task; for read-only inspection of tasks use vdd_get_next_task instead. Parameter relationships: taskId comes from vdd_get_next_task (format TASK-###); projectRoot must match the root used by earlier phases. On the hosted (stateless) endpoint, pass artifactFiles (constitution.md, spec.md, plan.md, contracts/, tasks.md) so the tool can embed the real task text and its AC/contract links; without it the tool returns a delegation envelope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskIdYesTask ID to implement, format TASK-### (e.g., "TASK-003"); must be an id listed in the feature's tasks.md (see vdd_get_next_task)
projectRootNoProject root: directory that constitution.md and the vdd/ folder are written to and resolved against. Relative paths resolve from the current working directory; keep the same value across every phase (default ".").
artifactFilesNoMap of vdd/-relative artifact path → full file text, for the hosted (stateless) endpoint, which cannot read the caller filesystem; without it the tool returns a delegation envelope

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoError message when the phase fails
_phaseNoVDD phase that produced this result
outputNoAdditional structured phase output
successYesWhether the phase completed successfully
artifactNoPrimary artifact produced or returned
gateResultNoQuality-gate result, when the phase runs a gate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, but the description adds real context beyond them: it draws the side-effect boundary (the host agent, not the tool, performs edits, verification, and commit) and discloses a degraded mode — without artifactFiles the tool returns a delegation envelope rather than real task text. That fallback behavior is not inferable from annotations or schema.

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 phase and behavior, then constraints, then parameter relationships — a sensible ordering with no filler sentences. Minor redundancy: vdd_get_next_task is invoked twice in adjacent clauses ('after vdd_get_next_task' and 'use vdd_get_next_task instead'), which could be tightened.

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?

For a 3-parameter, nested-object tool with an output schema, the description covers everything an agent needs: purpose, sequencing, exclusions, the stateless-endpoint requirement, and the failure mode. Since an output schema exists, it correctly does not waste space describing return values in detail.

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 description coverage is 100%, so the baseline is 3; the description earns above that by documenting parameter relationships the schema does not state — taskId's provenance from vdd_get_next_task and the TASK-### format, the requirement that projectRoot match earlier phases, and the concrete artifact list (constitution.md, spec.md, plan.md, contracts/, tasks.md) expected in artifactFiles.

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?

States a specific verb and resource (prepare one task for implementation) and names exactly what it loads (constitution, spec, plan, contracts) and returns (implementation instruction plus impact-chain commit-message format). It explicitly distinguishes itself from the closest sibling, vdd_get_next_task, so an agent can route between them without opening either schema.

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?

Gives ordering ('after vdd_get_next_task'), concurrency guidance ('run one task at a time'), an explicit exclusion ('for read-only inspection of tasks use vdd_get_next_task instead'), and a conditional branch for the hosted endpoint. This is about as complete a when/when-not/alternative statement as a tool description gets.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.