Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOOGLE_CLOUD_API_KEYNoAPI key for Google Cloud Text-to-Speech API. Required for high-quality audio generation features.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_decks

List all available Anki decks.

get_deck_notes

Get all notes/cards from a specific deck.

get_deck_sample

Get a random sample of notes from a specific deck to understand typical note structure.

get_deck_note_types

Get the note types (models) and their field definitions used in a specific deck.

create_note

Create a new note in the specified deck with the given fields and tags.

update_note

Update specific fields of an existing note. Perfect for adding audio or other content to existing cards.

create_deck_with_note_type

Create a new deck and optionally a new note type with specified fields and card templates.

list_note_types

List all available note types (models) with their fields and card templates.

generate_audio

Generate audio file from text using Google Cloud Chirp TTS API and return base64 encoded audio data.

create_notes_bulk

Create multiple notes in a single batch operation for efficiency. Handles duplicates gracefully by reporting which notes are duplicates while still creating non-duplicate notes.

IMPORTANT: The auto_audio parameter must be passed as a dictionary/object structure with fields: enabled, source_field, target_field, language, and voice. Do NOT pass it as a JSON string. Set to null (or omit) to disable automatic audio generation. Example auto_audio object: { "enabled": true, "source_field": "Hanzi", "target_field": "Audio", "language": "cmn-cn", "voice": "cmn-CN-Chirp3-HD-Achernar" }
save_media_file

Save base64 encoded media data as a file in Anki's media collection for use in cards.

generate_and_save_audio

Generate audio from text and save it to Anki's media collection, returning filename for use in cards.

update_notes_bulk

Update multiple notes in a single batch operation for efficiency. Each update should contain note_id and fields to update.

find_similar_notes

Find notes that contain the search text as a substring in any field. Simple and reliable text matching.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/amidvidy/anki-mcp'

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