Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as fynk MCP. If you published it, claim ownership there.

Restore document

restore-document
DestructiveIdempotent

Restores an archived document, making it show up in the account's default document lists again.

Use this tool when:

  • An archived document should become actively used again

  • The user asks to restore or unarchive a document

The document must currently be archived. To find archived documents, filter list-documents for archived documents.

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": {
      "document_uuid": "<document_uuid>"
    },
    "name": "restore-document"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_uuidYesUUID of the archived document to restore. If you don't already have the document's UUID, filter the list-documents tool for archived documents to find it.

Output Schema

NameRequiredDescriptionDefault
urlNoURL to open the document in fynk
nameNoName of the document
uuidNoUnique identifier for the document. Do not show to the user unless they ask for it
stageNoWhat stage the document is in currently
created_atNoWhen the document was created.
updated_atNoWhen the document was last updated.
archived_atNoWhen the document was archived. Absent when the document is not archived.
_entity_typeNoOnly relevant for tooling. Do not show to the user
document_typeNoIf present, indicates what kind of document this is. Absent when the document has no type assigned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / document_uuid / description
      Previous value: -"UUID of the archived document to restore. If you don't already have the document's UUID, use the list-documents tool with filter_archived_state set to \"archived\" to find it."New value: +"UUID of the archived document to restore. If you don't already have the document's UUID, filter the list-documents tool for archived documents to find it."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=true, idempotentHint=true, openWorldHint=false), so the description only needs to add context — and it does, by stating the archived precondition and the visible post-restore effect. It does not cover what happens if the document is not archived, whether the restore is reversible, or permission requirements, which keeps it below a 5.

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 lead sentence is front-loaded with the action and effect, and the bulleted when-to-use block is scannable. Minor redundancy: "To find archived documents, filter list-documents for archived documents" restates the schema's own hint and could be trimmed without losing information.

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 mutation with an output schema (so return values needn't be explained), the description covers purpose, triggers, and precondition adequately. The only real gap is the failure/misuse case when the target document is not archived, which would matter for a destructive-flagged operation.

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% with a single parameter, and the schema's document_uuid description already contains the same list-documents discovery hint the prose repeats. The description adds no new meaning about the UUID beyond what the schema 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?

The description states a specific verb and resource ("Restores an archived document") and adds the observable effect — the document reappears in the account's default document lists. That effect distinguishes it cleanly from archive-document and from list/get tooling without needing the schemas opened.

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?

It gives an explicit "Use this tool when" list with two concrete triggers (document should be active again; user asks to restore/unarchive), plus a hard precondition ("must currently be archived") and a routing instruction to list-documents for finding archived documents. When-to-use, prerequisite, and discovery path are all covered.

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