Skip to main content
Glama

update_page

Update a wiki page's title, icon, or Markdown body, and choose replace, append, or prepend to apply content changes.

Instructions

Update a page title, icon, and/or Markdown body (operation: replace default, append, prepend). For partial edits use edit_page.

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_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNo
titleNo
page_idYesUUID or slugId
verboseNoFull metadata
markdownNoNew Markdown body
operationNoHow to apply markdown. Default replace

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.0
    • changedInput schema / properties / page_id / description
      Previous value: -"Page UUID or slugId"New value: +"UUID or slugId"
    • addedInput schema / properties / verbose
      Added value: +{
      +  "description": "Full metadata",
      +  "type": "boolean"
      +}
  2. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

For a mutation tool the description adds useful detail that 'replace' is the default operation, which is behavioral rather than pure schema restatement. However, it never states that replace overwrites the existing Markdown body entirely, nor mentions permission, versioning, or conflict behavior; destructiveHint=false is left unexamined despite a body-overwrite default.

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?

Two compact sentences, front-loaded with the action and fields, followed by the routing hint. No redundant or filler text.

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 6-parameter, non-destructive update tool with no output schema, the description covers the mutable fields and the sibling routing adequately. It is a bit thin on the overwrite semantics of the default replace operation and the verbose parameter, but nothing critical is missing.

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 coverage is 67%, with page_id format, markdown, operation enum, and verbose already documented in the schema. The description reiterates the field list and the default operation, adding only marginal meaning beyond the schema, and says nothing about the verbose flag.

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 names a specific verb and resource (update a page) plus the mutable fields (title, icon, Markdown body), so an agent knows exactly what changes. It also explicitly distinguishes itself from the sibling edit_page, which is the main ambiguity in this tool family.

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 a clear routing rule: 'For partial edits use edit_page,' which is the key when-to-use alternative. The phrase 'partial edits' is left slightly vague (editing part of a body vs. editing a subset of fields), so it stops just short of fully explicit guidance.

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