Skip to main content
Glama

create_module

Creates a new empty Neverwinter Nights module from the standard template, including default scripts, factions, and a starter area, then saves and loads it.

Instructions

Create a new empty module (.mod) from the standard template. Includes default event scripts, factions, and palette files. Creates a small starter area for the entry point. Saves to NWN_FOLDER_USER/modules/ and loads the module.

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

Input Schema

NameRequiredDescriptionDefault
nameYesModule display name (e.g., 'The Lost Tomb')
filenameYesModule filename without .mod extension (e.g., 'the-lost-tomb')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that default event scripts, factions, and palette files are generated, that a starter area is created for the entry point, that output goes to NWN_FOLDER_USER/modules/, and that the module is loaded afterwards. Missing is collision/overwrite behavior if the filename already exists, which matters for a write 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?

Four short sentences, front-loaded with the core action and followed by side effects and the save/load post-condition. Each sentence contributes something; the formatting is easy to scan. Slightly more detail than strictly necessary, but none of it is padding.

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?

For a two-parameter creation tool with no annotations and no output schema, the description covers template contents, generated artifacts, save location, and the post-create load. The main gap is failure behavior on filename conflicts, which an agent might reasonably need before calling.

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 both parameters are already documented, including the .mod extension note and examples. The description reinforces the destination directory but adds no new syntax or format meaning beyond the schema. Baseline 3 is appropriate.

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 and resource: 'Create a new empty module (.mod) from the standard template.' It also clarifies that a starter area is generated, distinguishing it from the more narrowly scoped siblings. It does not explicitly contrast itself with load_module or repack_module, but the creation semantics are unambiguous.

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?

Usage is implied: this is the step that scaffolds a new module from a template and then loads it. There is no explicit guidance on when to use this versus load_module for an existing module, nor any prerequisites or warnings about existing filenames. The agent can infer the context but must do so itself.

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