Skip to main content
Glama

Submit the deck file

submit_deck
Destructive

Replace the whole file of a deck whose pages are all written (while pages are still being written, submit_page each one — a whole file is refused then). Renderball checks it against the brief, renders every page and opens it in the editor. Returns 'ready' with the editor_url, or 'importing' — then poll deck_status.

Input Schema

NameRequiredDescriptionDefault
labelNoWho wrote it, e.g. 'claude-code'. Shown in the deck's trace.
sourceYesThe complete deck file, exactly as the writing brief specifies. Raw file or a ```tsx fenced block.
deck_idYes
wait_secondsNoHow long to wait for the import before returning (default 25). Use deck_status to keep checking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / guest_token
      Removed value: -{
      -  "description": "Only for a deck created WITHOUT an account: the guest_token create_deck returned.",
      -  "maxLength": 80,
      -  "type": "string"
      -}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag destructiveHint/readOnlyHint; the description goes further by explaining exactly what is destroyed (the whole file is replaced), the refusal condition, the server-side validation and rendering behavior ('checks it against the brief, renders every page'), and the two concrete return states with the editor_url and the polling fallback. That is real behavioral context beyond the structured hints.

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?

Dense but front-loaded: the primary action comes first, then the sibling-routing caveat, then the outcome. The mid-sentence parenthetical interrupts flow slightly, but every sentence carries information the agent needs.

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?

With no output schema, the description carries the return-value burden and does so completely: 'ready' plus editor_url, or 'importing' plus the instruction to poll deck_status. Combined with the destructive scope, refusal condition, and usage split against submit_page, nothing essential is missing.

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 75% and 'source' is well documented in the schema itself. The description adds the conceptual framing that source is the complete deck file rather than a page, and indirectly explains wait_seconds ('or importing — then poll deck_status'), but says nothing about label. Baseline 3 is appropriate when the schema carries most of the load.

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?

States a specific verb (replace/submit) and resource (the whole deck file) and explicitly scopes it to decks 'whose pages are all written,' which cleanly separates it from submit_page. An agent can pick between the two siblings without opening either schema.

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?

Gives an explicit alternative and the condition that selects it: 'while pages are still being written, submit_page each one — a whole file is refused then.' It also routes the follow-up case ('importing' → poll deck_status), so both the when and the what-next are covered.

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.