Skip to main content
Glama

Update brand kit

update_brand_kit
Destructive

Change fields on a brand kit; fields left out keep their value. Set review_state 'confirmed' only after the user has looked at an imported kit and approved it. Returns the updated kit.

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": {
      "brand_kit_id": "<brand_kit_id>"
    },
    "name": "update_brand_kit"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe brand name.
fontsNoThe heading and body typefaces. Any left out keep their current value.
colorsNoHex colors (#rrggbb). Any left out keep their current value.
domainNoThe brand website host, like acme.com.
radiusNoCorner radius in px, rem or em, like 8px.
dark_modeNoauto follows the reader in dark mode; off keeps the light palette.
documentsNoHow this brand lays out PDFs. Any left out use the default.
brand_kit_idYesA brand_kit_id from list_brand_kits.
review_stateNoconfirmed once the user approved an imported kit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changed
    • addedInput schema / properties / colors / properties / accent / description
      Added value: +"A hex color, like #1f6feb."
    • addedInput schema / properties / colors / properties / background / description
      Added value: +"A hex color, like #1f6feb."
    • addedInput schema / properties / colors / properties / border / description
      Added value: +"A hex color, like #1f6feb."
    • addedInput schema / properties / colors / properties / card / description
      Added value: +"A hex color, like #1f6feb."
    • addedInput schema / properties / colors / properties / foreground / description
      Added value: +"A hex color, like #1f6feb."
    • addedInput schema / properties / colors / properties / muted_foreground / description
      Added value: +"A hex color, like #1f6feb."
    • addedInput schema / properties / colors / properties / primary / description
      Added value: +"A hex color, like #1f6feb."
    • addedInput schema / properties / colors / properties / primary_foreground / description
      Added value: +"A hex color, like #1f6feb."
    • addedInput schema / properties / dark_mode / description
      Added value: +"auto follows the reader in dark mode; off keeps the light palette."
    • addedInput schema / properties / documents / properties / accent / description
      Added value: +"The PDF accent."
    • addedInput schema / properties / documents / properties / body_size / description
      Added value: +"The PDF body size."
    • addedInput schema / properties / documents / properties / density / description
      Added value: +"The PDF density."
    • addedInput schema / properties / documents / properties / heading_scale / description
      Added value: +"The PDF heading scale."
    • addedInput schema / properties / documents / properties / orientation / description
      Added value: +"The PDF orientation."
    • addedInput schema / properties / documents / properties / page_numbers / description
      Added value: +"The PDF page numbers."
    • addedInput schema / properties / documents / properties / page_size / description
      Added value: +"The PDF page size."
    • addedInput schema / properties / fonts / description
      Added value: +"The heading and body typefaces. Any left out keep their current value."
    • addedInput schema / properties / fonts / properties / body / description
      Added value: +"The body typeface."
    • addedInput schema / properties / fonts / properties / heading / description
      Added value: +"The heading typeface."
    • addedInput schema / properties / review_state / description
      Added value: +"confirmed once the user approved an imported kit."
  2. Changed2 schema fields changed
    • changedInput schema / properties / fonts / properties / body / enum
      Previous value: -[
      -  "Archivo",
      -  "Barlow",
      -  "Bebas Neue",
      -  "Bricolage Grotesque",
      -  "Cormorant Garamond",
      -  "Crimson Text",
      -  "DM Sans",
      -  "DM Serif Display",
      -  "EB Garamond",
      -  "Figtree",
      -  "Fira Code",
      -  "Fraunces",
      -  "Geist",
      -  "Georgia",
      -  "IBM Plex Mono",
      -  "IBM Plex Sans",
      -  "Inter",
      -  "JetBrains Mono",
      -  "Karla",
      -  "Lato",
      -  "Libre Baskerville",
      -  "Lora",
      -  "Manrope",
      -  "Merriweather",
      -  "Montserrat",
      -  "Mulish",
      -  "Newsreader",
      -  "Nunito",
      -  "Open Sans",
      -  "Oswald",
      -  "Outfit",
      -  "PT Serif",
      -  "Playfair Display",
      -  "Plus Jakarta Sans",
      -  "Poppins",
      -  "Raleway",
      -  "Roboto",
      -  "Rubik",
      -  "Sora",
      -  "Source Sans 3",
      -  "Space Grotesk",
      -  "Urbanist",
      -  "Work Sans",
      -  "system-ui"
      -]New value: +[
      +  "Albert Sans",
      +  "Archivo",
      +  "Arimo",
      +  "Assistant",
      +  "Barlow",
      +  "Bebas Neue",
      +  "Bricolage Grotesque",
      +  "Cabin",
      +  "Cal Sans",
      +  "Cormorant Garamond",
      +  "Crimson Text",
      +  "DM Sans",
      +  "DM Serif Display",
      +  "EB Garamond",
      +  "Exo 2",
      +  "Figtree",
      +  "Fira Code",
      +  "Fraunces",
      +  "Funnel Display",
      +  "Geist",
      +  "Georgia",
      +  "Golos Text",
      +  "Heebo",
      +  "Hind",
      +  "IBM Plex Mono",
      +  "IBM Plex Sans",
      +  "Instrument Sans",
      +  "Instrument Serif",
      +  "Inter",
      +  "JetBrains Mono",
      +  "Josefin Sans",
      +  "Kanit",
      +  "Karla",
      +  "Lato",
      +  "League Spartan",
      +  "Lexend",
      +  "Libre Baskerville",
      +  "Libre Caslon Text",
      +  "Lora",
      +  "Manrope",
      +  "Merriweather",
      +  "Merriweather Sans",
      +  "Montserrat",
      +  "Mulish",
      +  "Newsreader",
      +  "Noto Sans",
      +  "Nunito",
      +  "Onest",
      +  "Open Sans",
      +  "Oswald",
      +  "Outfit",
      +  "PT Serif",
      +  "Playfair Display",
      +  "Plus Jakarta Sans",
      +  "Poppins",
      +  "Public Sans",
      +  "Quicksand",
      +  "Raleway",
      +  "Red Hat Display",
      +  "Roboto",
      +  "Rubik",
      +  "Sanchez",
      +  "Sora",
      +  "Source Sans 3",
      +  "Space Grotesk",
      +  "Syne",
      +  "Titillium Web",
      +  "Urbanist",
      +  "Work Sans",
      +  "system-ui"
      +]
    • changedInput schema / properties / fonts / properties / heading / enum
      Previous value: -[
      -  "Archivo",
      -  "Barlow",
      -  "Bebas Neue",
      -  "Bricolage Grotesque",
      -  "Cormorant Garamond",
      -  "Crimson Text",
      -  "DM Sans",
      -  "DM Serif Display",
      -  "EB Garamond",
      -  "Figtree",
      -  "Fira Code",
      -  "Fraunces",
      -  "Geist",
      -  "Georgia",
      -  "IBM Plex Mono",
      -  "IBM Plex Sans",
      -  "Inter",
      -  "JetBrains Mono",
      -  "Karla",
      -  "Lato",
      -  "Libre Baskerville",
      -  "Lora",
      -  "Manrope",
      -  "Merriweather",
      -  "Montserrat",
      -  "Mulish",
      -  "Newsreader",
      -  "Nunito",
      -  "Open Sans",
      -  "Oswald",
      -  "Outfit",
      -  "PT Serif",
      -  "Playfair Display",
      -  "Plus Jakarta Sans",
      -  "Poppins",
      -  "Raleway",
      -  "Roboto",
      -  "Rubik",
      -  "Sora",
      -  "Source Sans 3",
      -  "Space Grotesk",
      -  "Urbanist",
      -  "Work Sans",
      -  "system-ui"
      -]New value: +[
      +  "Albert Sans",
      +  "Archivo",
      +  "Arimo",
      +  "Assistant",
      +  "Barlow",
      +  "Bebas Neue",
      +  "Bricolage Grotesque",
      +  "Cabin",
      +  "Cal Sans",
      +  "Cormorant Garamond",
      +  "Crimson Text",
      +  "DM Sans",
      +  "DM Serif Display",
      +  "EB Garamond",
      +  "Exo 2",
      +  "Figtree",
      +  "Fira Code",
      +  "Fraunces",
      +  "Funnel Display",
      +  "Geist",
      +  "Georgia",
      +  "Golos Text",
      +  "Heebo",
      +  "Hind",
      +  "IBM Plex Mono",
      +  "IBM Plex Sans",
      +  "Instrument Sans",
      +  "Instrument Serif",
      +  "Inter",
      +  "JetBrains Mono",
      +  "Josefin Sans",
      +  "Kanit",
      +  "Karla",
      +  "Lato",
      +  "League Spartan",
      +  "Lexend",
      +  "Libre Baskerville",
      +  "Libre Caslon Text",
      +  "Lora",
      +  "Manrope",
      +  "Merriweather",
      +  "Merriweather Sans",
      +  "Montserrat",
      +  "Mulish",
      +  "Newsreader",
      +  "Noto Sans",
      +  "Nunito",
      +  "Onest",
      +  "Open Sans",
      +  "Oswald",
      +  "Outfit",
      +  "PT Serif",
      +  "Playfair Display",
      +  "Plus Jakarta Sans",
      +  "Poppins",
      +  "Public Sans",
      +  "Quicksand",
      +  "Raleway",
      +  "Red Hat Display",
      +  "Roboto",
      +  "Rubik",
      +  "Sanchez",
      +  "Sora",
      +  "Source Sans 3",
      +  "Space Grotesk",
      +  "Syne",
      +  "Titillium Web",
      +  "Urbanist",
      +  "Work Sans",
      +  "system-ui"
      +]
  3. Added
  4. Removed
  5. Changed1 schema field changed
    • addedInput schema / properties / documents
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "How this brand lays out PDFs. Any left out use the default.",
      +  "properties": {
      +    "accent": {
      +      "enum": [
      +        "band",
      +        "line",
      +        "none"
      +      ],
      +      "type": "string"
      +    },
      +    "body_size": {
      +      "enum": [
      +        "small",
      +        "regular",
      +        "large"
      +      ],
      +      "type": "string"
      +    },
      +    "density": {
      +      "enum": [
      +        "compact",
      +        "comfortable",
      +        "spacious"
      +      ],
      +      "type": "string"
      +    },
      +    "footer_text": {
      +      "description": "The footer line on every page. Empty string for no footer; left out it is the brand name.",
      +      "type": "string"
      +    },
      +    "heading_scale": {
      +      "enum": [
      +        "small",
      +        "regular",
      +        "large"
      +      ],
      +      "type": "string"
      +    },
      +    "orientation": {
      +      "enum": [
      +        "portrait",
      +        "landscape"
      +      ],
      +      "type": "string"
      +    },
      +    "page_numbers": {
      +      "enum": [
      +        "on",
      +        "off"
      +      ],
      +      "type": "string"
      +    },
      +    "page_size": {
      +      "enum": [
      +        "letter",
      +        "a4"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  6. Added

TDQS

A4/5.0
Behavior4/5

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

Beyond the mutation and destructive annotations, it discloses that omitted fields retain their values, imposes a user-approval safeguard on confirmation, and states that the updated kit is returned. It does not explain reversibility or what changing review_state subsequently affects.

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?

Three short sentences front-load the operation and patch semantics, then isolate the important review_state exception and state the result. There is no unnecessary wording, and the return statement is useful because no output schema is supplied.

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?

Together with the detailed schema, the description supplies the key information needed for a correct partial update, including preservation behavior and the confirmation prerequisite. Broader import-and-review workflow guidance and clarification of the destructive or confirmation consequences would make it more complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The general partial-update rule and expanded approval condition are useful, but they largely restate semantics already present in the nested field and review_state schema descriptions rather than adding substantial new parameter detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Change fields on a brand kit" gives a specific verb and resource, and the omitted-field behavior further identifies this as a partial update. It does not explicitly distinguish the tool from sibling brand-kit operations.

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?

The description provides a clear precondition for setting review_state to "confirmed": the user must inspect and approve the imported kit. However, it gives no broader tool-selection guidance or alternatives for other brand-kit operations.

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.