Skip to main content
Glama
Loopback Training Server

Loopback Training Server

delete_plan_note

Remove an incorrect or duplicated plan note by note ID. Prefer updating notes or setting an expiry date when history matters, because deletion discards it.

Instructions

Delete a plan note. Use only when the note was incorrect or duplicated. Prefer update_plan_note (or setting expires_at for temporal notes) over deletion — deleted notes lose history.

Args: note_id: UUID of the note to delete.

Returns: Confirmation with the deleted note id.

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_plan_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
note_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does disclose the key trait: deletion is destructive and irreversible ('deleted notes lose history'), which steers agents toward softer edits. It also says what is returned (confirmation with the deleted id). It does not cover permissions/authorization needs or what happens if note_id is unknown or already deleted, leaving a real gap for a destructive operation.

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?

Front-loaded with purpose, then usage restriction, then the alternative, then args and returns — the ordering is helpful and nothing is padded. The Args/Returns blocks are slightly verbose versus the prose but earn their place given there is no output 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?

For a one-parameter destructive tool with no annotations and no output schema, the description covers purpose, eligibility conditions, preferred alternatives, the consequence of the call, and the return shape. Remaining gaps — auth requirements and failure mode on an invalid or already-deleted id — are modest but real for a delete operation.

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 0% (the schema only says string, no description), and the description compensates by identifying note_id as the UUID of the note to delete, adding format/identity meaning the schema lacks. With a single required parameter fully explained, only minor detail (validation behavior, whether it must reference an existing note) is missing.

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?

Specific verb+resource ('Delete a plan note') stated in the first sentence, and it is explicitly distinguished from the sibling update_plan_note and the expires_at alternative. An agent can tell immediately this is the destructive removal path rather than the edit path.

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 when-to-use condition ('only when the note was incorrect or duplicated') and names the preferred alternatives (`update_plan_note`, or setting `expires_at` for temporal notes). Both the positive trigger and the when-not case are covered, with a stated rationale (losing history).

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