Skip to main content
Glama

Set the help center's brand

colliedesk_help_center_theme_update
Idempotent

Replace the brand of the public help center: a field left out or null goes back to its default, so read it first with colliedesk_help_center_theme_get and send the whole theme. Every color pair must meet WCAG AA: 4.5:1 for text, links, header text, button text on the primary color and footer text, 3:1 for the primary color against the background. A failing pair is refused with the nearest passing color; colliedesk_help_center_theme_check tries a theme first. The logo and favicon must be images of the media library outside its trash; one the theme already has may stay while it is in the trash, so sending the theme back whole still saves. They are kept while the help center names them and kept no more once it names another. Fonts are stacks of the reader's own system fonts. Custom CSS follows the theme on every page; one that could load anything is refused with its line and column. custom_css is required: send the CSS to keep, or null or "" to clear it. It changes every public page, so it needs kb_articles:publish as well as help_center:update. It is safe to repeat.

Needs: help_center:update.

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": {
      "custom_css": "<custom_css>"
    },
    "name": "colliedesk_help_center_theme_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorsNoEach #rrggbb or null for the default; any color set makes the pages light only.
logo_altNoWhat the logo says, for screen readers; empty uses the title.
body_fontNo
custom_cssYesCSS served after the colors and fonts on every public page; empty or null is none. Required by the update, which would otherwise remove it. At most 32,768 bytes of UTF-8 (a character outside ASCII takes 2 to 4), stored and served exactly as sent. Refused with its line and column when it could load anything or leave its style sheet: url() and image functions, expression(), the properties behavior and -moz-binding, at-rules other than @media, @supports, @keyframes, @layer and @container, a backslash outside quotes, </, <!--, a control character other than tab and line ends, unbalanced brackets, unclosed strings or comments. The contrast checks do not cover it.
contact_urlNoAn https address, or mailto: and one plain email address (no name, no ?subject= or ?bcc=, no %-encoding).
heading_fontNo
linkback_urlNoYour website, absolute http or https.
contact_phoneNoDigits, spaces and + - ( ).
logo_media_idNoAn image of the media library (colliedesk_kb_media_list), outside its trash unless it is the logo the theme already has.
help_center_idNoOne of colliedesk_help_centers_list; left out, the primary help center.
favicon_media_idNoAn image of the media library for the browser tab.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / help_center_id
      Added value: +{
      +  "description": "One of colliedesk_help_centers_list; left out, the primary help center.",
      +  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / description
      Added value: +"Same shape as colliedesk_help_center_theme_get's output."
    • removedOutput schema / properties
      Removed value: -{
      -  "theme": {
      -    "properties": {
      -      "body_font": {
      -        "enum": [
      -          "system-sans",
      -          "humanist-sans",
      -          "geometric-sans",
      -          "classic-serif",
      -          "transitional-serif",
      -          "rounded-sans",
      -          "mono",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "checks": {
      -        "items": {
      -          "properties": {
      -            "background": {
      -              "type": "string"
      -            },
      -            "field": {
      -              "type": "string"
      -            },
      -            "foreground": {
      -              "type": "string"
      -            },
      -            "pair": {
      -              "type": "string"
      -            },
      -            "passes": {
      -              "type": "boolean"
      -            },
      -            "ratio": {
      -              "type": "number"
      -            },
      -            "required": {
      -              "type": "number"
      -            },
      -            "suggestion": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "pair",
      -            "field",
      -            "foreground",
      -            "background",
      -            "ratio",
      -            "required",
      -            "passes",
      -            "suggestion"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "colors": {
      -        "additionalProperties": false,
      -        "description": "Each #rrggbb or null for the default; any color set makes the pages light only.",
      -        "properties": {
      -          "background": {
      -            "pattern": "^#[0-9a-fA-F]{6}$",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "footer": {
      -            "pattern": "^#[0-9a-fA-F]{6}$",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "header": {
      -            "pattern": "^#[0-9a-fA-F]{6}$",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "header_text": {
      -            "pattern": "^#[0-9a-fA-F]{6}$",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "link": {
      -            "pattern": "^#[0-9a-fA-F]{6}$",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "primary": {
      -            "pattern": "^#[0-9a-fA-F]{6}$",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "text": {
      -            "pattern": "^#[0-9a-fA-F]{6}$",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "contact_phone": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "contact_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "content_version": {
      -        "type": "integer"
      -      },
      -      "custom_css": {
      -        "type": "string"
      -      },
      -      "favicon_media_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "heading_font": {
      -        "enum": [
      -          "system-sans",
      -          "humanist-sans",
      -          "geometric-sans",
      -          "classic-serif",
      -          "transitional-serif",
      -          "rounded-sans",
      -          "mono",
      -          null
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "linkback_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "logo_alt": {
      -        "type": "string"
      -      },
      -      "logo_media_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "updated_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "colors",
      -      "content_version",
      -      "checks"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "theme"
      -]
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Far beyond the annotations: it discloses replace-not-merge semantics (omitted fields revert to defaults), WCAG AA thresholds per color pair with the exact refusal behavior (nearest passing color returned), media-library/trash nuances for logo and favicon, CSS sanitization rules that trigger refusal with line and column, and font-as-system-stack behavior. The "safe to repeat" claim is consistent with idempotentHint=true and destructiveHint=false, and the reset-to-default behavior is explicitly warned about rather than hidden.

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?

Information density is high and the purpose is front-loaded, but everything is packed into one long unbroken paragraph mixing validation rules, permissions, and lifecycle semantics. The CSS refusal rules could be summarized rather than enumerated, and bullet or sentence-level structure would make the routing-critical parts (read first, check first, custom_css required) easier to scan.

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, nested-object, full-replacement tool with an output schema, the description covers everything an agent needs to call it correctly: ordering, required parameter, validation failure modes, permission requirements, and idempotency. Return values can be left to the output schema without harming completeness.

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?

With 82% schema coverage the baseline is 3, but the description adds real meaning the schema does not: why custom_css is required, that colors are contrast-constrained as pairs (schema only documents the format), that logo/favicon must be media-library images outside trash, and that fonts are stacks of reader system fonts. It does not cover per-field defaults for help_center_id or the enum meanings, which the schema handles.

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?

"Replace the brand of the public help center" gives a specific verb (replace, i.e. full overwrite) and resource (public help center theme), and immediately distinguishes itself from colliedesk_help_center_theme_get (read first) and colliedesk_help_center_theme_check (validate first). An agent can tell exactly which sibling to use 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?

It prescribes an explicit workflow: read with theme_get, send the whole theme, optionally try it with theme_check first. It also states the key precondition that custom_css must always be sent (CSS or null/"") and gives the additional permission (kb_articles:publish) needed because the change affects every public page.

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