Skip to main content
Glama

Delete note

delete_note
Destructive

Move a note to the trash (a soft delete — the app can still recover it). A note with continuations takes its whole thread with it, so that has to be asked for with cascade=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
cascadeNoAlso delete the continuations of this note.
if_updated_atNoReject the delete if the note changed since you read it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletedYesUUID of the note moved to the trash.
continuations_deletedYesContinuations trashed alongside it, via cascade.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark destructiveHint=true, but the description adds that it's a soft delete (recoverable) and explains the cascade behavior with continuations. This adds context beyond the annotations without contradiction.

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?

Two sentences with zero fluff: the main action is front-loaded, followed by the cascade caveat. Every sentence earns its place.

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 delete operation with an output schema and annotations, the description covers the key behaviors (soft delete, cascade) adequately. The schema handles parameter details, and the output schema covers return format, so nothing critical is missing.

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?

The schema already documents cascade and if_updated_at, and the description enriches cascade by explaining its effect on threads. However, the id parameter lacks a schema description and the description doesn't address it, though it's self-explanatory. Coverage is 67%, so the description partially compensates.

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?

The description clearly states a specific action: 'Move a note to the trash' — a distinct resource and operation. It also clarifies it's a soft delete, adding precision and differentiating it from a hard delete or other note mutations.

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?

The description implies usage (when you want to delete a note) and provides a condition for cascade, but it does not explicitly compare with alternatives like update or replace. The context is clear enough for an agent to know when to invoke it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources