Skip to main content
Glama

code.scaffold

Generates project skeletons from templates for Python CLIs, Home Assistant integrations, and MCP servers, providing a structured starting point for new codebases.

Instructions

Generate a project skeleton. Templates: python-cli, ha-integration, mcp-server.

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": {
      "name": "<name>"
    },
    "name": "code.scaffold"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesProject / integration display name.
pathNoParent directory inside the workspace.
templateNopython-cli

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not say where files are created, what happens if the target directory already exists, whether existing files are overwritten, or what the call returns, all of which matter for a mutation tool that writes to disk.

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?

Two short sentences with the action front-loaded and zero filler. Nothing is wasted, though the brevity is also the source of the other gaps.

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?

For a scaffold/write tool with no annotations and no output schema, the definition is too thin: an agent knows what it generates but not where, with what side effects, or what it gets back. The complexity here warrants at least a note on output location and overwrite behavior.

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 coverage is moderate (67%), and the description only restates the template enum already present in the schema, adding no meaning. It says nothing about how 'path' interacts with the workspace root or how 'name' is used in the generated structure.

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 ('Generate a project skeleton') and enumerates the three supported templates. It is clear what the tool produces, but it does not distinguish itself from siblings such as code.write or code.run, leaving an agent to infer that this is for bootstrapping rather than modifying code.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance beyond the implied 'you want a new project'. No alternatives are named, so an agent cannot tell whether to scaffold here versus writing files directly with code.write.

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