Skip to main content
Glama

list_pages

Read-only

Retrieve pages from a specified OneNote section, including indent level and order, newest first by default. Filter by notebook, section group, or section ID and control result count and sort order.

Instructions

List pages in a section with their indent level and order, newest first by default.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax pages to return (default 100)
orderByNo
sectionNoSection name
notebookNoNotebook name
sectionIdNoSection id (takes precedence over names)
sectionGroupNoSection group name, to pick a section inside a group

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the default sort order and the shape of returned items, but with zero required parameters it never says what happens when notebook/section/sectionId are all omitted - a meaningful behavioral gap for a six-parameter listing tool.

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?

A single front-loaded sentence with no filler, and the ordering default is placed where it will be seen. It is arguably too terse for a tool with six optional parameters, but nothing is wasted.

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?

With no output schema, the description does at least signal the return fields (indent level, order). However, it leaves the all-optional scoping ambiguous and says nothing about pagination or result bounds beyond the limit parameter's schema default.

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 83%, so the parameters are largely documented already, and the schema even explains that sectionId takes precedence over names. The one value-add is the default ordering ('newest first'), which maps to an orderBy default not encoded in the schema, but no guidance is given on choosing between the six sort modes.

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 pages in a section') plus the returned attributes (indent level and order), so an agent can distinguish it from get_page or read_page. It never names a sibling, so differentiation is inferred rather than stated.

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 'in a section' implies this is the browse-a-section tool, but there is no explicit when-to-use versus search_pages, get_page, or read_page. The 'newest first by default' note hints at an ordering rationale without stating when to override it.

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