Skip to main content
Glama

list_notebooks

Lists accessible Microsoft OneNote notebooks, including optional Teams/Group shared notebooks, with pagination and offline-cache options.

Instructions

List accessible Microsoft OneNote notebooks (personal + optional Teams/Group shared notebooks). Calls Microsoft Graph unless offline:true (a recent cached answer is reused only when ONENOTE_CLI_CACHE_SECS is set). include_teams adds one Graph request per joined Team, up to ONENOTE_MAX_TEAMS (default 100), and can take several seconds.

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

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.
include_teamsNoInclude Microsoft Teams/Group shared notebooks (one extra Graph request per joined Team)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description does real work: it discloses that calls hit Microsoft Graph, that caching only engages when ONENOTE_CLI_CACHE_SECS is set, and that include_teams costs one request per joined Team capped at ONENOTE_MAX_TEAMS (default 100) with multi-second latency. It does not cover permissions required or error behavior, but the network-and-cost profile is well surfaced.

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 dense sentences, front-loaded with what is listed, then the network/cache model, then the cost of the expensive option. Every sentence carries information, though the parenthetical env-var clause makes the opening sentence heavy.

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 operational essentials: transport, caching, and the latency/cost of the Teams option. It stops short of describing the returned notebook shape or how cursor paging behaves, which leaves a modest gap.

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 80%, so the schema already carries most parameter meaning; the description still adds value by tying offline to a specific trigger condition (ONENOTE_CLI_CACHE_SECS) and quantifying the request cost and default cap for include_teams. limit and cursor are left entirely 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?

States a specific verb and resource ('List accessible Microsoft OneNote notebooks') and scopes it precisely (personal plus optionally Teams/Group shared). It is clearly distinguishable in resource from list_pages/list_sections, though it never names a sibling alternative explicitly.

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 context is implied rather than stated: offline:true is described as the cache-only path, and include_teams is flagged as expensive ('can take several seconds'). There is no explicit when-to-use rule, no exclusion, and no guidance on choosing between this and sibling listing tools.

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