Skip to main content
Glama
Redseb
by Redseb

create_item

Creates a new RPG Maker MZ item in Items.json with an auto-assigned id, supporting optional fields for price, scope, damage, and effects while validating references.

Instructions

Create a new item in data/Items.json. Only name is worth passing; omitted fields use the editor's new-item defaults (Regular Item, consumable, no effects). Allocates and returns the next unused item id. An effect referencing a missing record throws: Add/Remove State (code 21/22) → state, Learn Skill (43) → skill, Common Event (44) → common event.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesItem name
noteNoNote field
priceNoBuy price (sells for half)
scopeNoTarget scope (0 none, 1 one enemy, 7 one ally, …)
damageNoDamage object { type, elementId, formula, variance, critical }
dryRunNoPreview only: return a diff of what would change without writing to disk.
tpGainNoUser TP gained on use
effectsNoEffect objects { code, dataId, value1, value2 }
hitTypeNo0 certain, 1 physical, 2 magical
itypeIdNoItem type: 1 Regular, 2 Key Item, 3 Hidden A, 4 Hidden B
repeatsNoNumber of hits/repeats
occasionNoUsable: 0 always, 1 battle, 2 menu, 3 never
iconIndexNoIcon index (IconSet.png)
consumableNoConsumed on use
animationIdNoAnimation id shown on use
descriptionNoIn-game description text
successRateNoSuccess rate percent
Behavior5/5

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

With no annotations, the description fully carries the burden and excels. It discloses ID allocation ('Allocates and returns the next unused item id'), default behavior for omitted fields, and specific error conditions for effect references. This is valuable operational context beyond the schema.

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?

The description is compact and front-loaded, with every sentence delivering useful information: purpose, default behavior, ID allocation, and error cases. No redundant phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the 17-parameter schema with full per-parameter descriptions and no output schema, the description covers what's missing: usage simplicity, return value, and failure modes. It is complete enough for an agent to correctly invoke the tool.

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%, giving the baseline of 3. The description adds meaningful guidance by advising that only `name` is worth passing and explaining that omission yields Regular Item, consumable, no effects. This clearly adds value beyond the schema's per-parameter descriptions.

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?

The description clearly states the tool's function: 'Create a new item in data/Items.json.' This is a specific verb+resource, and the file path adds precision. It naturally distinguishes itself from siblings like update_item or search_items.

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 provides clear guidance: 'Only `name` is worth passing; omitted fields use the editor's new-item defaults.' This tells the agent which parameters are important and what to expect if omitted, though it doesn't explicitly contrast with update_item or mention when to use an alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Redseb/rpgmaker-mz-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server