Skip to main content
Glama

scaffold_app

Generate the directory and file structure for a new custom ERPNext/Frappe app using the provided app name.

Instructions

Scaffold a new custom app (returns structure)

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": {
      "app_name": "<app_name>"
    },
    "name": "scaffold_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_nameYesApp name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. The parenthetical "(returns structure)" hints at the response shape, but nothing says whether files or records are created, whether the name must be unique, whether existing apps are overwritten, or what permissions are required for a creation operation.

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?

One short, front-loaded sentence with no filler. The parenthetical return note is compact, though its wording is vague enough that it earns less than full marks.

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 creation tool with no annotations and no output schema, the description is thin: it never explains what "scaffold" produces, where it is written, or what side effects occur. An agent could call it but could not predict the result or its risks.

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 description coverage is 100%, so the single parameter is documented structurally and the baseline is 3. The description adds no extra meaning about app_name (format, uniqueness, naming constraints) beyond the schema's "App name" label.

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 gives a specific verb ("Scaffold") and resource ("a new custom app"), so an agent can tell it apart from sibling tools like create_document or create_module. It stops short of explicitly contrasting with the closest sibling, scaffold_module, so it lands at 4 rather than 5.

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 statement of when to use this versus alternatives such as scaffold_module or create_module, nor any prerequisite or exclusion. The agent must infer usage entirely from the verb and the word "app".

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