Skip to main content
Glama
Redseb
by Redseb

update_troop

Update troop properties with validation. Refuse writes with invalid enemy IDs or battle-event pages unless force is true.

Instructions

Update a troop's properties (shallow merge). If members is provided, each enemyId is validated to exist. A structurally invalid battle-event page refuses the write (nothing is saved) — pass force: true to override.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoWrite even if validation finds structural problems (wrong parameter count, unterminated command list). Off by default: such a write is refused and nothing is written. Advisory warnings never block regardless.
dryRunNoPreview only: return a diff of what would change without writing to disk.
troopIdYesThe ID of the troop to update
updatesYesObject containing troop properties to update (name, members, pages)
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses shallow merge semantics, validation of enemyIds, and the refusal to write on structural errors with a force override. Does not mention return values, but key safety behaviors are transparent.

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?

Two sentences, front-loaded with the primary purpose. Every sentence carries unique information—first states the update behavior, second explains validation and override—with zero waste.

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 mutation tool with no output schema, the description covers the main behavior, validation, and safety override. It doesn't describe success return values, but the essentials are present and well articulated.

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%, but description adds meaningful semantics beyond field descriptions: 'shallow merge' and 'each enemyId is validated to exist'. This helps the agent understand the effect of the updates parameter.

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?

Description clearly states the action ('Update a troop's properties') with specific scoping (shallow merge, members validation). It distinguishes from create_troop and search_troops by focusing on updating existing troops.

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?

Provides context on when to use force: true and describes validation behavior, implicitly guiding safe usage. Does not explicitly name alternatives, but the tool's purpose is clear from context.

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