Skip to main content
Glama

unarchive_session

Idempotent

Restore an archived conversation to the active list by session ID. Use it to make a previously archived session accessible again; returns a conflict if the session was not archived.

Instructions

Bring an archived conversation back to the active list. CONFLICT if it was not archived

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": {
      "session_id": "<session_id>"
    },
    "name": "unarchive_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesSession session_id string or UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.4
    • changedInput schema / properties / session_id / description
      Previous value: -"session_id (texto) ou id UUID da sessão"New value: +"Session session_id string or UUID"
  2. Addedv2.2.3

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare it non-read-only, non-destructive and idempotent, and the description usefully adds the failure mode (CONFLICT on a non-archived session) plus the resulting state. However, a repeat call returning CONFLICT sits in mild tension with the idempotentHint annotation, and the description does not say what the response contains or whether the conversation's contents are preserved. It adds real value but only around one edge case.

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 short sentences, front-loaded with the action and state change, followed by the error condition. Nothing is wasted and no sentence needs trimming.

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 one-parameter state-toggle with no output schema, the description covers the action, the target state and the error case, which is most of what an agent needs. It would be fully complete if it clarified the repeat-call behavior and what the caller receives on success.

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% with a single session_id parameter already documented in the schema, so the analysis baseline is 3. The description adds no extra meaning about the identifier format or how to obtain it.

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?

Uses a specific verb ('Bring ... back') and resource ('an archived conversation') plus the resulting state ('active list'), so the operation is unmistakable. It does not explicitly name its inverse sibling archive_session, but the state transition is clear enough that an agent can distinguish it without opening the schema.

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 an implicit precondition ('an archived conversation') and a precise failure condition ('CONFLICT if it was not archived'), which effectively tells the agent when the call is valid. It stops short of naming alternatives such as archive_session for the reverse operation or what to call when the session is simply inactive rather than archived.

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

Deploy Server

Other Tools