Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

scaffold

Read-onlyIdempotent

Generate boilerplate code tailored to your project's detected conventions, covering React components, Express routes, tests, services, hooks, and utils. Returns code as text without writing files to disk.

Instructions

Generate boilerplate code based on detected project conventions. Returns generated code as text output — does NOT write files to disk. Templates: component (React), route (Express), test, service, hook, util. Auto-detects TypeScript, testing framework, CSS framework, and ORM.

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

Input Schema

NameRequiredDescriptionDefault
nameNoName for the generated code (e.g. "UserProfile", "auth")
actionYes"list" to see available templates, "generate" to create code
templateNoTemplate name: component, test, route, service, hook, util
target_fileNoFor test template: path to the file being tested

Output Schema

NameRequiredDescriptionDefault
dataYes
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses two important behaviors: output is returned as text and never persisted, and the tool auto-detects TypeScript, test framework, CSS framework, and ORM by inspecting the project. What it omits is fallback behavior when conventions cannot be detected.

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?

Three short sentences, front-loaded with purpose, then the critical non-persistence constraint, then the template list and detection behavior. No filler and no repetition of the tool name.

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?

With an output schema present, return formatting need not be explained, and the description still covers the text-not-file contract plus detection scope. It could say whether detection failure errors out or falls back to defaults, which matters for an agent before calling with action=generate.

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 every parameter is already documented, including the list/generate enum and target_file's purpose. The description adds only marginal meaning by qualifying component as React and route as Express; it does not explain name constraints or how target_file affects generated test content.

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?

"Generate boilerplate code based on detected project conventions" pairs a specific verb with a specific resource, and the enumeration of templates (component, route, test, service, hook, util) makes the output concrete. It is unmistakably a code generator, which no sibling tool in the list is.

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?

The description makes the use case clear (scaffolding new boilerplate from project conventions) and implicitly routes an agent that needs persisted files elsewhere by stating it does NOT write to disk. It stops short of explicit when-not guidance or naming an alternative tool, so it is clear context without exclusions.

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