Skip to main content
Glama

delete_note

Destructive

Removes a note file from a vault. Errors if missing unless missing_ok=True; lock files are preserved.

Instructions

Delete a note file. Errors when missing unless missing_ok=True. Lock files are intentionally left in place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesVault-root-relative note path
vaultYesVault name
missing_okNoReturn success when already absent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely non-obvious behavior: the default error-on-missing contract and the deliberate decision to leave lock files in place after deletion. It stops short of stating irreversibility or any required permission/confirmation, which for a destructive tool would be the remaining gap.

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, front-loaded with the action, with zero filler. Each sentence carries a distinct and useful fact (action, error contract, side effect).

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-target delete with no output schema, the description covers the action, the failure mode, the opt-out flag, and the notable lock-file side effect. It omits confirmation/permission expectations and recovery options, but nothing critical for correct invocation is missing.

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 the schema already documents all three parameters. The description nonetheless adds meaning by expressing missing_ok as 'Errors when missing unless missing_ok=True', which makes the tool's default error behavior explicit in a way the schema's 'Return success when already absent' only implies.

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 a note file'), which cleanly separates it from delete_vault and from non-destructive siblings like write_note or move_note. The agent knows exactly what the call does without opening 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 Guidelines3/5

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

Usage is implied by the purpose and the description does give the failure condition ('Errors when missing unless missing_ok=True'), which helps the caller decide how to invoke it. However, there is no explicit when-to-use/when-not guidance or routing to an alternative (e.g. restore, move_note) for a destructive operation.

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