Skip to main content
Glama

Delete Note

brain_delete

Delete one stored note by full ID or a unique 8+ character ID prefix; ambiguous prefixes are refused and deletion cannot be undone.

Instructions

Delete one note by its id or a unique id prefix (8+ characters). No undo. Refuses a prefix that matches more than one note. To replace a note instead, save the new one with SUPERSEDES .

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": {
      "id": "<id>"
    },
    "name": "brain_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesFull id, or a prefix of at least 8 hex characters that matches one note.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses irreversibility ("No undo"), the ambiguity failure mode (refuses a multi-match prefix), and the minimum prefix length. It does not state permissions required or what a successful delete returns, leaving some behavioral surface unstated.

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?

Four short sentences, front-loaded with the action and identifier, followed by the risk note and the error condition. Nothing is padded and each sentence adds a distinct fact.

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 output schema, the description covers irreversibility, the refusal condition, and the replacement alternative. Only permission/auth requirements and the return shape are unaddressed, which is acceptable given the tool's simplicity.

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

Parameters3/5

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

Schema coverage is 100% and the single parameter already documents id as a full id or an 8+ hex-character prefix, so the description largely restates the schema. Baseline 3 applies since the schema does the heavy lifting.

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") plus the accepted identifier forms, and scopes it to exactly one note, which separates it from the search/save siblings without opening their schemas.

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 a real alternative path for the non-delete case ("To replace a note instead, save the new one with SUPERSEDES <id>"), so the agent knows when not to call this. It stops short of naming the sibling tool directly, which is a minor gap but does not obscure the guidance.

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