Skip to main content
Glama

Archive documentation

archive_document
DestructiveIdempotent

Archive a documentation: it remains readable but can no longer be changed.

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": "<space>",
      "name": "<name>",
      "expected_version": "<expected_version>"
    },
    "name": "archive_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the documentation in the space, e.g. “fonctionnalites”.
spaceYesSpace identifier, e.g. “k3x9p2m4ta”: the `id` field returned by list_spaces.
expected_versionYes

Output Schema

NameRequiredDescriptionDefault
nameYes
archived_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / name / description
      Previous value: -"Nom de la documentation dans l'espace, ex. « fonctionnalites »."New value: +"Name of the documentation in the space, e.g. “fonctionnalites”."
    • changedInput schema / properties / space / description
      Previous value: -"Identifiant de l'espace, ex. « k3x9p2m4ta » : le champ `id` que donne list_spaces."New value: +"Space identifier, e.g. “k3x9p2m4ta”: the `id` field returned by list_spaces."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false; the description usefully clarifies the kind of destruction involved (content preserved, editing blocked). However it omits whether archiving is reversible, what happens to linked or child resources, and how expected_version conflicts are handled — all material for 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?

One short sentence with the effect front-loaded and no filler. Slightly awkward grammar ("a documentation") and the lack of any second sentence on prerequisites keeps it from a 5.

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

Completeness3/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 not be described, but for a destructive mutation with a concurrency parameter the definition should say whether the action is reversible and how version conflicts surface. It gives the core semantic contract and leaves the operational details thin.

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 a moderate 67%; space and name are documented in the schema, but expected_version has no description and the tool description does not explain that it is an optimistic-concurrency token or what happens on mismatch. The description adds nothing parameter-level.

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?

States a specific verb and resource ("Archive a documentation") plus the concrete effect on the object, which distinguishes it from siblings like archive_document_template or create_document. It stops short of naming alternatives or scope exclusions, so sibling differentiation is implicit rather than stated.

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?

The phrase "remains readable but can no longer be changed" implies when archiving is appropriate (retire without deleting), but there is no explicit when-to-use vs. update_document/delete guidance and no stated prerequisites such as required permissions.

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