Skip to main content
Glama

add_event_command

Insert an event command to a specific event page. Requires map ID, event ID, page index, and command object with code and parameters.

Instructions

Add an event command to a specific page of an event. Command is inserted before the page terminator (code 0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mapIdYesThe map ID
eventIdYesThe event ID (number or numeric string)
pageIndexNoPage index (0-based)
commandYesThe event command object: {code, indent, parameters}
Behavior2/5

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

No annotations are provided, so the description bears full burden. It discloses insertion behavior and the page terminator reference, but lacks crucial details about side effects (e.g., does it modify the event in place?), error conditions (e.g., missing page), authorization needs, or return values. Minimal behavioral insight.

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 a single concise sentence that immediately states the action and key behavioral detail. No filler or repetition. Efficient and well-structured for quick comprehension.

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?

Given the tool modifies game data with four parameters including a nested object, and no output schema, the description is too sparse. It omits default behavior for optional pageIndex, prerequisites, return information, and potential impacts. Inadequate for a moderately complex mutation tool.

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

Parameters3/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 context about insertion order ('before page terminator'), which enhances understanding of the command parameter's effect. However, it does not elaborate on parameter specifics beyond what the schema provides. Adequate but no significant added value.

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 clearly states the tool adds an event command to a specific page of an event, and mentions insertion before the page terminator. It distinguishes from sibling tools like add_common_event_command by focusing on map events, but the distinction is implicit from the name. The description could clarify the behavior for omitted pageIndex.

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

Usage Guidelines3/5

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

No explicit guidance on when to use this tool versus alternatives like add_common_event_command. The description implies usage for map events, but does not state exclusions or provide clear context differentiation. With siblings handling common events, the usage is somewhat implied but not explicit.

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/DiegoLopez0208/RpgMakerMVUltimate-MCP'

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