Skip to main content
Glama

create_page

Create a OneNote page from HTML with headings, lists, tables, tags, and embedded local files, placing it in a specified notebook, section, or section group.

Instructions

Create a page. bodyHtml supports p, h1-h6, ul/ol/li, table, pre, code, b, i, u, a, img (src can be a public URL or name:), and tags via data-tag, e.g. Task, data-tag="to-do:completed", "important", "question", "idea", "critical", "contact", "remember-for-later". Local images/files go in attachments. Use data-id="..." on elements you want to update later.

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": {
      "title": "<title>",
      "bodyHtml": "<bodyHtml>"
    },
    "name": "create_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
sectionNoSection name
bodyHtmlYes
notebookNoNotebook name
sectionIdNoSection id (takes precedence over names)
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.
sectionGroupNoSection group name, to pick a section inside a group

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 state this is a non-destructive write operation with open-world behavior. Beyond that, the description adds substantive behavioral context about supported HTML elements, tags, attachment references, and data-id usage for later updates.

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?

The description is front-loaded with 'Create a page' and then packs useful specifics into a few sentences. It is dense and slightly list-heavy, but most wording earns its place by clarifying HTML and attachment conventions.

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?

The definition covers the most complex part, bodyHtml, and explains how attachments are referenced. However, it does not explain default placement when no notebook or section is given, return values, or how page identity is exposed after creation.

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?

Schema coverage is 71%, but bodyHtml is undocumented in the schema, and the description supplies important syntax details for that parameter, including allowed tags, data-tag values, name:<part> image references, and data-id usage. Other parameters are left to the schema.

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?

The description states a specific verb and resource: 'Create a page.' This is immediately clear, but it does not distinguish the tool from siblings such as append_to_page or update_page.

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

Usage Guidelines2/5

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

The description gives no explicit when-to-use or when-not-to-use guidance. It never says to choose this over append_to_page for existing pages or explains prerequisites such as whether a notebook or section is required.

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