Skip to main content
Glama

list_sections

Read-only

Retrieve sections and section groups from OneNote, optionally limited to one notebook, to locate where to read or write notes.

Instructions

List sections (including those inside section groups), optionally only in one notebook.

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_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
notebookNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this a read-only, open-world listing, so safety is covered. The description adds one genuine behavioral fact beyond that — that group-nested sections are returned — but says nothing about pagination, ordering, or whether section groups themselves appear in results, which for an openWorldHint listing tool matters.

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; the nested-sections caveat is placed where it is read first. The parenthetical phrasing is slightly dense but costs no extra tokens.

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 simple one-parameter read tool with read-only annotations and no output schema, this is close to sufficient. It leaves the return shape (grouping, counts, pagination) and the notebook identifier format unspecified, which an agent would need to invoke confidently.

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 0%, so the description must carry the load, and it does: it identifies the single parameter's meaning (a notebook filter) and that it is optional. It stops short of specifying whether the value is an ID, display name, or path, which is the one remaining ambiguity.

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?

"List sections" is a specific verb+resource, and the parenthetical adds real scope detail: sections nested inside section groups are included. It implicitly distinguishes itself from list_notebooks/list_pages by resource type, though it never names a sibling to route against.

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?

"Optionally only in one notebook" implies the two usage modes (all sections vs. scoped to a notebook), which is useful context. There is no explicit when-to-use/when-not guidance and no named alternative for other listing needs, so guidance is implied rather than stated.

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