Skip to main content
Glama

delete_note

Delete a note by its vault-relative path and report any remaining notes that link to it, so you can clean up dangling backlinks. This action is irreversible.

Instructions

Delete a note by its vault-relative path. This is irreversible. Reports any notes that still link to it (dangling backlinks).

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": {
      "path": "<path>"
    },
    "name": "delete_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesVault-relative path to the note to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the disclosure burden and does well: it declares the operation irreversible and states that it reports notes still linking to the deleted note, which tells the agent backlinks are left dangling rather than cleaned up. It omits whether deletion is permanent or goes to trash, and whether any permission is required.

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?

Three short sentences with the action first and the destructive warning second — the most important fact is front-loaded. Nothing is redundant or padded.

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 definition covers the essential risk (irreversibility) and the useful return signal (dangling backlinks). Missing only recovery/trash semantics, which would fully round it out.

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?

Only one parameter, and the schema already documents it at 100% coverage with the same 'vault-relative path' phrasing. The description adds no format examples or edge cases (e.g. leading slash, extension handling), so it merely echoes the schema.

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 plus resource: 'Delete a note by its vault-relative path.' The identifier (a note, addressed by path) distinguishes it from delete_folder without needing the sibling listed. It stops short of an explicit 'use X instead' contrast, so it lands just below the top tier.

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

Usage Guidelines3/5

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

The description implies when to use it (you have a note path and want it gone) but offers no explicit conditions, prerequisites, or alternatives such as rename_note or delete_folder. It does flag irreversibility, which functions as a soft caution rather than selection guidance.

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