Skip to main content
Glama

Change the saved brand

update_brand
Destructive

Create or update the saved brand kit, with ops or from a public site's url. Never applies branding to an existing site or publishes it. ops: business facts, the business and design overviews, colors, fonts, personas, logo marks, and which Drive files count as brand context; brand ops apply in order in one transaction, file ops after. url: Replo reads the site into the brand by mode: replace (default, whole brand) · swap (only parts, in full) · fill (keep what's set, fill gaps); a figma.com file link adds the file to the brand's Figma designs. Statuses: applied (saved at the returned version) · partial (brand saved, a file op refused; see files) · invalid (nothing written; see what was refused) · running (poll get_branding with importId until completed or failed, under extraction or figmaDesigns) · failed (the import couldn't start; see message) · action_required (the person must act first, such as connecting Figma; see connectUrl). A null value deletes that item, and a replace overwrites what was there. An import returns at once with an importId; follow it with get_branding instead of calling this again. A project gets 50 calls with a url a day, whether or not they start an import; ops don't count. Does not start an agent session. Before creating or changing a brand kit, call skills with name "managing-brand".

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": {
      "projectId": "<projectId>"
    },
    "name": "update_brand"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsNoOps in order; fill only the fields your op uses. setColor value: { key, name, hex: "#rrggbb", category: "brand" | "neutral", roles: string[], usage: string | null, position: integer }. setFont value: { key, family, roles: string[], delivery: "google-fonts" | "cdn" | "uploaded" | "system" | "unknown", license: string | null, usage: string | null, position: integer, faces: [{ weight: 1-1000, style: "normal" | "italic", assetId: uuid | null, sourceUrl: string | null }] }. setBusiness patch: any of name, about, audience, pricePoint, businessModel, foundedYear, location, voice, sourceUrl. setOverview: kind "business" | "design" and markdown. setMarks: logoAssetId, faviconAssetId or logomarkAssetId; upload the image with upload_asset first and pass the asset id it returns. setPersona value: copy a persona from get_branding and change what you need; a persona nickname is a segment label, never a person's name. A refused op comes back with `expected`, the exact shape to resend. Pass ops or url, not both.
urlNoImport the brand from this public site instead of ops (add https:// if missing). Replo reads it on its servers into facts, palette, fonts, marks, brief, design notes and screenshots, and writes them by `mode`. Never restyles a site. A figma.com file link instead adds that file to the brand's designs (figmaDesigns: its frames, styles and photos); it takes no mode or parts, and needs Figma connected in Replo.
modeNoWith url: how the site lands on the brand. replace (default): the whole brand becomes the site's ("make my brand from this site"). swap: each part in `parts` becomes the site's in full, nothing else changes, the brand keeps its name ("use their fonts", "take their logo and colors"). fill: everything already set stays and the site fills only the gaps, blending field by field ("fill in the rest from this site"). Pick swap for another company's site, so its story never mixes into this brand.replace
partsNoWith url: the parts swap and fill take from the site, each written as the ops of its kind: facts → setBusiness and setOverview, colors → setColor, fonts → setFont, logo → setMarks; images adds the site's photos to brand imagery. Required for swap; on fill, omitted means all of them; refused with replace.
projectIdYesThe project whose saved brand to change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

With destructiveHint=true and openWorldHint=true already declared, the description still adds substantial context the annotations cannot: null values delete items, replace overwrites existing values, brand ops run in order in one transaction with file ops after, a 50-calls-per-day url quota, and that op quota is not counted. The enumerated status vocabulary (applied/partial/invalid/running/failed/action_required) plus the note that it "Does not start an agent session" is exactly the kind of behavior an agent needs. Slightly held back because status meanings are compressed into one dense run-on sentence.

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?

Front-loaded with the core action, then progressively details ops, url, and statuses. It is long and several clauses are packed with semicolons and mid-line bold markers, which costs scanability, but almost every sentence carries distinct information rather than 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 complex, destructive, multi-mode write tool with an async import path, this covers the mutation model, ordering guarantees, rate limits, result statuses, follow-up tooling, and prerequisite skill invocation. No output schema exists, and the status enumeration in the description adequately substitutes for it.

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 adds semantics the schema does not: ops apply in order within a single transaction, file ops execute after brand ops, `url` takes precedence rules over `mode`/`parts` ("refused with replace"), and a figma.com link takes no mode or parts. These are cross-parameter interactions the schema cannot express.

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?

Opens with a specific verb and resource ("Create or update the saved brand kit") and immediately names its two input modes. It explicitly delimits scope against a sibling by stating it "Never applies branding to an existing site or publishes it," which separates it from apply_branding_to_site without needing to open that 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 explicit routing: use `ops` for structured edits or `url` for importing from a public site, "Pass ops or url, not both," and concrete mode-selection heuristics ("Pick swap for another company's site, so its story never mixes into this brand"). It also names prerequisites (call skills with name "managing-brand" first) and the alternative path for async results (poll get_branding with `importId` instead of re-calling).

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