Skip to main content
Glama

Delete Planner Note

delete_planner_note
DestructiveIdempotent

Delete one of your Canvas planner notes, with a preview and confirmation step to prevent accidental removal. Only affects your own notes.

Instructions

Delete one of your Canvas planner notes. This only affects your own notes. [NEEDS CONFIRMATION: call it once for a preview and a confirm_token, show the preview to the user, and only if they say yes call it again with the same arguments, confirm=true and that confirm_token. Apps that can ask the user directly show a confirmation instead.]

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": {
      "note_id": "<note_id>"
    },
    "name": "delete_planner_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet to true together with confirm_token to carry out a request you already previewed.
note_idYesPlanner note ID, from list_planner_notes.
confirm_tokenNoThe one-time token from the preview. Only use it after the user has said yes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.0
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Set to true together with confirm_token to carry out a request you already previewed.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / confirm_token
      Added value: +{
      +  "description": "The one-time token from the preview. Only use it after the user has said yes.",
      +  "type": "string"
      +}
  2. Addedv1.2.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true and idempotentHint=true; the description adds the critical non-obvious behavior that the first invocation is a non-mutating preview and the mutation only occurs on the confirmed second call. That is exactly the extra context an agent needs to avoid an unintended irreversible delete.

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?

Purpose and scope are front-loaded in the first two short sentences, with the longer confirmation block bracketed and clearly separated. The confirmation block is necessarily detailed but slightly repetitive in restating the confirm/confirm_token pairing twice.

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?

For a destructive single-record mutation with no output schema, the description covers purpose, scope, and the full confirmation workflow, and the schema already points to list_planner_notes for the ID. The one remaining gap is that it never states the deletion is permanent and irreversible, which is notable for a destructive tool.

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 100%, so per-parameter documentation already exists and the baseline is 3. The description goes beyond that by explaining how confirm, confirm_token, and the arguments interact across two calls (same arguments, token from the preview, only after user consent), adding procedural meaning the schema fields do not convey on their own.

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 ('Delete one of your Canvas planner notes') and adds scope ('This only affects your own notes'), which cleanly distinguishes it from create_planner_note and update_planner_note in the sibling list without needing the schema.

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

Usage Guidelines5/5

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

Gives an explicit two-step protocol: call once to preview and obtain a confirm_token, show the preview to the user, and only re-call with the same arguments plus confirm=true and the token after the user agrees. It also names the exception path for apps that can prompt the user directly, so there is no ambiguity about when to use which mode.

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

Deploy Server

Other Tools