Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
server_statusA

Report the server version, where sessions and downloads are kept, and whether an AnkiWeb session is stored for each account. With validate, also ask AnkiWeb whether each session, or the one for account, is still signed in.

search_shared_decksA

Search AnkiWeb's shared deck catalogue by title. AnkiWeb returns every match at once, so the results are sorted and paged here. Needs no AnkiWeb session. AnkiWeb rate-limits searches to about four a minute, and a refused address can stay refused for over an hour while get_shared_deck and download_shared_deck keep working; repeating a search within ten minutes is served from cache. The notes, audio and images counts are AnkiWeb's own, and audio and images have been seen at 0 for a deck whose sample notes carry both.

get_shared_deckA

Read a shared deck's AnkiWeb listing: description, tags, size, ratings, sample notes with their media, and reviews. Needs no AnkiWeb session. The notes, audio and images counts are AnkiWeb's own, and audio and images have been seen at 0 for a deck whose sample notes carry both.

download_shared_deckA

Download a shared deck's .apkg from AnkiWeb to disk and return where it was saved. An existing file is never replaced: the new one gets a numbered name. Works without an AnkiWeb session until AnkiWeb asks for one, which it does after a few downloads; then the signed-in session is used. via says which one the download went through. AnkiWeb licenses shared decks for personal use only.

convert_deck_to_markdownA

Convert a local .apkg, such as one download_shared_deck saved, to a Flashcard Markdown file the assistant can read. It goes in a new folder named after the package, with the images its cards use under .images/; nothing existing is replaced. Only basic front-and-back notes convert: cloze and other note types are counted in diagnostics, and review history is not kept.

list_my_decksA

List the decks synced to the signed-in AnkiWeb account, parents before their subdecks, with due counts and card totals. Needs an AnkiWeb session.

list_my_shared_decksA

List the decks the signed-in user has shared on AnkiWeb, with downloads and ratings. Needs an AnkiWeb session.

share_deckA

Publish one of the signed-in user's decks to AnkiWeb's public shared-deck catalogue, under their account. Anyone can then find and download it.

Without confirm, nothing is published: the call checks the deck and the listing against AnkiWeb's limits and returns a preview. Show that preview to the user and get their explicit go-ahead before calling again with confirm: true.

Calling with confirm: true publishes the deck and makes AnkiWeb's declaration on the user's behalf: "I declare that the material I am sharing is entirely my own work, or I have obtained a license from the intellectual property holder(s) to share it here."

With more than one AnkiWeb account stored, the preview names the one it publishes from, and the confirmed call must name it in account.

A deck that is already shared is refused. Needs an AnkiWeb session.

unshare_deckA

Remove one of the signed-in user's listings from AnkiWeb's public shared-deck catalogue, with its ratings and reviews. It cannot be undone. The deck in the user's collection is not touched.

Without confirm, nothing is removed: the call finds the listing and returns a preview. Show that preview to the user and get their explicit go-ahead before calling again with confirm: true.

With more than one AnkiWeb account stored, the preview names the one the listing belongs to, and the confirmed call must name it in account.

Needs an AnkiWeb session.

delete_deckA

Delete one of the signed-in user's decks, with its subdecks and every card in them, from their AnkiWeb collection. The deletion reaches every device on its next sync and cannot be undone.

Without confirm, nothing is deleted: the call finds the deck and returns a preview of what goes. Show that preview to the user and wait for their explicit go-ahead before calling again with confirm: true.

The confirmed call must name the deck by its numeric id, as the preview gives it, never by name.

With more than one AnkiWeb account stored, the preview names the one the deck belongs to, and the confirmed call must name it in account.

Needs an AnkiWeb session.

close_sessionA

Close the server's headless browser to free its memory, once any call in progress has finished: the one for account, or without it every one open. The AnkiWeb session stays stored, and the next call that needs the browser starts it again. A browser also closes by itself after five idle minutes.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 11 tools

Disambiguation5/5

Each tool has a clear, distinct role: search/get/download shared decks are separate stages, list_my_decks and list_my_shared_decks are clearly differentiated, and share/unshare/delete are distinct account actions. Status, session cleanup, and local conversion do not overlap with the AnkiWeb catalogue tools.

Naming Consistency4/5

Names use consistent snake_case and mostly follow verb_noun patterns such as search_shared_decks, download_shared_deck, and delete_deck. The main exception is server_status, which is a noun phrase rather than an action verb.

Tool Count5/5

The set has 11 tools, which is well within a reasonable range and each tool corresponds to a meaningful AnkiWeb or deck-conversion operation. There is no obvious padding or missing category that would justify a different count.

Completeness4/5

The surface covers the shared-deck lifecycle well: search, inspect, download, share, unshare, and delete, plus account deck listings and local conversion. Minor gaps remain around account/session setup or deck update/import operations, but core workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessOutdated data