Skip to main content
Glama

Manage items

manage-world-items
Destructive

Create, list, update, add, and remove world or actor items in Foundry VTT, validating types before any change.

Instructions

Items in the world and on actors. "create" makes world items (in a folder by id or path, created when missing and named in the answer), "list" filters world items by type, folder and part of the name, "update" changes world items by id, "add-to-actor" creates items directly on an actor, "remove-from-actor" deletes items of an actor by id or exact name (needs the actor permission "full"; a name that fits several items is refused), and "describe" returns the valid item types and the enumerated values the adapter of the game system reads from its configuration. Item types are checked against the game system before anything is written.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoFor "list": only this item type. For "remove-from-actor": only items of this type match itemNames
itemsNoFor "create" and "add-to-actor": the new items
actionYesWhat to do; each action names the parameters it needs
folderNoFor "create": id or path of the item folder, created when missing. For "list": only items directly in this folder (id or exact name)
itemIdsNoFor "remove-from-actor": ids of items on the actor
updatesNoFor "update": changes of world items by id; all ids are checked before anything is written
itemNamesNoFor "remove-from-actor": exact names of items on the actor, ignoring case; a name that fits several items is refused
nameFilterNoFor "list": part of the name, ignoring case
actorIdentifierNoFor "add-to-actor" and "remove-from-actor": the actor. Id of the actor, its exact name (case does not matter) or the id of one of its tokens

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv14.2609.4

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already signal destructive intent and mark the operation as non-read-only, but the description adds concrete behavioral details: folders are created when missing and named in the answer, item types are checked before anything is written, actor removal needs the 'full' permission, and exact-name matches that hit multiple items are refused. There is no contradiction with the annotations.

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?

The tool definition is dense and front-loaded with the domain, and each semicolon-separated clause covers one action without wasted wording. The single run-on structure is harder to scan than bullets, but it is appropriately sized for six actions and contains no filler.

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 six-action, nine-parameter tool with no output schema, the description covers action semantics, permission requirements, ambiguity handling, and validation-before-write behavior. It does not explicitly state return shapes for list/update/remove/add-to-actor, though the action names and schema make those reasonably inferable.

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?

The input schema already documents all parameters with 100% coverage, so the baseline is 3. The description adds value beyond the schema by explaining action-dependent usage, the pre-write game-system type check, and the behavior of a created folder's name being included in the answer.

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 opens with 'Items in the world and on actors' and then defines each action with a clear verb and resource: 'create' makes world items, 'remove-from-actor' deletes actor items, and 'describe' returns valid item types. It is specific within the tool, but it does not explicitly contrast with sibling tools such as manage-actors, create-document, or system-specific item tools, so differentiation from alternatives is implicit rather than stated.

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?

The description gives clear usage context for every sub-action: 'list' filters, 'update' changes by id, 'remove-from-actor' requires full actor permission and refuses ambiguous name matches, and 'describe' reports valid types. It does not mention alternative tools to prefer instead of this one, leaving the sibling choice largely left to the agent's inference.

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