Skip to main content
Glama

create_store_blueprint

Create a .utm store blueprint with custom pricing, inventory, and gold for placement and scripted opening.

Instructions

Create a new store blueprint (.utm) with custom pricing and inventory. Place with place_store and open via script (OpenStore).

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

Input Schema

NameRequiredDescriptionDefault
tagYesStore tag
nameYesStore display name
markUpNoBuy markup percentage (100 = no markup, 120 = 20% markup, default 100)
resrefYesNew store resref
markDownNoSell markdown percentage (100 = no markdown, 80 = 20% markdown, default 100)
inventoryNoJSON array of inventory items: [{resref: 'nw_it_mpotion001', infinite?: true, category?: 0}]. Category: 0=Armor, 1=Weapons, 2=Potions/Scrolls, 3=Wands/Magic, 4=Misc (default 4). Items are resolved from module or base game.
storeGoldNoGold on hand (-1 = unlimited, default -1)
maxBuyPriceNoMax buy price (0 = unlimited, default 0)
sourceResrefNoBase store to clone from (e.g. existing UTM resref)
identifyPriceNoIdentification cost (default 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It usefully explains the lifecycle (a blueprint is inert until placed and opened via script), but says nothing about overwrite behavior on an existing resref, where the .utm is written, or whether sourceResref cloning overrides the other pricing/inventory fields.

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 sentences, zero filler, with the creation purpose front-loaded and the next-step hint second. Nothing repeats the name or title.

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 10-parameter mutation tool with no annotations and no output schema, the description covers purpose and downstream workflow but leaves gaps: no statement of whether the created blueprint's resref is returned, how sourceResref interacts with explicit pricing, or what happens on a resref collision.

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 every one of the 10 parameters has an inline explanation, including defaults and units for markUp/markDown. The description only restates 'pricing and inventory' generically, adding no meaning beyond the schema, so the baseline of 3 applies.

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?

States a specific verb ('Create'), a specific resource ('store blueprint (.utm)'), and the configurable surface ('custom pricing and inventory'). The resource noun alone separates it from sibling creators like create_creature_blueprint and create_item_blueprint.

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?

Explicitly routes the agent to the follow-on tool ('Place with place_store and open via script (OpenStore)'), which is real workflow guidance. It stops short of saying when to prefer this over cloning an existing store via sourceResref or clone_resource, 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.

Deploy Server

Other Tools