Skip to main content
Glama

Save a brand

save_brand

Create a brand, or update one by passing brandId. A brand is what every page built with it shares: business name, what they do, logo, colors, fonts and the voice of the copy. Set it up once per business, then pass its id to create_page / create_site, or set makeDefault so new pages use it automatically. On update, only the fields you pass change. The brand applies when a page is generated; existing pages are not restyled.

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": "save_brand"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoBusiness or product name as it should appear on pages.
aboutNoWhat the business is and does, who it serves, what makes it different, real facts (years, locations, credentials). Pages treat this as fact and won't invent claims beyond it. Max 1500 characters.
voiceNoHow the copy should sound. Replaces the whole voice when passed; null clears it.
brandIdNoBrand to update. Omit to create a new one.
logoUrlNoPublic https URL of the logo image. null removes it.
bodyFontNoGoogle Fonts family for body text, e.g. "Inter".
headingFontNoGoogle Fonts family for headings, e.g. "Fraunces".
makeDefaultNoMake this the workspace default, used by new pages and sites that don't name a brand.
workspace_idNoWhich workspace to act in. Only meaningful when this connection can access more than one workspace: omit it and you get an error listing the available workspace ids (also available from list_sites) to choose from. On a single-workspace connection, omit it or pass that workspace's own id; a different id is rejected.
primaryColorsNoHex colors, main brand color first, e.g. ["#1d4ed8"]. Used for buttons, links, accents.
secondaryColorsNoHex supporting colors (backgrounds, surfaces, highlights).

Output Schema

NameRequiredDescriptionDefault
noteYesWhat happens next.
brandYes
createdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnlyHint=false, it discloses two non-obvious behaviors: partial-update semantics ("only the fields you pass change") and side-effect scoping ("The brand applies when a page is generated; existing pages are not restyled"). Those are exactly the facts an agent needs before mutating a shared brand object.

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?

Front-loaded with the create/update action, then what a brand is, then how it propagates. Every sentence carries information an agent would otherwise have to guess; no filler or restatement of the title.

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 an 11-parameter mutation with a full output schema and full schema coverage, the description supplies the lifecycle context (once per business, default brand, generation-time application) that the structured fields cannot. Nothing material for correct invocation is missing.

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 real meaning the schema does not: brandId as the create/update discriminator, makeDefault's effect on new pages and sites, and the voice-replacement/null-clears rule. The remaining parameters (colors, fonts, about) are left to the schema.

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?

"Create a brand, or update one by passing brandId" gives a specific verb pair and resource, then defines what a brand actually contains (name, logo, colors, fonts, voice). It also names its downstream consumers (create_page / create_site), so an agent can place it precisely relative to the page-building siblings.

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?

"Set it up once per business, then pass its id to create_page / create_site" clearly frames the intended workflow and the create-vs-update switch. It lacks an explicit pointer to list_brands for retrieving an existing brandId, and no explicit when-not case, so it falls just short of full alternative routing.

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