Skip to main content
Glama

restore_page

Restore a soft-deleted wiki page from trash using its page ID or slugId. Recover accidentally deleted content quickly.

Instructions

Restore a soft-deleted page from trash.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesPage UUID or slugId

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already indicate this is a mutating operation (readOnlyHint=false) that is not destructive (destructiveHint=false). The description adds the useful precondition that the page must be soft-deleted and in trash, but it does not disclose error behavior, permission requirements, or side effects such as conflicts with existing pages. This adds some but not rich behavioral context.

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?

The description is a single, well-structured sentence that front-loads the operation and its precondition. Every word contributes to understanding, with no filler or redundancy.

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 single-parameter tool with clear annotations and no output schema, the description is sufficient for an agent to select and invoke it correctly. Minor omissions such as exact error behavior are not essential for correct usage.

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?

The input schema fully documents the only parameter, page_id, including accepted forms ('Page UUID or slugId'). The tool description adds no additional parameter semantics, so the baseline 3 applies because the schema already carries the burden.

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 uses a specific verb and resource: 'Restore a soft-deleted page from trash.' This clearly distinguishes it from inverse operations like delete_page and from list_trash, leaving no ambiguity about the tool's purpose.

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?

The description gives clear context by specifying that the page must be soft-deleted and in the trash, which tells an agent when the tool is appropriate. It does not explicitly name alternative tools or exclusion criteria, so it stops short of full routing guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dilruwanm/docmost-community-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server