Skip to main content
Glama

ZeroWidth Napkin

Add pictures to a brand kit

napkin_brand_add_files

Adds pictures to a brand kit section — logo versions, product marks, example screenshots, imagery. Each file comes from a public https url (fetched by the server) or, for a small file that isn't online, base64 data with a filename. PNG, JPEG, WebP, GIF and SVG, up to 20 MB each. Every file becomes a workspace file and an asset on the section, appended after the ones already there. Give each a name and a note saying what it's for; on logo sections set backdrop to the hex of the ground it's made for (#ffffff for a dark logo, #000000 for a reversed one), which is how pages pick the right version. Same rule as napkin_brand_draft: you can change any kit except the workspace's brand. Files that fail are reported and the rest still land.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoOnly when no section has that title yet: the kind of section to make.
filesYes
kitIdYesThe kit to add to (napkin_brand_list).
sectionYesTitle of the section to add them to, like Logo, Imagery or Examples.
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.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint false, openWorldHint true, destructiveHint false) by disclosing server-side fetching of URLs, 20 MB per-file cap, append-after-existing ordering, partial-failure semantics ('files that fail are reported and the rest still land'), and the permission rule that any kit is editable except the workspace's brand. That is exactly the operational context an agent needs for a mutating, open-world call.

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?

Purpose is front-loaded in the first clause, then constraints, then the operational caveat. The prose is dense but nearly every sentence carries a rule; the parenthetical hex examples add precision rather than padding.

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 5-parameter mutation tool with no output schema, the description covers sourcing, size limits, ordering, partial failure, branding permissions, and the logo backdrop convention. It could be tighter on section auto-creation (the `kind` parameter's role), but no output schema is needed since failure reporting is described.

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 already 80%, but the description adds real meaning: `url` is fetched by the server, `data` requires `filename`, `backdrop` is the ground color a logo is designed for and is how pages select the right version, and `name`/`note` convey purpose. This exceeds the baseline for well-documented schemas.

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 — adding pictures to a brand kit section — and enumerates the concrete content types (logo versions, product marks, screenshots, imagery). It clearly distinguishes itself from siblings by referencing napkin_brand_draft and napkin_brand_list, so an agent can route without opening any 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?

Gives clear context for use: adding files to an existing kit section, with the per-file rules and the backdrop convention called out for the logo case. It names the related sibling napkin_brand_draft for the permission rule but does not explicitly contrast alternatives such as napkin_brand_apply or state when NOT to use this tool.

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