Skip to main content
Glama

docugen_archive_document

Archive a document: it disappears from the project view but nothing is destroyed, and docugen_restore_document brings it back. Use it for a document that is obsolete or was created by mistake. The document owner is notified. Refused while an edit session is open, so submit or discard first.

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": {
      "documentId": "<documentId>"
    },
    "name": "docugen_archive_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesDocument id

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description does the heavy lifting: it discloses non-destructiveness, reversibility, a side effect (owner is notified), and a precondition that causes refusal. The main remaining gap is permissions/authorization requirements, which are not mentioned.

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?

Three short sentences, all front-loaded: effect first, then usage criterion, then precondition. No filler and every clause carries actionable information.

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 one-parameter mutation with no annotations and no output schema, the description covers effect, reversibility, side effects, and the blocking precondition. There is no output schema to explain, and the agent has everything needed to decide whether and when to call it.

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%, so the single documentId parameter is already documented; the description adds no format, sourcing, or lookup guidance for obtaining an id. Baseline 3 applies when the schema does the work and the prose adds nothing parameter-specific.

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 (archive a document) and immediately defines the effect: 'it disappears from the project view but nothing is destroyed.' It also names the sibling that reverses it, so the agent can distinguish archive from restore without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use criterion ('obsolete or was created by mistake'), names the reversal alternative (docugen_restore_document), and states the blocking condition plus the resolution ('refused while an edit session is open, so submit or discard first'), which routes the agent to the right sibling in the failure case.

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