Skip to main content
Glama

Apply a previously previewed cosmetic (tier 1/2) banner change

account.updateDesign
Destructive

Applies an appearance, wording or non-compliance UX change to one of your apps and publishes it. Requires the previewToken from account.previewDesignChange for this exact change — if any value differs, or the app changed since the preview, the write is refused. Refuses compliance-determinative fields. Publishing puts the whole saved draft live, so the result names any other unpublished dashboard edits that went live with it — pass that on.

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>",
      "previewToken": "<previewToken>"
    },
    "name": "account.updateDesign"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe same partial text.* values you previewed.
AppIDYesThe app to change. Must be permitted by your API token's app scope.
configNoThe same partial config.* values you previewed — TIER 1/2 KEYS ONLY.
designNoThe same partial design.* values you previewed.
publishNoPublish immediately (default true). False saves it to the draft without changing the live banner. Re-running the same call with true later (after the site owner approves) publishes the WHOLE draft, including any edits saved in the Cookie Compliance dashboard since the last publish.
previewTokenYesThe token returned by account.previewDesignChange for this exact change. Required — the write is refused without a matching one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true; the description goes further by explaining the blast radius — publishing puts the whole saved draft live, including unrelated dashboard edits, and the result names them so the caller can relay that. It also discloses the refusal semantics tied to previewToken freshness. That is exactly the extra context annotations cannot carry.

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

Conciseness4/5

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

Three front-loaded sentences with no filler; the precondition leads and the side effect follows. The closing 'pass that on' is slightly chatty but does carry the actionable instruction to surface collateral edits.

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 destructive, 6-parameter mutation with nested objects and no output schema, the description covers prerequisites, refusal conditions, and the draft-blast-radius. It hints at the return content (other edits that went live) but says nothing about the success payload beyond that or about the tier boundary specifics, leaving a small gap.

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 publish's default and whole-draft behavior, the tier 1/2 key restriction, and previewToken's role are already documented in the schema. The description adds the 'any value differs or app changed → refused' nuance and reinforces the matching requirement, but mostly restates structured fields. Baseline 3 applies.

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?

States a specific verb and resource: applies an appearance, wording or non-compliance UX change to an app and publishes it. It also implicitly scopes itself against the sibling account.previewDesignChange by demanding that tool's previewToken, so an agent can tell the preview/write pair apart without opening either schema.

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 a clear precondition (a matching previewToken from account.previewDesignChange for this exact change) and the failure condition (any differing value or a changed app means the write is refused). It explains the publish=false path for saving to draft pending approval. It does not name where compliance-determinative fields should go, leaving the agent to infer the account.updateComplianceConfig route.

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