Skip to main content
Glama

create_module

Creates a new ERPNext module, with optional custom flag and app assignment, to organize custom application development.

Instructions

Create a new Module in ERPNext

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": {
      "module_name": "<module_name>"
    },
    "name": "create_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
customNoIs custom module (1/0, optional)
app_nameNoApp name (optional)
module_nameYesName of the module

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, and it discloses almost nothing. It does not say what side effects creation has (filesystem artifacts, app registration, hooks), whether an existing module name is rejected or overwritten, or what permissions are required.

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?

A single short sentence with zero wasted words, and the verb-and-resource framing is front-loaded. Its brevity is efficient even though it under-specifies content.

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 three-parameter mutation tool with no annotations and no output schema, the description should cover effects, naming constraints, and failure modes. None of that is present, so it is inadequate relative to the tool's complexity.

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% and each of the three parameters is documented inline, so the baseline is 3. The description adds no meaning beyond the schema, such as valid formats for module_name or the implications of the custom flag.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ("Create a new Module in ERPNext"), which is more than a tautology. However, it gives no indication of what an ERPNext "Module" means here or how this differs from the nearby scaffold_module tool, leaving the agent to guess which creation path applies.

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 when-to-use guidance at all: no prerequisites, no exclusions, and no mention of the obvious alternative of scaffolding a module. The agent must infer usage entirely from the tool name.

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