Skip to main content
Glama

ZeroWidth Napkin

Apply the brand to a piece

napkin_brand_apply
Destructive

Restyles a piece in the brand — the workspace's brand unless you name a kit. deck (a board id): every slide gets the brand's background, typefaces, and text colors; sizes are kept. interface (an interface id): rewrites its brand.css, so anything styled with var(--brand-*) updates. accent makes one of the kit's colors the piece's accent — use it when the piece is about one product or campaign that has its own color in the brand (read the kit's Colors section to see which). Docs need nothing — they read the brand when exported. Check a deck afterwards with napkin_slide_view.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deckNoBoard id of a deck.
kitIdNoA brand kit id from napkin_brand_list. Omit for the workspace's brand.
accentNoName of one of the kit's colors to use as this piece's accent.
interfaceNoInterface id.
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
Behavior5/5

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

Goes well beyond the destructiveHint annotation by describing exactly what mutates (slides get background/typefaces/text colors, interface brand.css is rewritten) and what is preserved ('sizes are kept'), plus the downstream effect on var(--brand-*) styling. This is substantial disclosure of mutation semantics for a destructive tool.

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

Conciseness5/5

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

Front-loads the core action, then spends each following clause on one parameter's distinct effect with no filler. Dense but every sentence carries actionable detail.

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 destructive mutation tool with no output schema, the description covers effects and verification well. It does not, however, clarify that at least one of deck/interface/kitId must be supplied (all params are optional), leaving an ambiguity an agent could trip on.

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 schema already documents all five parameters (baseline 3). The description adds real value beyond it by explaining accent's runtime meaning and kitId's default-to-workspace-brand behavior, though it says nothing extra about workspace or interface beyond the schema text.

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 ('Restyles a piece in the brand') and enumerates the distinct effect per target type (deck, interface, accent, docs). This lets an agent distinguish it from siblings like napkin_deck_set_theme or napkin_brand_get without opening schemas.

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?

Gives clear conditional guidance for the accent parameter ('use it when the piece is about one product or campaign that has its own color') and explicitly says docs need nothing. It also routes verification to napkin_slide_view, but does not name alternative tools for setting deck styling, so no explicit when-not guidance against siblings.

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