Skip to main content
Glama

toggle_todo

Set or toggle a OneNote checkbox by block ID or zero-based to-do index, with optional completed state, conflict checking, and compact responses.

Instructions

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

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>"
    },
    "name": "toggle_todo"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYes
forceNoOverride conflict check when true
compactNoDefault true. Set false to include the full page object in the response.
sectionNoOptional section name, Notebook/Section path, ID, or scoped key to narrow title lookup
block_idNo
completedNoSet this state; omit to toggle
todo_indexNo
expected_contentNoBaseline to-do block content from prior read; aborts with conflict if remote changed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses very little. It signals a mutation on a checkbox but says nothing about permissions, what happens on a name/index mismatch, or how the toggle interacts with the conflict-abort implied by expected_content. The one useful detail is that todo_index is zero-based and that completed omits-to-toggle, but that is thin for a write operation.

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?

A single front-loaded sentence with the targeting mechanism stated immediately and zero padding. Nothing is redundant or buried.

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?

For an 8-parameter mutation tool with no annotations and no output schema, the description is too sparse. It omits the required page parameter, the conflict-abort semantics, the compact default, and the fact that omitting completed produces a toggle rather than a no-op, all of which matter for correct invocation.

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 only 63%, and the three undocumented parameters are exactly page, block_id, and todo_index. The description compensates by declaring the block_id/todo_index alternative and specifying zero-based indexing, which is otherwise absent from the schema. It does not clarify the page parameter or the expected_content/force pairing, so it stops short of full coverage.

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 pair (set/toggle) and a precise resource (OneNote checkbox), plus the two ways to target the block. An agent knows exactly what operation this performs. It does not, however, distinguish itself from the sibling update_block, which could plausibly also touch block content.

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?

No when-to-use or when-not-to-use guidance is given, and no alternative tool is named. It does not explain when to prefer block_id over todo_index, nor when to supply force or expected_content for conflict handling.

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