Skip to main content
Glama

confirm_delete_note

Deletes a note from the demo list only after the user confirms via a yes/no prompt. Declining or cancelling returns a normal result with nothing deleted.

Instructions

Delete one note from the demo note list, after asking the user to confirm. The first call returns an input request (a yes/no form, MCP 2026-07-28 elicitation) instead of a result; the client shows it to the user and calls again with the answer. Confirming deletes the note and returns what is left; declining, cancelling or answering no returns a normal result saying nothing was deleted, never an error. The list is a fixed in-memory demo (groceries, ideas, todo) rebuilt on every call, so nothing is really lost; a name that is not on the list returns a normal result saying so, without asking. Needs a client that speaks MCP 2026-07-28 and supports elicitation; older clients get a tool error that says so.

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

Input Schema

NameRequiredDescriptionDefault
noteYesname of the note to delete: groceries, ideas or todo

Output Schema

NameRequiredDescriptionDefault
resultYeswhat was deleted and what remains, or that nothing was deleted

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the entire burden and does so thoroughly: it discloses the two-call elicitation protocol, the exact outcome of each branch (confirm deletes, decline/cancel/no deletes without error), the ephemeral nature of the in-memory list, and the old-client failure mode. This is behavior an agent could not infer from the schema alone.

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?

The primary action and confirmation requirement are front-loaded, and each following sentence covers a distinct concern (call protocol, branch outcomes, data ephemerality, invalid input, client requirement) with no filler. It is dense but on the long side, with the compatibility note overlapping slightly with the elicitation sentence.

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

Completeness5/5

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

For a non-trivial tool with a multi-turn interaction, no annotations, and no alternative routing, the description covers everything an agent needs to call it correctly: prerequisites, call sequence, per-branch returns, and error behavior. An output schema exists, yet the description still usefully flags that declining is a normal result rather than an error.

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% and the schema already enumerates the valid note names, so the baseline is a 3. The description adds meaning above that by specifying what happens when the supplied name is not on the list — a normal 'not found' result with no confirmation prompt — which changes how an agent should interpret the response.

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 note from the demo note list') plus the defining twist ('after asking the user to confirm'), so an agent knows exactly what the tool does and that deletion is gated. No sibling in the list overlaps with it, and the demo scoping is made explicit up front.

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 clear preconditions (client must speak MCP 2026-07-28 and support elicitation, otherwise a tool error explains it) and an edge-case rule (an unknown name returns a normal result without asking). It stops short of naming an alternative delete path or explicitly saying when not to use it, so it lands just below the top band.

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