Skip to main content
Glama

Replace a page's command list

set_commands

Replace an RPG Maker MZ event page's full command list, including its terminator, and flag misaligned block bodies as warnings instead of silently keeping them.

Instructions

Overwrite an event page's whole command list, terminator included. Block levels are read the way the engine reads them: a body written at the same indent as its Conditional Branch or Loop is reported in warnings instead of being quietly kept.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listYes
mapIdYes
eventIdYes
pageIndexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

B3.1/5.0
Behavior4/5

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

No annotations, so description carries full burden. It discloses two non-obvious behavioral traits: the terminator is included in the overwrite, and indent-level mismatches produce `warnings` rather than being silently accepted. It does not state whether the operation is destructive/irreversible or what happens to existing commands, but the warning behavior is valuable added context.

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?

Efficient two-sentence structure front-loading the core action, then the warning behavior. No filler, though it is a bit dense.

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

Completeness2/5

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

Mutation tool with no annotations, no output schema, and 0% schema description coverage. The description covers the warning behavior but leaves parameter semantics and destructive/permission aspects unexplained, which is inadequate for a complex 4-param write operation.

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

Parameters2/5

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

Schema coverage is 0% and description mentions no parameter names at all. The `list` array structure (code, indent, parameters) and mapId/eventId/pageIndex are entirely undocumented in prose. For a 4-parameter tool with 0% schema description coverage, the description fails to compensate.

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?

Clear verb+resource: 'Overwrite an event page's whole command list'. The terminator detail and sibling set_commands/add_commands distinction is not explicitly made, but the overwrite scope is clear from 'whole' and 'Overwrite'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use guidance or alternatives named. The overwrite semantics imply this is a full replacement vs add_commands, but that routing is left to inference. No prerequisites or exclusions stated.

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