Skip to main content
Glama

add_item_property

Idempotent

Adds a property to a Neverwinter Nights item blueprint's PropertiesList using an itempropdef.2da row or a text name search.

Instructions

Add a property to an item blueprint's PropertiesList. Use integer row from itempropdef.2da, or text name to search.

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

Input Schema

NameRequiredDescriptionDefault
param1NoParam1 table index (default 255 = no param)
resrefYesItem blueprint resref
subTypeNoSubtype value (default 0)
costTableNoCost table index
costValueNoCost value (default 0)
param1ValueNoParam1 value (default 0)
propertyNameYesProperty ID (integer row from itempropdef.2da) or text to search Label column

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.2/5.0
Behavior2/5

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

Annotations supply only idempotentHint, leaving mutation semantics undocumented. The description does not say what happens if the property already exists on the blueprint, whether param/subtype/cost combinations are validated, whether the referenced blueprint must already exist, or what the call returns or throws on an unknown property name.

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?

Two sentences, no filler, with the core action first and the input convention second. It is efficient, though the 2da jargon could be slightly clearer for an agent unfamiliar with the data files.

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 seven-parameter mutation tool with no output schema and thin annotations, the description covers purpose and the key lookup mechanism but omits duplicate-handling, failure modes, and preconditions. Those are the gaps an agent would most need before calling it.

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 the schema already documents all seven parameters including the integer-row-or-text lookup for propertyName. The description restates that same propertyName convention and adds nothing about param1, param1Value, subType, costTable, or costValue, so it only matches the baseline.

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: adding a property to an item blueprint's PropertiesList. An agent can distinguish it from remove_item_property and clear_item_properties by the verb alone, though the description never names those siblings or scopes the operation further.

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 only guidance is input-format oriented ('Use integer row from itempropdef.2da, or text name to search'), which tells how to fill propertyName but not when to choose this tool over alternatives or what prerequisites (an existing blueprint) must hold. Usage is implied by the tool name rather than stated.

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