Skip to main content
Glama

remove_empty_notes

Deletes empty notes from Anki decks to optimize storage and streamline organization, ensuring only meaningful content is retained.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration and handler for the 'remove_empty_notes' MCP tool. The handler calls ankiClient.note.removeEmptyNotes() to remove empty notes and returns a success message.
    server.tool('remove_empty_notes', {}, async () => { try { await ankiClient.note.removeEmptyNotes(); return { content: [ { type: 'text', text: 'Successfully removed all empty notes from the collection', }, ], }; } catch (error) { throw new Error( `Failed to remove empty notes: ${error instanceof Error ? error.message : String(error)}` ); } });

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arielbk/anki-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server