Skip to main content
Glama
Redseb
by Redseb

create_weapon

Create a new weapon in an RPG Maker MZ project's Weapons.json. Only a name is required; optional fields for stats, traits, price, and more use sensible defaults. Allocates the next available weapon ID.

Instructions

Create a new weapon in data/Weapons.json. Only name is required; omitted fields use the editor's new-weapon defaults (Weapon equip slot, no stat bonuses). params is a flat 8-length stat bonus [maxHP, maxMP, atk, def, mat, mdf, agi, luk]. Allocates and returns the next unused weapon id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesWeapon name
noteNoNote field
priceNoBuy price
dryRunNoPreview only: return a diff of what would change without writing to disk.
paramsNo8 flat stat bonuses [maxHP, maxMP, atk, def, mat, mdf, agi, luk]
traitsNoTrait objects { code, dataId, value }
wtypeIdNoWeapon type id (System.json weaponTypes)
iconIndexNoIcon index (IconSet.png)
animationIdNoAttack animation id
descriptionNoIn-game description text
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the write target (data/Weapons.json), default behavior for omitted fields, the stat bonus array order, and the id allocation behavior. This is meaningful context beyond the schema, though it doesn't mention the dryRun preview parameter.

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 at four sentences, each serving a purpose: main function, defaults, params format, and return behavior. No redundant text.

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?

The description covers essential aspects: target file, required field, defaults, param structure, and return value. Given 10 parameters and no output schema, it provides sufficient context, though it omits mention of the dryRun parameter, which is documented in the schema.

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 baseline is 3. The description adds value by explaining that `name` is the only required field, what defaults apply to omitted fields, and explicitly defining the `params` array order and length, exceeding the baseline.

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?

Clearly states 'Create a new weapon in data/Weapons.json' with a specific verb and resource. The mention of allocating the next unused id distinguishes it from sibling tools like update_weapon and other creation tools.

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 clarifies that only `name` is required and that omitted fields use editor defaults, providing clear context for when to invoke this tool. It doesn't explicitly name alternatives like update_weapon, but the creation context is self-evident.

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