Skip to main content
Glama

add_items_to_container

Idempotent

Add items to a placeable container's inventory in a Neverwinter Nights module area, resolving item blueprints from the module or base game.

Instructions

Add items to a placeable container's inventory. Resolves item blueprints from module or base game.

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": {
      "area": "<area>",
      "containerTag": "<containerTag>",
      "items": "<items>"
    },
    "name": "add_items_to_container"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYesArea resref
itemsYesJSON array: [{"resref": "nw_it_mpotion001", "quantity": 1}]
containerTagYesTag of the placeable container

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.6/5.0
Behavior3/5

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

The only annotation is idempotentHint=true, so the description carries most of the burden. It adds the genuinely useful constraint that item blueprints are resolved from the module or base game, but it does not say what happens when a resref fails to resolve, how quantities stack into existing inventory, or how repeated calls interact with the idempotency hint.

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 front-loaded sentences with zero filler: the action and resource come first, and the blueprint-resolution rule follows as supporting context. Nothing is redundant with the title or schema.

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?

With three fully documented required parameters and no output schema, the description is close to adequate, but it omits failure behavior for unresolved resrefs and says nothing about what a caller gets back or how quantities merge. For a mutation tool with only a single hint annotation, that leaves real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns a bump by explaining what an item resref actually means (a blueprint resolved from module or base game), which the schema does not convey. It does not clarify quantity or the JSON-array encoding, but the schema does.

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 (add) and resource (items in a placeable container's inventory), which is enough to distinguish it from remove_items_from_container even though no sibling is named explicitly. The scope is concrete and an agent can act on it directly.

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 rather than stated: the agent learns it must supply an area, a container tag, and item entries whose resrefs resolve from a module or the base game. There is no explicit when-to-use/when-not guidance, nor any pointer to alternatives such as create_item_blueprint for items that don't yet exist.

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