Skip to main content
Glama

batch_add_card

Create multiple flashcards simultaneously to save time and reduce API calls. Process cards sequentially with partial success handling and HTML formatting support.

Instructions

Create multiple flashcards in one operation. Each card has same structure as add_card tool. Returns JSON with 'successful' (count), 'failed' (count), and 'errors' array (details of failures if any). More efficient than calling add_card multiple times. Use HTML formatting (not markdown). Processes cards sequentially; partial success possible (some cards created, some failed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardsYesREQUIRED. Array of card objects to create. Each card must have: deckName, modelName, fields. Optional per card: tags, audio, picture. All cards are processed; failures don't stop remaining cards.
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: returns JSON with success/failure counts and error details, processes cards sequentially, allows partial success, and specifies HTML formatting requirements. It doesn't mention rate limits, authentication needs, or whether this is a read-only or destructive operation, but covers the essential execution behavior.

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 efficiently structured with zero waste. Each sentence adds distinct value: purpose, parameter relationship, return format, efficiency benefit, formatting requirement, and processing behavior. The information is front-loaded and appropriately sized for the tool's complexity.

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 batch creation tool with no annotations and no output schema, the description provides good contextual completeness. It explains the return format, processing behavior, efficiency rationale, and formatting requirements. The main gap is lack of explicit safety/disruption information (whether this is a read-only or destructive operation), but otherwise covers what's needed for effective use.

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%, so the schema already fully documents the single 'cards' parameter. The description adds minimal value beyond the schema by mentioning 'same structure as add_card tool' and 'partial success possible', but doesn't provide additional parameter semantics. Baseline 3 is appropriate when schema does the heavy lifting.

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 clearly states the verb ('Create multiple flashcards') and resource ('flashcards'), specifies it's a batch operation, and distinguishes it from the sibling 'add_card' tool by mentioning efficiency gains and different behavior. The purpose is specific and well-differentiated.

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?

Explicitly states when to use ('More efficient than calling add_card multiple times') and provides clear context about HTML formatting requirements and sequential processing with partial success. The description gives practical guidance on when this tool is preferable to its alternative.

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

Install Server

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

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