Skip to main content
Glama

update_database_entry

Update database entries in RPG Maker XP projects to change properties like actor stats, class weapon sets, state rates, enemy stats, and tileset passability tables.

Instructions

Update any database entry's properties (e.g. a class's weapon_set, a state's rates, an enemy's stats, tileset passability Tables). Tables must be written as { "_class": "Table", dim, xsize, ysize, zsize, data: [...] }. Tileset passages: value 0=passable, 1/2/4/8 = down/left/right/up blocked, 15=impassable, +64 bush, +128 counter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
kindYes
updatesYes
Behavior3/5

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

With no annotations, the description carries the burden. It discloses important special formats (Table structure, tileset passage encoding) but does not clarify whether updates merge or replace properties, what happens on invalid values, or any permission requirements. Partial 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?

Three sentences deliver purpose, examples, and critical encoding rules without wasted words. The structure front-loads the action and then provides necessary specifics, making it easy to scan.

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?

For a generic update tool, the description covers the most complex edge cases (Tables and tileset passages) and provides enough context for the 'updates' object. It does not describe return values or error behavior, but given the tool's breadth, it is reasonably complete.

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 0%, so the description compensates by defining the Table object format and the meaning of tileset passage values for the 'updates' parameter. The 'kind' enum and 'id' are self-explanatory from context, but the description does not enumerate all possible property keys for every kind.

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 purpose: 'Update any database entry's properties'. It provides concrete examples (class's weapon_set, state's rates, enemy's stats, tileset passability) that illustrate the scope and distinguish this generic tool from sibling update tools like update_actor or update_skill.

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?

The phrase 'any database entry' implies generic usage, but the description does not explicitly tell when to prefer this tool over the specific update_actor/update_skill variants, nor does it mention any exclusions. Context is present but no explicit when/when-not guidance.

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/SerifeusStudio/rpgmaker-xp-mcp'

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