Skip to main content
Glama

create_item_blueprint

Creates a new Neverwinter Nights item blueprint (.uti) in a module, optionally cloning a base or module item and applying overrides for properties and costs.

Instructions

Create a new item blueprint (.uti) in the module. Optionally clone from a base game or module item and apply overrides.

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": {
      "resref": "<resref>",
      "tag": "<tag>",
      "name": "<name>",
      "baseItem": "<baseItem>"
    },
    "name": "create_item_blueprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesItem tag
costNoItem cost in gold
nameYesItem display name
plotNoWhether item is a plot item
resrefYesNew item resref (filename without extension)
addCostNoAdditional cost modifier
chargesNoNumber of charges (default 0)
baseItemYesBase item type ID (e.g., 4 for sword, 40 for key)
stackSizeNoStack size (default 1)
propertiesNoJSON array of item properties. Each: {propertyName, subType, costTable, costValue, param1?, param1Value?}. PropertyName from itempropdef.2da. Common: 56=Enhancement Bonus (costValue=bonus 1-20), 16=Damage Bonus (subType=damage type, costTable=2, costValue=amount), 0=Ability Bonus (subType=ability 0-5, costValue=bonus)
descriptionNoItem description
sourceResrefNoBase item to clone from (e.g. 'nw_wswls001', 'nw_it_mpotion001')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.5/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 behavioral burden. It does disclose the artifact type (.uti file written into the module) and the clone-plus-overrides mechanic, but says nothing about what happens if the resref already exists, whether the blueprint is persisted immediately, or any permission requirements.

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?

Two short sentences, front-loaded with the core action and followed by the optional mode. Nothing is wasted or buried.

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 12-parameter mutation tool with no annotations and no output schema, the description is minimal: it omits collision/overwrite behavior, what the call returns, and any hint that properties is a JSON-encoded string. The rich schema compensates for parameter gaps, but behavioral gaps remain.

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 including the complex properties JSON is already documented in the schema. The description only reinforces the sourceResref cloning semantics; 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?

States a specific verb and resource ('Create a new item blueprint (.uti) in the module') and adds the optional clone-and-override mode. The resource is clearly distinct from the sibling create_*_blueprint tools, though no sibling is named explicitly.

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 clone-from-source option implies a decision point between scratch creation and cloning, but there is no explicit when-to-use guidance, no mention of when to prefer clone_resource or add_item_property for later edits, and no stated preconditions.

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