Skip to main content
Glama

Vision Driven Design (VDD) MCP Server

Initialize Constitution

vdd_init
Read-onlyIdempotent

VDD Phase 0: Generate constitution.md at the project root — the immutable tech stack, conventions, security constraints, naming rules, and banned patterns that every later phase obeys. Overwrites any existing constitution.md. Run this first, before vdd_vision; to change a constitution that already exists, use vdd_amend instead of re-running this. projectRoot sets the directory constitution.md is written to and that later phases resolve every vdd/ artifact against (default "."). Parameter relationships: projectRoot defaults to "." and must be the same root every later phase resolves against.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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 ".").

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

A3.7/5.0
Behavior1/5

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

The description plainly describes a write: 'Generate constitution.md' and 'Overwrites any existing constitution.md.' This directly contradicts the annotation readOnlyHint=true, which claims the tool does not modify state. This is a serious inconsistency between the description and the declared safety profile.

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 'VDD Phase 0' and the artifact produced, and the ordering/alternative guidance is compact. The final 'Parameter relationships' sentence largely repeats the parenthetical about projectRoot, so there is minor redundancy but no real bloat.

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?

For a phase-0 initialization tool with an output schema available, the description covers purpose, overwrite behavior, ordering, and the sibling to use for changes. The one significant gap is that its stated write behavior conflicts with the readOnly annotation, leaving the agent uncertain about the tool's actual side effects.

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 the schema already fully documents projectRoot, its default, and path-resolution behavior. The description restates the same facts ('projectRoot sets the directory...') and adds only the cross-phase consistency note, which the schema also mentions. Baseline 3 is appropriate 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Generate constitution.md at the project root') and enumerates exactly what the artifact contains (tech stack, conventions, security constraints, naming rules, banned patterns). It also distinguishes itself from siblings by naming vdd_vision (run after) and vdd_amend (for modifying). An agent can identify this tool's role immediately.

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?

Explicitly says when to run it ('Run this first, before vdd_vision'), when not to re-run it, and which alternative to use instead ('to change a constitution that already exists, use vdd_amend'). Both the ordering constraint and the sibling routing are stated without inference.

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.