Skip to main content
Glama

Unarchive Space

unarchive_space

Restore an archived Docmost space to active lists and search so users can access it again; requires Docmost 0.98+ and space admin rights.

Instructions

Restore an archived space to active lists and search. Needs Docmost 0.98+ and space admin rights.

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": {
      "space_id": "<space_id>"
    },
    "name": "unarchive_space"
  }
}

Input Schema

NameRequiredDescriptionDefault
space_idYesSpace id from list_spaces.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the non-read-only, non-destructive, closed-world profile. The description adds genuinely useful context beyond them: a minimum server version (Docmost 0.98+) and the requirement for space admin rights, both of which affect whether a call will succeed. It stops short of saying what happens if the space is not archived or whether the call is idempotent.

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 effect, followed by the prerequisites. No filler or redundant restatement of the title.

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?

An output schema exists, so return values need no explanation, and the tool is a simple single-parameter mutation whose annotations cover safety. The description covers effect and prerequisites; only edge-case behavior (already-active space, failure modes) is unstated, which is a minor gap at this complexity.

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 description coverage is 100% and the single space_id parameter is documented as coming from list_spaces. The description adds no further syntax or format meaning beyond what the schema already 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?

States a specific verb and resource ("Restore an archived space") plus the concrete effect ("to active lists and search"). This is the clear inverse of the sibling archive_space, so an agent can distinguish the two without opening either schema.

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?

Usage is only implied: the agent must infer that this is the call for spaces currently archived. There is no explicit when-to-use statement and no alternative named (e.g. archive_space to reverse it), though the version and admin prerequisites are useful context.

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