Skip to main content
Glama

Change how a site looks

set_branding
Destructive

Change how a site looks: its theme, main colour, typeface, header links, logo and icon, and whether it has an Articles section. Only the site's owner can do this. Give only the things to change; the rest stay as they are. The changes show from the site's next publish. Every look change (theme, Articles, colour, typeface, header links, logo and icon) waits for the owner to publish; until then it shows in the site's preview. Before turning Articles on, tell the owner that readers won't see anything yet: they can look at it in the site's Preview, change anything, then publish, or ask to turn it off again. Offer to move pages that read like articles (comparisons, guides, news) under /articles with propose_edit; moved pages keep their old addresses. Page text is changed with propose_edit, not here. A logo or icon is taken from an address you give; say images_are_ours: true only when the owner has told you the pictures are theirs to use — otherwise they are kept but not shown until the owner confirms them on the site's preview. site_name is the name shown at the top of every page, not the web address: a preview's web address is chosen when it is kept, as claim_draft's or publish's subdomain, and no argument here changes it. On a preview nobody has kept yet, give its draft_id to set its name or its logo. Give languages to change the language the site's own words — Previous, Next, Search — are in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_branding"
  }
}

Input Schema

NameRequiredDescriptionDefault
fontNoThe typeface: system, serif, mono, humanist, grotesque.
siteNoWhich site: its name (like Acme Docs), its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted. Leave it out when this connection covers one site; when it covers several and site is left out, nothing is done and the answer names them. A preview is not one of these sites; draft_id names a preview.
themeNoThe theme preset: base, slab, space or paper.
articlesNotrue turns on the Articles section: pages under /articles become dated posts, listed newest first at /articles and left out of the docs sidebar. false turns it off, and those pages go back into the sidebar as ordinary pages.
draft_idNoWhich preview: the draft_id create_preview returned, a 43-character key of letters, digits, - and _ (stray quotes or punctuation around it are ignored). It is not the code in the preview's link. Leave it out for a kept site, which site names.
icon_urlNoA direct https address of the small icon for the browser tab: PNG, JPEG, WebP or SVG, up to 1 MB. It is fetched once from that address; an address that redirects, is private or is not https is refused.
logo_urlNoA direct https address of the logo — PNG, JPEG, WebP or SVG, up to 1 MB. An empty value removes the logo.
languagesNoThe site's language as a code, like en, ru or pt-BR — the language every page, title and heading is written in.
site_nameNoThe name shown at the top of every page.
header_linksNoUp to 4 links for the header, each a label and an address starting with https://. They replace the current set.
primary_colorNoThe main colour as a hex code of six or three digits, with or without #, like #2e5fa3 or #25a. A colour that would not stay readable on light and dark screens is refused.
images_are_oursNoSay true only when the owner has told you the pictures are theirs to use. Otherwise they are kept but not shown until the owner confirms them.
logo_shows_nameNotrue when the logo image itself spells the name, so the name is not printed again beside it. Leave it out otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / draft_id / description
      Previous value: -"Which preview this is about: the draft_id create_preview returned, not the code in the preview's link. Leave it out for a kept site, which site names."New value: +"Which preview: the draft_id create_preview returned, a 43-character key of letters, digits, - and _ (stray quotes or punctuation around it are ignored). It is not the code in the preview's link. Leave it out for a kept site, which site names."
    • changedInput schema / properties / icon_url / description
      Previous value: -"A direct https address of the small icon for the browser tab: PNG, JPEG, WebP or SVG, up to 1 MB."New value: +"A direct https address of the small icon for the browser tab: PNG, JPEG, WebP or SVG, up to 1 MB. It is fetched once from that address; an address that redirects, is private or is not https is refused."
    • changedInput schema / properties / primary_color / description
      Previous value: -"The main colour as a hex code, like #2e5fa3. A colour that would not stay readable on light and dark screens is refused."New value: +"The main colour as a hex code of six or three digits, with or without #, like #2e5fa3 or #25a. A colour that would not stay readable on light and dark screens is refused."
    • changedInput schema / properties / site / description
      Previous value: -"Which site: its name, its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted here. Leave it out when this connection covers only one site. A preview is not one of these sites; draft_id names a preview."New value: +"Which site: its name (like Acme Docs), its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted. Leave it out when this connection covers one site; when it covers several and site is left out, nothing is done and the answer names them. A preview is not one of these sites; draft_id names a preview."
  2. Changed2 schema fields changed
    • changedInput schema / properties / theme / description
      Previous value: -"The theme preset: classic, slab, space or paper."New value: +"The theme preset: base, slab, space or paper."
    • changedInput schema / properties / theme / enum
      Previous value: -[
      -  "classic",
      -  "slab",
      -  "space",
      -  "paper"
      -]New value: +[
      +  "base",
      +  "slab",
      +  "space",
      +  "paper"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / articles
      Added value: +{
      +  "description": "true turns on the Articles section: pages under /articles become dated posts, listed newest first at /articles and left out of the docs sidebar. false turns it off, and those pages go back into the sidebar as ordinary pages.",
      +  "type": "boolean"
      +}
  4. Changed7 schema fields changed
    • changedInput schema / properties / draft_id / description
      Previous value: -"Which preview this is about: the draft_id create_preview gave, not the code in the preview's link. Leave it out for a site you keep."New value: +"Which preview this is about: the draft_id create_preview returned, not the code in the preview's link. Leave it out for a kept site, which site names."
    • changedInput schema / properties / header_links / description
      Previous value: -"Up to 4 links for the header, replacing the current set. Addresses must start with https://"New value: +"Up to 4 links for the header, each a label and an address starting with https://. They replace the current set."
    • addedInput schema / properties / header_links / items / properties / label / description
      Added value: +"The link's text, like Pricing."
    • addedInput schema / properties / header_links / items / properties / url / description
      Added value: +"Where the link goes, starting with https://."
    • changedInput schema / properties / icon_url / description
      Previous value: -"A direct https address of the small icon for the browser tab — same kinds and limit."New value: +"A direct https address of the small icon for the browser tab: PNG, JPEG, WebP or SVG, up to 1 MB."
    • changedInput schema / properties / primary_color / description
      Previous value: -"The main colour, like #2e5fa3. It has to stay readable on light and dark screens."New value: +"The main colour as a hex code, like #2e5fa3. A colour that would not stay readable on light and dark screens is refused."
    • changedInput schema / properties / site / description
      Previous value: -"Which site: its name or its address. Leave it out if this connection only covers one."New value: +"Which site: its name, its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted here. Leave it out when this connection covers only one site. A preview is not one of these sites; draft_id names a preview."
  5. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag this as a destructive, non-idempotent write; the description adds what the annotations cannot: changes appear only at next publish, are visible in preview until then, and follow partial-update semantics ('the rest stay as they are'). It also discloses the image-ownership gate and that unconfirmed images are retained but hidden. It leaves the replace-the-whole-set semantics of header_links to the schema rather than restating it.

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

Conciseness3/5

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

Front-loaded with the purpose, but the body is one dense paragraph that re-enumerates the same field list twice ('theme, main colour, typeface...' then 'theme, Articles, colour, typeface...') and repeats the publish/preview point. The information is valuable but would land faster split by task (partial updates, Articles, images, naming).

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 13-parameter mutation tool with no output schema, it covers nearly everything an agent needs: mutation scope, publish-gating, preview vs kept-site identity, ownership checks, and image verification. The gaps are modest — it does not say what a call returns or that header_links replaces the existing set.

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; the description still earns more by disambiguating the two easy-to-confuse identifiers — site_name is the on-page title, not the web address, and draft_id names an unkept preview rather than a kept site. Its note on languages (site's own UI words) is genuinely additive, though it drifts from the schema wording about page language.

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?

Names a specific verb and resource ('Change how a site looks') and enumerates exactly what 'look' covers: theme, main colour, typeface, header links, logo, icon, Articles section. It also draws the boundary against the sibling that handles text ('Page text is changed with propose_edit, not here'), so an agent can tell it apart without opening a 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?

Explicit routing rules: use propose_edit for page text and to move article-like pages under /articles; give only the fields to change; give draft_id on an unkept preview, site on a kept site. It also states the precondition 'Only the site's owner can do this' and the required handling before enabling Articles, which are the exact decision points an agent needs.

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.