Skip to main content
Glama

sdd-spec-impl

Record governed implementation task progress. In verified evidence mode, pass the test command as run.argv; the server runs it and records the observed exit code.

Instructions

Record governed implementation task progress. In verified evidence mode, pass the test command as run.argv; the server runs it and records the observed exit code.

Input Schema

NameRequiredDescriptionDefault
runNo
actionYes
blockerNo
evidenceNo
taskNumberYes
featureNameYesFeature name under .spec/specs
expectedRevisionYes
affectedArtifactsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv6.0.0
    • changedInput schema / allOf
      Previous value: -[
      -  {
      -    "if": {
      -      "properties": {
      -        "action": {
      -          "enum": [
      -            "record-red",
      -            "record-green",
      -            "complete"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "action"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "evidence"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "action": {
      -          "const": "complete"
      -        }
      -      },
      -      "required": [
      -        "action"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "affectedArtifacts"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "action": {
      -          "const": "block"
      -        }
      -      },
      -      "required": [
      -        "action"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "blocker"
      -      ]
      -    }
      -  }
      -]New value: +[
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "enum": [
      +            "record-red",
      +            "record-green",
      +            "complete"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "anyOf": [
      +        {
      +          "required": [
      +            "evidence"
      +          ]
      +        },
      +        {
      +          "required": [
      +            "run"
      +          ]
      +        }
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "const": "complete"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "required": [
      +        "affectedArtifacts"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "action": {
      +          "const": "block"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ]
      +    },
      +    "then": {
      +      "required": [
      +        "blocker"
      +      ]
      +    }
      +  }
      +]
    • addedInput schema / properties / run
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "argv": {
      +      "items": {
      +        "maxLength": 4096,
      +        "minLength": 1,
      +        "pattern": "^[^\\u0000\\r\\n]+$",
      +        "type": "string"
      +      },
      +      "maxItems": 64,
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "argv"
      +  ],
      +  "type": "object"
      +}
  2. First observedv5.0.0

TDQS

B3.1/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 burden, and it does disclose one non-obvious trait: the server itself executes the supplied command and records the observed exit code rather than trusting the caller. It omits other material behavior — that this is a state mutation gated by expectedRevision (optimistic concurrency), and what happens on a revision mismatch.

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?

Two sentences, front-loaded with the core purpose, and the mode-specific instruction follows immediately with no filler. It is efficient, though the brevity is partly under-specification rather than disciplined editing.

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

Completeness2/5

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

This is a complex tool: eight parameters, nested objects, an allOf conditional schema requiring evidence-or-run for record actions and affectedArtifacts for complete, no output schema, and no annotations. Against that complexity the description covers only one parameter and one mode, leaving the conditional requirements and the revision guard for the agent to reverse-engineer from raw schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 13% — only featureName is documented in the schema. Of eight parameters the description explains just run.argv's semantics, leaving expectedRevision (a concurrency guard whose misuse silently fails the call), the five action enum values and their lifecycle, taskNumber's dotted notation, affectedArtifacts, and blocker entirely unaddressed.

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 names a specific verb and resource ('Record governed implementation task progress'), which is distinguishable from a sibling like sdd-implement that writes code. It never explicitly contrasts itself with that sibling, so the differentiation is inferred from the word 'record' rather than stated.

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?

There is genuine conditional guidance for one path: 'In verified evidence mode, pass the test command as run.argv,' which tells the agent when to use the run object instead of evidence. However, nothing tells the agent when to choose this tool over sdd-implement or sdd-quality-check, and there are no exclusions or prerequisites.

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