Skip to main content
Glama

update_branding

Set an editor app's brand colours and logo. Colours are stored as branding.colors = [primary, secondary, accent]; the app derives every other shade from them at runtime, so never try to set individual UI colours. Reads the app back and returns exactly what was saved.

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": {
      "appId": "<appId>"
    },
    "name": "update_branding"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesThe editor app id (UUID).
colorsNoHex colours in order: primary, secondary, accent. 1-3 values, e.g. ["#0F766E","#134E4A","#F59E0B"]. Omitted slots keep their current value.
logoUrlNoPublic HTTPS URL of the logo image. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the storage shape of colors, that all other shades are derived at runtime, and that the tool reads the app back and returns the saved state. It omits permission/auth requirements and whether an existing logoUrl is replaced or merged.

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, each doing work: purpose first, then the constraint that prevents a common misuse, then the return behavior. No filler or repetition.

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 three-parameter mutation tool with no output schema, the description covers the essential mental model (stored triplets, derived shades, read-back return). Missing only operational detail such as required scopes or behavior when a color is invalid.

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 coverage is 100%, so appId, colors ordering, and logoUrl HTTPS requirement are already documented. The description reinforces the positional [primary, secondary, accent] meaning and the derived-shade constraint but adds no syntax or edge-case detail beyond the schema.

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?

States a specific verb and resource: 'Set an editor app's brand colours and logo.' It also pins the exact fields touched (colors, logo), which distinguishes it in practice from update_app_style, though it never names that sibling explicitly.

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?

Gives an explicit when-not: 'never try to set individual UI colours,' with the reason that shades are derived at runtime. It stops short of naming update_app_style as the place to go for other styling, so the routing is implied rather than spelled out.

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