Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSL_CERT_FILENoPEM file loaded as extra trusted roots; replaces the OS trust store for native-roots lookup.
ONENOTE_CLIENT_IDNoMicrosoft Entra application client ID for persistent environment configuration.
ONENOTE_TENANT_IDNoMicrosoft Entra tenant ID for persistent environment configuration.
ONENOTE_TOKEN_FILENoPath to a token file supplied via environment.
NODE_EXTRA_CA_CERTSNoPEM file loaded as extra trusted roots, compatible with existing Node.js setups.
ONENOTE_ACCESS_TOKENNoOpaque access token supplied via environment.
ONENOTE_EXTRA_CA_PEMNoPEM file containing extra trusted root certificate(s).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
whoamiA

Return the currently signed-in Microsoft 365 user profile and the active auth mode.

list_notebooksA

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.

list_sectionsA

List OneNote sections across all notebooks or within a specific notebook. Calls Microsoft Graph unless offline:true. Without notebook it first lists every notebook, including Teams notebooks, then each notebook's sections: many requests on large accounts, so pass notebook when you can.

list_pagesA

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.

get_pageA

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.

create_notebookC

Create a new Microsoft OneNote notebook.

rename_notebookA

Rename an existing OneDrive or SharePoint OneNote package by explicit storage IDs. Supply a token with file write permission. The returned ID is the drive item's ID.

create_sectionC

Create a new OneNote section inside a notebook.

rename_sectionA

Rename an existing section under /me/onenote and verify its ID and parent after the write.

create_pageC

Create a new OneNote page from Markdown with optional local inline image paths.

copy_pageA

Copy a page via Microsoft Graph and verify its new ID and section. The original page and its links stay in place. The copy runs asynchronously on the server and wait_seconds polls it. To check a pending or interrupted copy, pass its operation_url with the original page and section.

append_pageB

Append Markdown blocks and optional inline images to an existing OneNote page.

update_blockA

Replace a block with Markdown, edit a block text substring, or update the page title/body. Get current Graph element IDs and baseline content from get_page.

update_pageC

Alias for update_block. Update a page title or body, replace a block, or edit text within a block.

toggle_todoB

Set or toggle a OneNote checkbox by block_id or zero-based todo_index.

delete_pageC

Delete a OneNote page. Requires confirm: true to prevent accidental deletion.

search_pagesA

Search cached OneNote pages via local SQLite FTS5 (onenote_fts); no network by default. refresh:true first runs a full account sync (many Graph requests, slow on large accounts), so avoid it in loops.

download_resourceA

Download an embedded image or file attachment from a OneNote page and return { ok, path, file_name, mime_type, size_bytes, is_image }. Downloads the full binary to disk.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 18 tools

Disambiguation4/5

Most tools target a distinct resource+action pair (notebook/section/page × list/create/rename/delete), so an agent can pick correctly in the common case. The one real overlap is update_page, which is explicitly documented as an alias for update_block, giving two names for the same operation and a redundant entry in the surface. get_page vs search_pages vs append_page are clearly differentiated by description.

Naming Consistency4/5

Nearly everything follows a predictable snake_case verb_noun pattern (list_pages, create_section, rename_notebook, delete_page, download_resource). The only deviation is 'whoami', which uses no verb_noun structure and stands out from the rest of the surface. There is also a slight inconsistency in that update_page and update_block differ in granularity within the same verb family.

Tool Count4/5

At 18 tools the set sits at the upper edge of comfortable, but the count is largely earned: three resource types needing lifecycle operations plus page-content editing (append_page, update_block, toggle_todo), search, resource download, and an auth check. The only clearly unearned slot is the update_page alias, which adds a tool without adding capability.

Completeness4/5

Page-level coverage is strong (create, read, append, update, copy, toggle_todo, delete, search), and notebooks/sections support list/create/rename. The gaps are delete_notebook and delete_section — no terminal operation for two of the three core resources — plus no page move, though an agent can fall back to the OneNote UI or copy+delete for those. Search being cache-only by default is also a soft limitation but is recoverable with refresh.

Maintenance

ActivityNo data
ResponsivenessOutdated data