Skip to main content
Glama

Publish a deck

publish_deck
Idempotent

Turn a deck's shareable link on. Rebuilt and generated decks go live at their share_url as soon as they are finished; use this when the user made one private and wants the link back. Not destructive and safe to repeat.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "deck_id": "<deck_id>"
    },
    "name": "publish_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
deck_idYesThe deck id (from get_rebuild_status, list_decks or get_deck).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false and idempotentHint=true, so "Not destructive and safe to repeat" is largely restatement. However, the description adds real behavior the annotations cannot convey: the effect lands at share_url, and rebuilt/generated decks self-publish on completion, which tells the agent when this call is actually needed.

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?

Three compact sentences with the state change front-loaded and the usage condition second. The closing safety sentence slightly duplicates the annotation hints, which is the only wasted space.

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 one-parameter mutation with rich annotations and no output schema, the definition covers purpose, trigger, effect location, and repeat-safety — enough to call it correctly. It leaves the immediate-vs-eventual timing of the publish effect on a non-rebuilt deck unstated, a minor gap.

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 coverage is 100% and the single deck_id parameter is documented with its source tools (get_rebuild_status, list_decks, get_deck). The description adds no further meaning about the identifier, so the schema does all the work — the baseline 3.

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?

"Turn a deck's shareable link on" is a specific verb plus a concrete state change on a named resource, and it is immediately distinguishable from create_deck, rebuild_deck, and get_deck. An agent knows exactly what state this produces without opening the schema.

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

Usage Guidelines4/5

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

It gives an explicit trigger — "use this when the user made one private and wants the link back" — and implicitly excludes the rebuilt/generated case by noting those decks go live automatically. It stops short of naming a sibling alternative or an unpublish counterpart, so it falls just under full routing guidance.

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