Skip to main content
Glama
Redseb
by Redseb

create_enemy

Create a new enemy in RPG Maker MZ by supplying just a name; unused fields get editor defaults, next ID is auto-assigned, and skill/drop references are validated.

Instructions

Create a new enemy in data/Enemies.json. Only name is required; omitted fields use the editor's new-enemy defaults (100 HP, one Attack action, no drops). Allocates the next unused enemy id and returns { enemy, warnings? } (warn-by-default: a battlerName not found in img/enemies is flagged, never blocked). Throws if an actions[].skillId or a dropItems[].dataId (item/weapon/armor by kind) references a record that does not exist. NOTE: an enemy with no Hit Rate trait (xparam id 0: trait { code: 22, dataId: 0, value: 0.95 }) always misses physical actions — pass one in traits if the enemy should land basic attacks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expNoEXP granted when defeated
goldNoGold granted when defeated
nameYesEnemy name shown in battle and the database
noteNoNote field
dryRunNoPreview only: return a diff of what would change without writing to disk.
paramsNo8 base params: [maxHP, maxMP, atk, def, mat, mdf, agi, luk]
traitsNoTrait objects { code, dataId, value }
actionsNoAction patterns { skillId, conditionType, conditionParam1, conditionParam2, rating }
dropItemsNoDrop-item objects { kind, dataId, denominator }
battlerHueNoBattler hue rotation 0-360
battlerNameNoBattler graphic filename (img/enemies)
Behavior5/5

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

With no annotations provided, the description fully carries the transparency burden. It discloses the default values (100 HP, one Attack action, no drops), id allocation, return shape '{ enemy, warnings? }', warn-by-default for battlerName, throw conditions for invalid references, and the critical Hit Rate trait pitfall—far exceeding typical transparency.

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 concise at five sentences and front-loaded with the core action and file target. Every sentence adds necessary information—defaults, id allocation, return shape, validation, and a critical combat pitfall—with no redundant filler.

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?

Despite having no output schema or annotations, the description covers the tool's purpose, defaults, id assignment, return value, warning behavior, validation errors, and a common usage mistake. For a mutation tool with 11 parameters and reference-checking complexity, this is highly complete.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds significant value beyond schema descriptions: it clarifies that omitted fields use editor defaults, explains validation failure for nested references, and flags the battlerName warning and Hit Rate trait issue. This supplements the schema's per-property descriptions with behavioral guidance.

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 opening sentence 'Create a new enemy in data/Enemies.json' uses a specific verb and resource, clearly stating the tool's purpose. It also distinguishes itself from sibling tools like update_enemy and search_enemies by emphasizing creation and file location.

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?

It explicitly states that only 'name' is required and defines defaults for omitted fields, giving clear entry conditions. It does not explicitly name update_enemy as the alternative for modifying existing enemies, but the 'Create a new enemy' phrasing and id-allocation behavior make the intended use unambiguous.

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