Skip to main content
Glama

list_pages

Lists OneNote pages inside a section using Microsoft Graph or the local cache. Use it to browse a section's pages, paginate with cursor and limit, or work offline.

Instructions

List OneNote pages inside a section (supports Notebook/Section, section name, or ID). Calls Microsoft Graph unless offline:true; the request size grows with cursor + limit.

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": {
      "section": "<section>"
    },
    "name": "list_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNonext_cursor from the previous response
offlineNoRead the local SQLite cache only: no network, may be stale.
refreshNoIgnore any cached answer and refetch from Microsoft Graph. Costs extra Graph requests; use only when results look stale.
sectionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the important traits: a Microsoft Graph call happens unless offline:true, and request size scales with cursor + limit. It says nothing about permissions/auth requirements or that results are paginated via next_cursor, so the safety and pagination profile is only partly covered.

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 compact sentences, front-loaded with the core action and immediately followed by the input-format and network-cost caveats. No filler or repetition of schema-only details.

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 annotations and no output schema, the description covers input addressing, network vs cache behavior, and cost of refresh — enough to call it correctly. The absence of any hint about the paginated return shape is the remaining gap, though the cursor parameter signals it.

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 60%, and the description compensates where it matters most: the undocumented `section` parameter is explained (Notebook/Section path, section name, or ID), and the cursor+limit interaction is stated in terms of request size. The offline behavior is restated from the schema rather than extended, so it is not a full 5.

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 ("List OneNote pages inside a section") and clarifies the accepted section identifiers, so the agent knows exactly what comes back. It does not name or contrast with sibling tools such as search_pages or get_page, leaving the boundary to inference.

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 implied rather than stated: the section-scoping requirement and the offline/refresh caveats guide the caller, and the refresh guidance ("use only when results look stale") is a usable condition. There is no explicit statement of when to prefer this over search_pages or get_page.

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