Skip to main content
Glama

ZeroWidth Napkin

Set a deck's theme

napkin_deck_set_theme
Destructive

Paints every slide of a deck with a theme — slide background, heading and body typefaces, and text colors — in one call, the same as picking it in the deck's theme menu. Font sizes are kept. Prefer "brand" (the workspace's own brand kit) unless the user asks for something else. Built-in themes: plain (Helvetica on white. Gets out of the way.); editorial (Garamond headings on cream. Reads like a document.); stage (Helvetica, light on dark, for a projected room.); blueprint (Consolas headings on mist. For technical decks.); warm (Rounded on amber. Softer than it sounds.); notebook (Marker headings. Keeps the sketchbook feel.). For one-off colors or sizes on a single shape, use napkin_draw's updates instead. Check the result with napkin_slide_view.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
themeYes`brand` for the workspace's brand kit, `brand:<kit id>` for a particular kit (napkin_brand_list), or a built-in theme key.
accentNoBrand themes only: the name of one of the kit's colors to use as this deck's accent instead of the kit's own — for a deck about one product or campaign that has its own color in the brand.
boardIdYesNapkin board id (a deck).
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare the destructive, non-read-only profile, so the burden is lower. The description still adds real behavioral detail beyond them — 'Font sizes are kept' tells the agent exactly what is preserved when the theme is repainted, which is not derivable from the schema or annotations. It stops short of explicitly saying the previous theme styling is replaced/irreversible, so it is not a full 5.

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?

The core action and the alternate-tool routing are front-loaded in the first sentences; the theme catalog and verification hint follow. The six-item theme list is dense but earns its place because no enum exists in the schema. Minor padding in the flavor text of each theme name.

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 bulk-mutation tool with no output schema and full schema-description coverage, the definition supplies the affected scope, the preservation rule, the recommended default, the value catalog, an alternative tool, and a verification step. Nothing an agent needs to call it correctly is missing.

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 goes further by enumerating the built-in theme keys (plain, editorial, stage, blueprint, warm, notebook) with a semantic gloss for each — effectively supplying the enum that the schema lacks (0 enums declared). This meaningfully constrains the required `theme` string. The `accent` and `workspace` semantics remain schema-only.

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 and resource ('Paints every slide of a deck with a theme') and enumerates exactly what is affected — slide background, headings, body typefaces, text colors. It is clearly distinguishable from the sibling write paths (napkin_draw updates, napkin_slide_update) that it explicitly routes away from.

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 explicit when-to-prefer guidance ('Prefer "brand" ... unless the user asks for something else'), names the alternative for the adjacent use case ('For one-off colors or sizes on a single shape, use napkin_draw's `updates` instead'), and prescribes a verification step ('Check the result with napkin_slide_view'). Nothing is left to inference.

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