Skip to main content
Glama
eddyficial

onenote-mcp-python

by eddyficial

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
onenote_hierarchyA

List the OneNote hierarchy: notebooks, section groups, sections, and pages with their IDs. Use scope 'notebooks' for a quick overview, 'sections' to find section IDs for page creation, 'pages' for the full tree including page IDs.

onenote_get_pageA

Read a OneNote page: returns its title and text content (flattened from the page XML). Get page IDs from onenote_hierarchy or onenote_search.

onenote_searchA

Full-text search across OneNote pages. Returns matching pages with their IDs.

onenote_knowledge_digestA

Build a source-grounded executive or detailed digest across a page, section, notebook, or all open notebooks. Returns per-page key points plus action items, decisions, risks, and questions for the client to synthesize.

onenote_extract_insightsA

Extract action items, owners, due dates, decisions, risks, blockers, and open questions from a scoped set of OneNote pages.

onenote_health_reportA

Audit a notebook or section for duplicate candidates, stale pages, untitled/empty pages, ownerless action items, and organization recommendations with explainable confidence scores.

onenote_template_previewA

Preview a trusted page template without modifying OneNote. Available templates: meeting, project, decision_log, weekly_review.

onenote_create_from_templateA

Create a page from a trusted template after preview. preview_only defaults true; set false only after the user approves the rendered content.

onenote_weekly_reviewA

Build a weekly-review source pack from recent/scoped notes, including key points, decisions, risks, and incomplete action items. This is read-only and does not create a page.

onenote_create_pageA

Create a new page in a OneNote section, optionally with a title and body text. Get the section ID from onenote_hierarchy with scope 'sections'.

onenote_append_pageA

Append text to the end of an existing OneNote page as a new outline block. Newlines become separate paragraphs. Never overwrites existing content.

onenote_update_pageA

Update a page's body content. mode 'replace' (default) clears the existing body outlines and writes the new content; mode 'append' adds to the end. The page title is preserved. Newlines become separate paragraphs.

onenote_insert_rich_contentA

Append rich content to a page: a well-formed XHTML fragment and/or an image from a local file path. Supported blocks: h1-h6 (rendered as sized bold text), p, ul/ol with nested lists, table/tr/th/td, pre (Consolas lines), blockquote, div (recursed). Inline: b/strong, i/em, u, code, a href, span with style. Multiple sibling root elements are fine. The fragment must parse as XML — self-close void tags and match every open tag. Provide html and/or image_path.

onenote_rename_pageA

Rename an existing page (sets its title).

onenote_move_pageA

Move a page to another section. IMPORTANT: OneNote assigns the moved page a NEW object ID — use the 'page_id' returned by this tool for any further operations on the page; the old ID becomes invalid.

onenote_reorder_pagesA

Change page order within a section. Provide either before_page_id or after_page_id as the reference the moved page should sit before/after.

onenote_create_sectionA

Create a new section in a notebook (or inside a section group). Get the notebook/group ID from onenote_hierarchy. Returns the new section_id.

onenote_create_section_groupA

Create a section group inside a notebook or another section group. Returns section_group_id.

onenote_create_notebookA

Create a new notebook. By default it is created in OneNote's default notebook folder; pass an absolute 'path' folder to override. Returns notebook_id.

onenote_rename_sectionA

Rename an existing section.

onenote_move_sectionA

Move a section into a different notebook or section group (the target parent).

onenote_reorder_sectionsA

Change section tab order within a notebook or section group. Provide either before_section_id or after_section_id as the reference.

onenote_navigateA

Open a notebook, section, or page in the visible OneNote window. This changes what the user sees on screen — use only when the user asked to open or show something.

onenote_exportA

Export a page or section to a file. format: pdf (default), html, docx, mhtml, xps, or onenote. target_path is the absolute output file path.

onenote_delete_pageA

Delete a OneNote page by its object ID. By default the page is moved to the notebook's recycle bin (recoverable); pass permanent:true to erase it outright. Destructive — always confirm you have the right page ID (from onenote_hierarchy or onenote_search) before calling. Deletes one page per call.

onenote_delete_sectionA

Delete a section. Moves it to the notebook's recycle bin by default (recoverable); pass permanent:true to erase. Destructive — confirm the section ID first. Deletes the whole section and all its pages.

onenote_delete_notebookA

Delete/close a whole notebook. Highly destructive — confirm the notebook ID explicitly with the user first. Recoverable via recycle bin by default; permanent:true erases.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eddyficial/onenote-mcp-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server