Skip to main content
Glama

palace_rename_wing

Rename a wing or merge it into an existing wing when the target name already exists; all memory records move and drawer IDs remain unchanged. Irreversible.

Instructions

Rename a wing, or merge it into another wing when the new name already exists (e.g. 'my-proj' into 'my_proj'). Moves every drawer, closet, tunnel and mined-file record; drawer ids stay the same. Cannot be undone. Use only when the user asks.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "palace_rename_wing"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe new name, or the existing wing to merge into
fromYesThe wing to rename or merge away

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.5

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the blast radius (every drawer, closet, tunnel and mined-file record is moved), a non-obvious invariant (drawer ids are preserved), and irreversibility ('Cannot be undone'). It stops short of stating permission/auth requirements or what the call returns.

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 tight sentences, front-loaded with the primary action and the collision-triggered merge behavior, followed by consequences and the usage gate. No filler.

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 two-parameter destructive mutation with no annotations and no output schema, the description covers the critical unknowns: data movement, id stability, and irreversibility. Only the return/confirmation behavior and any required preconditions are unaddressed.

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% and the schema already explains both `from` and `to`, including that `to` may be an existing wing to merge into. The description reinforces the merge meaning but adds no new syntax, format, or constraint information beyond the schema.

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?

States a specific verb and resource (rename a wing) plus the secondary mode (merge into an existing wing) with a concrete example of the collision case. An agent can distinguish this from palace_create_wing purely from the description.

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?

Gives a clear gating condition ('Use only when the user asks') and explains that the merge path is triggered by the new name already existing. It does not name an alternative tool (e.g. palace_create_wing) for the non-existing-name case, so routing is implied rather than explicit.

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