Skip to main content
Glama

update_card_preview

Preview changes to a Mochi flashcard before applying them, showing differences between current and updated content and tags for user confirmation.

Instructions

Preview changes to a card with diff. IMPORTANT: After calling this, you MUST show the diff to the user and ask "Do you want to apply this change?" WAIT for explicit confirmation before calling apply_update_card.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardIdYesCard ID to update
contentYesNew markdown content
tagsNoNew tags (replaces existing)

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/NZ99/mochi-mcp'

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