Skip to main content
Glama

scaffold

Generates rendered project files from skill templates: provide a category, name, and optional variables to get boilerplate components or services ready to write into your project.

Instructions

Generate project files from skill templates. Provide a category and name, and this tool returns rendered template files you can write to your project.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName for the generated component/service (e.g. 'user-auth', 'PaymentForm')
categoryYesSkill category to scaffold from (e.g. 'microservices', 'frontend')
variablesNoAdditional template variables as key-value pairs (e.g. {"port": "3001", "database": "postgres"})

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 load. It does add one valuable behavioral fact: this tool renders and returns files rather than writing to disk, so the agent must perform the write. It omits error behavior, whether it overwrites conflicts, and any permission or rate-limit constraints.

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 tightly written sentences with the return-value behavior front-loaded after the purpose. No filler, though it could carry one more clause of guidance without bloating.

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

Completeness3/5

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

For a template-rendering tool with no output schema and no annotations, the definition should explain what the returned file list looks like and how variables substitute. It covers purpose and the write-it-yourself caveat but leaves the output shape and variable behavior underspecified.

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 coverage is 100%, so the schema already documents category, name, and the nested variables object with an example. The description restates category and name but says nothing about the optional variables map or how its keys map into templates.

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?

Names a concrete verb+resource pair: 'Generate project files from skill templates.' It is clearly distinct from siblings like get_skill or list_skills, though it never explicitly names them as alternatives.

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?

The description tells the agent the two inputs needed ('Provide a category and name') but gives no when-to-use/when-not guidance, no suggestion to inspect a skill first via get_skill, and no mention of failure modes for unknown categories.

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

Deploy Server

Other Tools