Skip to main content
Glama

append_to_page

Appends HTML content to the end of an existing OneNote page, saving a version first. Use it to add notes, sections, or embedded files without rewriting the whole page.

Instructions

Append HTML content to the end of an existing page. A version of the page is saved first.

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": {
      "pageId": "<pageId>",
      "html": "<html>"
    },
    "name": "append_to_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes
pageIdYes
attachmentsNoLocal images/files to embed. Reference them in HTML as <img src="name:file1"/> or <object data="name:file1" data-attachment="report.pdf" type="application/pdf"/>. Unreferenced parts are added at the end automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive operation, and the description adds real value beyond them by disclosing that a version snapshot is saved first, telling the agent the change is recoverable. It stops short of covering attachment embedding side effects, return value, or failure behavior.

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 short sentences, zero filler, and the core action is stated before the side-effect note. Nothing to trim.

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

Completeness3/5

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

For a mutation tool with annotations and no output schema, the definition covers the action and the snapshot side effect, but leaves the agent guessing about the format expectations for html, what the response contains, and how attachments interact with the appended content beyond the schema's own notes.

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

Parameters2/5

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

Schema description coverage is only 33%; the two required parameters (pageId, html) carry no schema descriptions at all, and the description does not compensate by clarifying whether html is a fragment, full document, or how name: references work. Only the attachments sub-schema is self-documenting.

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?

States a specific verb (append), resource (page), payload type (HTML), and target position (end of an existing page). This clearly separates it from create_page and update_page, though it does not name any sibling explicitly.

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?

The phrase 'existing page' implies a precondition (the page must already exist) and 'append to the end' implies additive rather than replacement semantics versus update_page. However, there is no explicit when-to-use/when-not-to-use guidance and no alternative tool is named.

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