Skip to main content
Glama

Update wiki page

update_wiki_page
Destructive

Edit a personal wiki page (title/body/parent) by id. Set 'parent_id' to null to make it a root page. Rejects a parent_id that points to the page itself or one of its descendants (cycle guard). Only the caller's own page is reachable. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": {
      "page_id": "<page_id>"
    },
    "name": "update_wiki_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
titleNo
page_idYes
parent_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the cycle guard, the ownership restriction, and critically the two-phase confirmation protocol (status='confirmation_required', action_id, plan_token, then confirm_action) that annotations cannot express. No contradiction with destructiveHint=true / readOnlyHint=false.

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?

Four short, front-loaded sentences with no filler; the scope comes first and the confirmation protocol is flagged with a label so it is easy to find. 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?

No output schema exists, yet the description supplies the return shape an agent needs (status, action_id, plan_token) and the follow-up tool to call. Mutation semantics, constraints, and the deferred-write model are all covered for a 4-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage the description must carry the load, and it does for parent_id (null = root, self/descendant rejected) and for which fields are mutable. It doesn't cover the title maxLength of 255 or that page_id accepts both integer and string.

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?

Opens with a specific verb and resource ("Edit a personal wiki page") and immediately scopes the editable fields to title/body/parent, keyed by id. That cleanly separates it from create/delete/get siblings, though it never names an alternative explicitly.

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?

Gives concrete operating conditions: use parent_id=null for root, cycles are rejected, and only the caller's own page is editable. It also routes the agent to confirm_action for the actual write. It stops short of saying when to prefer create_wiki_page over this for new pages.

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