Skip to main content
Glama

ivd_scaffold

Create new intent artifacts in their canonical locations, co-locating them with code or docs so intent and implementation stay aligned.

Instructions

Create a new IVD intent artifact in the correct canonical location (co-locate with implementation). Works for code AND non-code artifacts (documentation, research, books). For standalone docs (runbooks, specs, guides), use module_path to set docs/ location. Before scaffolding: use task-level only for critical functions (10-20%). For non-default repos, pass project_root.

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": {
      "level": "<level>",
      "name": "<name>"
    },
    "name": "ivd_scaffold"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName for the artifact (e.g., 'lead_qualifier')
levelYesIntent level
module_pathNoRequired for module/task level (e.g., 'agent/marketing')
project_rootNoOptional path to repo root.
coordinator_pathNoOptional for workflow level; create alongside coordinator instead of workflows/

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.2

TDQS

A3.8/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 and does disclose placement behavior (co-locate with implementation, canonical location). It does not state what happens on name collision, whether existing files are overwritten, required permissions, or what the tool returns after creating the artifact.

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 purpose then progressively narrower guidance; every clause covers a distinct case (non-code artifacts, docs placement, level choice, project_root). The 'Before scaffolding: use task-level only for critical functions (10-20%)' fragment is terse to the point of being slightly cryptic.

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 five-parameter creation tool with no annotations and no output schema, the description covers location semantics, level guidance, and repo targeting, which is most of what an agent needs. Gaps remain around post-creation outcome and the unmentioned coordinator_path parameter.

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 baseline is 3, and the description adds real meaning: module_path is reframed as the mechanism for setting docs/ location on standalone docs, and project_root is tied to non-default repos. coordinator_path is never mentioned, which keeps it below a 5.

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 specific verb and resource: 'Create a new IVD intent artifact in the correct canonical location,' and clarifies scope by noting it works for code AND non-code artifacts. It never names or contrasts with plausible alternatives such as ivd_import_spec or ivd_load_template, so sibling differentiation is left implicit.

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?

Gives concrete conditional guidance: use module_path to place standalone docs under docs/, restrict task-level to critical functions (10-20%), and pass project_root for non-default repos. It stops short of stating when NOT to use this tool versus other creation/import siblings.

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