Skip to main content
Glama

copy_section

Copies a OneNote section and all its pages into a destination notebook or section group, with optional renaming and guardrail-blocked pages excluded.

Instructions

Copy a section (with all its pages) into a notebook or section group. Work/school accounts copy in the background (check with get_operation); personal accounts copy page by page immediately (slower for big sections). Pages blocked by the guardrail are left out.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "toNotebook": "<toNotebook>"
    },
    "name": "copy_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionNoSection name
notebookNoNotebook name
renameAsNoName for the copy
sectionIdNoSection id (takes precedence over names)
toNotebookYesDestination notebook name
sectionGroupNoSection group name, to pick a section inside a group
toSectionGroupNoDestination section group name (inside toNotebook)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, open-world write, so the description's added value is in the async/account-dependent execution model and the partial-copy caveat ('pages blocked by the guardrail are left out') — important for verifying the result. It stops short of explaining conflict handling when the destination section or name already exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with what gets copied and where, then the execution-mode caveat and the guardrail caveat. No filler and nothing that repeats the schema.

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?

With seven params fully described and no output schema, the description covers the operation's key behavior: async vs synchronous copy, the follow-up tool, and partial results. A note on renameAs defaults or destination collision behavior would close the remaining gap.

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 100%, so all seven parameters are already documented, including precedence of sectionId over names. The description only loosely frames the destination concept ('a notebook or section group') without adding syntax or selection logic beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Copy a section') plus the critical scope detail 'with all its pages' and the destination types (notebook or section group). That scope distinction is what separates it from the sibling copy_page, so an agent can choose correctly without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives conditional context for the two account types and explicitly directs the agent to get_operation to check background copy status on work/school accounts. It does not explicitly say when to prefer copy_page over this tool, though the 'with all its pages' phrasing implies the distinction.

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