Skip to main content
Glama

delete_page

Deletes a OneNote page after explicit confirmation to prevent accidental removal; optionally narrow the page lookup by section.

Instructions

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

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": {
      "page": "<page>",
      "confirm": "<confirm>"
    },
    "name": "delete_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYes
confirmYes
sectionNoOptional section name, Notebook/Section path, ID, or scoped key to narrow title lookup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the destructive nature and explains the purpose of the confirm gate ('to prevent accidental deletion'), which is genuinely useful. It does not state whether deletion is reversible (recycle bin), what permissions are needed, or what happens if the page identifier is ambiguous or missing.

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?

Two sentences, front-loaded with the action, with no filler. It is arguably over-terse for a destructive operation, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive mutation tool with zero annotation coverage, no output schema, and a largely undocumented parameter set. For that complexity, the description should address reversibility, identifier format for `page`, and failure behavior — none of which appear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, so the description must compensate. It meaningfully explains the `confirm` flag's purpose, but adds nothing about `page` — whether it is a title, ID, or path — which is the most important ambiguity for a delete operation. The `section` param's narrowing behavior is documented only in 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?

The description gives a specific verb and resource: 'Delete a OneNote page.' The verb is unique among the listed siblings (append, copy, create, get, update, search), so differentiation is achievable from the description alone, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as update_page or append_page, and no mention of preconditions like verifying the page exists first. The only usable signal is the required `confirm: true`, which functions as a prerequisite but is not framed as usage guidance.

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