Skip to main content
Glama

Save cards as a deck

save_deck

Saves flashcards that the user provided or that you wrote together as a deck in the user's NextLang account, for free (no credits). Use it to turn a word list, a table or an export the user pasted into a deck. Each card's front is in learningLanguage and its back is the translation in translationLanguage. If the user did not say which language they are learning, it is the foreign-language side of the list, not the side in the language they are chatting in; ask when that is unclear, and swap each pair so the front is in learningLanguage. Repeated fronts are dropped and reported as skipped. For an .apkg (Anki) or .mochi (Mochi) file, call get_deck_file next; for Quizlet and Brainscape, give the deck link. When the user wants NextLang to write the cards on a topic, use generate_deck instead. A deck is for a flashcard app; to add words to the user's NextLang review schedule, so they come up when the user asks to be quizzed, use add_vocabulary_items instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardsYes
levelNoCEFR level of the words. Pass it only when the user named a level; otherwise leave it out and b1 is used
deckNameYesName of the deck
platformYesFlashcard app the deck is for
learningLanguageYesLanguage being learned; the front of each card
translationLanguageYesLanguage of the backs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses meaningful behaviors: saving is free and uses no credits, repeated fronts are dropped and reported as skipped, and language direction is normalized by swapping pairs so the front is in learningLanguage. It also explains how to disambiguate the learning language when the user did not specify it.

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?

The description is long but every sentence earns its place, covering purpose, language-direction rules, duplicate handling, and sibling-tool routing. It is front-loaded with the core purpose and then branches into usage distinctions, making it easy for an agent to extract the key facts.

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

Completeness5/5

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

For a 6-parameter tool with no output schema, the description covers all operational context an agent needs: what input formats are acceptable, how to handle ambiguous language direction, what happens to duplicates, and which follow-up tool or action applies per platform. No critical gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high (83%), so the baseline is already solid. The description adds real value by explaining that front must be in learningLanguage and back in translationLanguage, and by giving the rule to ask or swap when language direction is unclear. It does not add much for deckName or level, but the schema already documents those adequately.

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?

The description states a specific verb and resource: it saves user-provided or co-written flashcards as a deck in the user's NextLang account. It also distinguishes itself from siblings by naming generate_deck, add_vocabulary_items, and get_deck_file as different operations, so an agent can immediately tell which tool is which.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance: turn a pasted word list, table, or export into a deck. It also provides exclusions and alternatives: use get_deck_file for .apkg/.mochi files, give a link for Quizlet/Brainscape, use generate_deck for topic-based card writing, and use add_vocabulary_items for the review schedule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources