Skip to main content
Glama

Delete note

nextcloud_delete_note
DestructiveIdempotent

Deletes a specific Nextcloud note by its note ID via the Notes API. Use it to remove outdated or unwanted notes, with an optional confirm flag for destructive action approval.

Instructions

Delete one note.

DELETE /index.php/apps/notes/api/v1/notes/{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": "nextcloud_delete_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
note_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is carried by structured data. The description adds only the raw HTTP route, and is silent on whether the deletion is permanent or recoverable via trash, what error occurs for a missing note, and what permissions are required.

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?

Two short lines, front-loaded with the action and no filler. It is efficient rather than verbose, though the endpoint line earns little for an agent that never sees HTTP paths.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter destructive mutation with no output schema, the annotations cover the destruction signal and the schema covers confirmation. The description omits durability of the delete and any verification or recovery advice, which are the remaining gaps an agent would care about.

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 50%: the confirm flag is well documented in the schema itself, while note_id has no description. The endpoint template at least signals that note_id is the path identifier of the note, which is a small but real addition beyond the bare integer type.

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?

"Delete one note" names a specific verb and resource, and the trailing endpoint line confirms it targets the Notes app API. It does not distinguish this from siblings like nextcloud_delete_item or nextcloud_delete_card, but the resource noun is specific enough to pick it out of the list.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no reference to alternatives such as nextcloud_get_note to verify the target first or nextcloud_list_trash / nextcloud_restore_trash_item for recovery. The agent must infer everything from the verb alone.

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

Deploy Server

Other Tools