Skip to main content
Glama

get_page

Read a OneNote page and return compact Markdown by default, or request specific fields, raw XHTML, or offline cached copies to inspect content without pulling full page data.

Instructions

Read a OneNote page. Returns compact Markdown by default; pass fields (e.g. ["blocks","resources"]) to fetch specific fields without full raw_xhtml, or compact:false for everything. Fetches from Microsoft Graph unless offline:true; compact:false can be large.

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": "get_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesPage key, ID, or title
fieldsNoOptional list of specific page fields to return (e.g. blocks, resources, body_markdown, body_plain, raw_xhtml, primary_div_id, web_url, created_at, content_url, summary). Always includes id, page_key, and title; unknown names are returned in missing_fields.
compactNoDefault true. Set false for blocks[].element_id, raw_xhtml and resources.
offlineNoReturn the cached copy of the page without contacting Microsoft Graph.
sectionNoOptional section name, Notebook/Section path, ID, or scoped key to narrow title lookup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the default response shape (compact Markdown), an alternate full-fidelity mode, the size hazard of compact:false, and that data comes live from Microsoft Graph unless offline:true returns a cached copy. It does not cover auth requirements or what happens when the page key is not found, but the read-only nature and caching semantics are clear.

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?

Three tight sentences, front-loaded with the verb and resource, then the default return shape, then network behavior. Slight redundancy in repeating the blocks/resources example that the schema already lists, but no wasted prose.

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 five-parameter read tool with no output schema and no annotations, the description covers the response-format decision tree and the online/offline distinction well. Gaps are auth expectations and failure behavior, which are secondary for a read operation.

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 description coverage is 100%, so the baseline is 3; the description mostly restates the fields and compact parameters already documented. It adds one genuine piece of information beyond the schema — that compact:false output can be large — and frames fields as the way to avoid full raw_xhtml, but does not explain lookup behavior for the page or section parameters.

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 and resource: "Read a OneNote page." That cleanly separates it from write-side siblings like update_page or delete_page, though it never names the list/search alternatives an agent might weigh against it.

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 guidance is parameter-level (use fields to skip raw_xhtml, compact:false for everything, offline:true for the cache) rather than tool-level. It never says when to read a page directly versus using list_pages or search_pages to find the right page key first, so tool selection is only implied.

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