Skip to main content
Glama

Plan Studio

archive_room

Idempotent

Archive a room, or restore an archived one. Use it when a plan is finished: the room keeps everything, leaves get_rooms and refuses changes until it is restored. Returns the room. Only the browser or account that opened it, or the app's administrator, may; anyone else gets 403.

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": {
      "id": "<id>",
      "archived": "<archived>"
    },
    "name": "archive_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe room id, from get_rooms
archivedYestrue to archive, false to restore

Output Schema

NameRequiredDescriptionDefault
idYesThe room id.
titleYesIts title.
revisionYesIts current revision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses that content is preserved, the room disappears from get_rooms, further changes are rejected until restored, the room object is returned, and the exact authorization model (opener's browser/account or app administrator, otherwise 403). These are precisely the behavioral facts an agent needs before invoking a mutation.

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?

Three sentences, front-loaded with the action and trigger, then effect, return, and permissions in descending order of importance. The final clause ('may; anyone else gets 403') is slightly elliptical, dropping the verb, which costs a point but not comprehension.

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

Completeness5/5

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

For a two-parameter idempotent mutation with a full schema and an output schema, the description covers trigger, side effects, reversibility, return value, and permission failure mode. Nothing material is left for the agent to guess.

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 both the id (with a get_rooms provenance note) and the archived boolean (true=archive, false=restore) are already fully documented in the schema. The description adds no syntax, format, or edge-case detail about the parameters beyond what the schema provides, so the baseline 3 applies.

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 names the resource (a room) and both specific actions: archive it, or restore an archived one. The state-machine language ('leaves get_rooms and refuses changes until it is restored') makes it unmistakable against siblings like get_rooms, create_room, or discard_draft.

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?

It gives an explicit trigger ('Use it when a plan is finished') and covers the reverse direction by describing restoration. It does not name a contrasting alternative or state when-not to use it, but the dual archive/restore scope leaves little ambiguity for an agent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources