Skip to main content
Glama

update_page

Update a OneNote page title or body, replace a block, or edit text within a block to keep page content current.

Instructions

Alias for update_block. Update a page title or body, replace a block, or edit text within a block.

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": "<page>"
    },
    "name": "update_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYes
forceNoOverride conflict check when true
titleNo
compactNoDefault true. Set false to include the full page object in the response.
sectionNoOptional section name, Notebook/Section path, ID, or scoped key to narrow title lookup
block_idNoGraph element ID from get_page (e.g. `p:{...}`)
markdownNo
with_textNoNew text for replace_text
replace_textNoExact text to replace in block_id; provide with_text and omit markdown
expected_contentNoBaseline block/page content from prior read; aborts with conflict if remote changed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely drops it. The most consequential traits are omitted: replacing a block destroys prior content, overwriting happens unless expected_content or force is used, conflicts abort the call, and compact=true trims the response; none of this surfaces in prose, and the mode-dependent behavior of the three edit paths is not explained.

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?

Two short sentences with the alias stated first and the edit modes enumerated second, so nothing is padded. The structure is efficient, though the enumeration flattens genuinely different risk profiles into one list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 10 parameters, no annotations, no output schema, and mutation paths that can overwrite page content, the definition is far too thin. It should at minimum state that edits are destructive, that expected_content guards against concurrent changes, and that compact controls response size.

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 70%, with useful parameter descriptions for force, compact, replace_text, expected_content, and block_id. The description adds only a vague mapping of modes onto title, markdown, and with_text, and never mentions the required page identifier, the section scoping option, or the rule that with_text must accompany replace_text and markdown be omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names three concrete operations (retitle a page, replace a block, edit text in a block), so the resource and actions are identifiable. But leading with "Alias for update_block" muddies rather than sharpens what is distinctive: an agent cannot tell whether this is a true synonym or a page-scoped variant, and the term "body" appears in prose but has no matching parameter.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied by the enumeration of supported edits; there is no statement of when to prefer update_page over update_block, append_page, or rename_section, nor prerequisites such as needing a prior read to obtain block_id. The alias claim actually raises, rather than answers, the choice between this tool and its sibling.

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