Skip to main content
Glama

Share a deck publicly

share_deck

Publish a signed-in user's Anki deck to AnkiWeb's public catalogue after a limits-checked preview and explicit confirmation.

Instructions

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."

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deckYesThe deck's id or its exact full name, as list_my_decks gives them.
tagsNoUp to 60 characters in all, joined by spaces.
titleNoThe listing's title, up to 60 characters. Required unless AnkiWeb has one from an earlier share.
confirmNotrue publishes. Only after the user has seen the preview and agreed.
supportUrlNoA page where users can ask about the deck, up to 180 characters.
descriptionNoMarkdown, up to 65000 characters. Required unless AnkiWeb has one from an earlier share.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
deckYes
tagsYes
titleYes
statusYes`pending` means AnkiWeb accepted the share and is still processing it.
problemsYesEach one blocks publishing until it is fixed.
sharedIdNo
supportUrlYes
descriptionYes
sharesPerWeekYes
sharesInLast7DaysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.2

TDQS

A4.8/5.0
Behavior5/5

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

Annotations convey only the generic write/openWorld/no-destructive profile; the description supplies the operationally critical facts an agent cannot infer — that the default call is a non-publishing dry run, that publishing makes a legal declaration on the user's behalf (quoted verbatim), that AnkiWeb limits are validated during the preview, and that re-sharing is refused. No contradiction with readOnlyHint=false or idempotentHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the publish action and its audience, then the confirm flow, then the declaration, then edge cases. The full legal declaration quote is long but is precisely the text the agent must surface, so it earns its space; the prose is otherwise tight with no filler.

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 six-parameter mutation tool with an output schema present, the description covers everything the agent needs to decide, sequence, and gate the call: auth requirement, dry-run/preview semantics, user-confirmation gate, re-share refusal, and the declaration the user is accepting.

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 100%, so the baseline is 3, but the description adds real meaning to `confirm` (its absence yields a preview rather than a publish) and instructs that `deck` values come from list_my_decks. It adds little for tags/title/supportUrl/description beyond the schema, so it lands at 4 rather than 5.

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?

Opens with a specific verb+resource ('Publish one of the signed-in user's decks to AnkiWeb's public shared-deck catalogue') and names the scope (under their account, publicly downloadable). This is clearly distinct from siblings like download_shared_deck or search_shared_decks, which move decks in the other direction.

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 spells out the two-phase invocation contract explicitly: calling without `confirm` returns a preview that must be shown to the user, and `confirm: true` is only called after explicit user go-ahead. It also states a when-not condition (already-shared decks are refused) and a precondition (needs an AnkiWeb session).

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