Skip to main content
Glama

update_page

Update a Docmost page's title, icon, or Markdown body with replace, append, or prepend, and preview changes via dry run before writing.

Instructions

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

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
dry_runNoPreview only; do not write
page_idYesUUID or slugId
verboseNoFull metadata
markdownNoNew Markdown body
operationNoHow to apply markdown. Default replace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare destructiveHint=false, so the description adds real value by disclosing the default operation (replace), the existence of append/prepend, and that dry_run previews without writing. It does not state that 'replace' overwrites the entire existing body or whether history is preserved, which would be valuable caution for a write tool.

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 clauses, zero filler, with the editable fields and the operation default front-loaded, followed by the alternative tool and the preview affordance.

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 mutation tool with no output schema and minimal annotations, the description covers editable fields, the operation modes and default, a preview option, and the sibling alternative. Remaining gaps are mostly about return values and overwrite risk, which are secondary but not trivial for a body-replacing write.

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 71%, so most parameters are already documented in the schema, including dry_run and operation. The description restates the operation modes and the default rather than adding new semantics (e.g., how prepend interacts with headings, or verbose behavior). Baseline 3 is appropriate.

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?

Names a specific verb and resource plus the updatable fields ('Update a page title, icon, and/or Markdown body'), and explicitly names the sibling edit_page as the alternative. The update-vs-edit boundary is a bit fuzzy since title-only changes are also partial edits, but an agent can still orient itself 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 Guidelines4/5

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

Provides an explicit alternative and condition: 'For partial edits use edit_page', plus the dry_run preview path. Missing an explicit statement of when the default 'replace' should be chosen over append/prepend, but the routing guidance is clear enough for selection.

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