Skip to main content
Glama
Baraja MCP Server

Baraja MCP Server

by jbkroner

delete_notes

Permanently delete notes and their associated cards from a local Anki collection by providing note IDs and confirming the irreversible action.

Instructions

Permanently delete notes and all their associated cards. This action cannot be undone!

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_ids": "<note_ids>",
      "confirm": "<confirm>"
    },
    "name": "delete_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true to confirm deletion
note_idsYesList of note IDs to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/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 full behavioral burden, and it does disclose the two most consequential traits: the delete is permanent and it cascades to associated cards. It does not mention permission requirements or what happens if some note_ids are invalid.

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 short sentences, with the destructive scope front-loaded and the irreversibility warning placed where it will be read before invocation. Nothing is redundant.

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 two-parameter destructive tool with no output schema and no annotations, the description covers the critical risks well. A brief note on partial-failure or return behavior would close the remaining gap.

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 description coverage is 100% and both parameters are documented there, including that confirm must be true. The description adds no meaning about note_ids ordering, batch limits, or confirm semantics beyond what the schema already states, so the baseline of 3 applies.

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 (delete) and resource (notes) plus the important scope detail that associated cards are also removed and the effect is permanent. That combination is enough for an agent to tell it apart from update_note, get_notes, or the suspend/reset siblings without opening another 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?

The permanence warning implies this is a last-resort tool, but there is no explicit when-to-use guidance and no named alternative such as suspend_cards or reset_card_progress, which would let an agent pick a reversible option when one is appropriate.

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