Skip to main content
Glama

knowledge_archive_page

Destructive

Take a page (and the pages inside it) out of the sidebar and search. It can be restored. archived=false instead brings a page back from the Archive (with the pages archived with it), or with collection_id instead of page_id a whole collection with every page in it (owners). Archiving a collection waits for a person: knowledge_request_approval with kind collection.archive. knowledge_outline with archived=true lists what's there. In Activity, with Undo.

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": {
      "author": "<author>",
      "reason": "<reason>"
    },
    "name": "knowledge_archive_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
authorYes
reasonYes
page_idNo
archivedNo
collection_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the destructiveHint=true annotation, the description discloses the traits that actually matter: the operation cascades to child pages, it is reversible ("It can be restored"), collection archiving is gated on human approval, and the undo lives in Activity. That is substantive context an agent could not derive from the annotations. It leaves open the authorization/permission model and whether failures are possible, so it is strong but not exhaustive.

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?

The core behavior is front-loaded in the first sentence, and the follow-on sentences add only distinct facts (restore, collection mode, approval, listing, undo) with no repetition. The telegraphic fragments ("In Activity, with Undo.") are terse to the point of being cryptic, but nothing is wasted.

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?

For a destructive, multi-mode mutation tool with no output schema and zero schema description coverage, the description covers the important semantics (cascade, reversibility, approval gate) but omits why author and reason are required and what the response contains. An agent could invoke it correctly in the common case but would be guessing about the required string parameters.

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 0%, so the description must carry the parameter burden, and it only partially does: it clarifies the page_id/collection_id distinction ("with collection_id instead of page_id") and pins down archived=true/false as archive vs restore. The two required parameters, author and reason, plus model, get no explanation at all, leaving a real gap for a 6-parameter tool.

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?

The description states a concrete verb and effect: "Take a page (and the pages inside it) out of the sidebar and search," which tells an agent exactly what changes. It also makes clear the same tool covers the inverse direction ("archived=false instead brings a page back") and the collection variant, so it is not confusable with siblings like knowledge_move_page. The one deduction is that the name says 'archive_page' while the tool also restores pages and operates on collections, requiring the agent to read the body to know the full scope.

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 explicit routing: use knowledge_request_approval with kind collection.archive when archiving a collection, and knowledge_outline with archived=true to see what is archived. Those are concrete when-to-use pointers rather than vague hints. It does not, however, state when archiving is inappropriate or what prerequisites (beyond approval) must hold, so it stops short of full when-not guidance.

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.