Skip to main content
Glama

Your brands

canvas_brand

A brand kept on your user's account (or their team's): colors under the site's own names (with dark values and roles), fonts, text styles, spacing, logos (library parts) and do / don't notes. Save it once, then any canvas adopts it: no color or face typed again. When you work in a site's code, read its stylesheet variables, theme or token file yourself and send them in one save call (css: the file's text; tokens: a design-token JSON; or colors / fonts / styles), with from: the file's path. Pimvizo reads no repo. action: list (your brands and your team's), get (one, as lines and data, with its versions), save (make one, or merge into the one of that name; team: true for the team's, owner and admins), publish (the draft becomes the next numbered version: Studio Plus and Teams), adopt (set it on a canvas as one kit edit, at version or the latest published; canvas_new brand does this as it starts one). A canvas keeps the version it adopted until you adopt again; canvas_open says when a newer one is published. canvas_schema {topic: "brand"} is the guide.

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": {
      "action": "<action>"
    },
    "name": "canvas_brand"
  }
}

Input Schema

NameRequiredDescriptionDefault
cssNosave: a stylesheet's text with custom properties (dark-mode rules give dark values)
fromNosave: the file the values came from ("styles/tokens.css"), kept with each value
nameNosave: the brand's name (the site's or company's)
teamNosave: the team's brand, not your own
brandNoget, publish, adopt: the brand's name or id ("Example Co", or "Example Co@2" for version 2)
fontsNosave: {name: family list | {family | face, role, from} | null}; the nearest face here is used, or an uploaded font's id as face (canvas_upload a .ttf or .otf, Studio Plus), which the brand then carries to every canvas that adopts it. role: display, heading, body, mono (display: big headlines and heroes, as var(--display))
logosNosave: {light, dark}: names of parts in your library
notesNosave: {do: [lines], dont: [lines]} (up to 12 each)
actionYes
canvasNoadopt: a canvas link or id; default the open one. save: the canvas an uploaded font named in fonts is on (default the open one)
colorsNosave: {name: "#hex" | {value, dark, role, from} | null}; roles: ground, surface, ink, muted, accent, accent-ink, line, success, warning, danger, brand
stylesNosave: text styles {name: {font ("var(--font name)" or a face), size, weight, lh, spacing} | null}
tokensNosave: a design-token file (Design Tokens Community Group JSON)
replaceNosave: start the draft afresh instead of merging
spacingNosave: {name: px}
versionNoadopt: which version (0: the draft); default the latest published
elevationNosave: shadows by name, {raised: {dx, dy, blur, color, opacity} or a CSS box-shadow "0 4px 12px rgba(15, 23, 42, 0.08)" | null}; css reads --shadow-<name> too. A shape takes one as shadow "raised"

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?

Annotations only declare readOnlyHint=false and destructiveHint=false; the description supplies the real behavioral context: save merges into the brand of that name unless replace is set, publish promotes a draft to the next numbered version and requires Studio Plus/Teams, adopt pins a version that a canvas keeps until re-adopted, team brands require owner/admin, and uploaded fonts require Studio Plus. Those are exactly the permission, versioning and side-effect facts an agent needs before invoking a mutation.

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 action list is front-loaded and scannable in the 'action: list (...), get (...), save (...)' pattern, which is efficient for a 17-parameter tool. The opening sentence is a dense clause-chain that defines the artifact before saying what the tool does, and the semicolon-heavy prose costs some readability, but no sentence is filler.

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 broad, nested-object, no-output-schema tool spanning five actions, the description covers the resource model, the mutation lifecycle (draft → published version → adopted pin), the read-yourself requirement for repo-sourced values, and the team/permission caveats. It also points to canvas_schema {topic: "brand"} for depth rather than trying to inline the full guide, which is the right completeness trade-off here.

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 description coverage is 94%, so the baseline is already 3; the description still adds framing the schema lacks, notably the workflow (css: the file's text; tokens: a design-token JSON; or colors/fonts/styles) with from: the file's path, and the note that canvas_open reports when a newer version is published. It largely reinforces rather than extending the per-field docs, which keeps it at 4 rather than 5.

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?

The opening sentence defines the resource concretely (colors with dark values and roles, fonts, text styles, spacing, logos, do/don't notes) and the second states the payoff ('save it once, then any canvas adopts it'). It then enumerates the exact verbs — list, get, save, publish, adopt — and distinguishes itself from nearby tools by saying canvas_new already applies a brand when starting a canvas and that canvas_schema {topic: "brand"} holds the guide.

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 strong situational routing: when the values live in a site's code, the agent must read the stylesheet/theme/token file itself because 'Pimvizo reads no repo', then send everything in one save call, and it names the alternative path for adopt (canvas_new brand). What is missing is explicit when-not guidance — nothing says when to avoid save vs publish vs adopt beyond the version model, and no exclusion from the sibling set is stated.

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.