Skip to main content
Glama

Preview a cosmetic (tier 1/2) banner change before committing it

account.previewDesignChange
Read-only

Shows the exact before/after for an appearance, wording or non-compliance UX change to one of your apps, and returns a short-lived preview token the commit tool requires. Refuses any compliance-determinative field — those go through account.previewComplianceChange. Refuses a design colour that is not a 6-digit hex (#RRGGBB) such as #fff or rgb(), because the banner ignores it and shows its default (bannerColor also accepts rgb()/rgba(), with a warning; btnTextColor also accepts 'auto' when the app uses the v2 banner, and the readability report shows the colour it resolves to). For a design change it also reports readability — body text and headings on the banner background, button labels on the button colour — as the banner would be after the change; a pair below the WCAG AA 4.5:1 minimum is a warning to pass on, never a refusal.

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": "account.previewDesignChange"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoPartial default-language text.* overrides (banner wording).
AppIDYesThe app to change. Must be covered by your API token's app scope.
configNoPartial config.* overrides — TIER 1/2 KEYS ONLY. A compliance-determinative key here is refused, not applied.
designNoPartial design.* overrides (appearance only). Colours must be 6-digit hex (#RRGGBB); bannerColor also takes rgb()/rgba(), with a warning that the v2 banner ignores it; btnTextColor also takes "auto" (readable text picked from the site colours) on an app using the v2 banner only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds substantive behavior beyond that — a short-lived preview token that a required commit tool consumes, refusal semantics for compliance keys and malformed colours, and the reason (the banner silently falls back to its default). It also explains that a sub-4.5:1 WCAG AA pair is a warning to pass on rather than a refusal, which prevents the agent from treating it as a failure. It stops short of describing preview token lifetime or shape of the before/after payload, so not a 5.

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?

The core purpose and the preview-token dependency are front-loaded, and every clause carries rules an agent needs. It is a single dense paragraph with stacked parentheticals that makes the colour-exception rules harder to scan than a short list would, which is the main structural weakness.

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?

There is no output schema, so the description carries the return burden — it names both return artifacts (the before/after diff and the preview token) plus the readability report. For a nested-object, readOnly preview tool it covers purpose, refusals, warnings, and downstream commit dependency with nothing an agent needs 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; the description still adds meaning beyond the schema by spelling out the consequence of each parameter's rules — refusal versus warning for colours, and that the readability report shows the colour 'auto' actually resolves to. That consequence-level detail is not in the schema text and helps the agent interpret results rather than just pass values.

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 concrete verb and resource — shows the before/after for an appearance, wording or non-compliance UX change on one app — plus the side effect that matters (returns a short-lived preview token the commit tool requires). It explicitly carves out the boundary with account.previewComplianceChange, so an agent can separate the two preview tools without reading 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-not guidance: compliance-determinative fields are refused and must go through account.previewComplianceChange, and non-hex design colours such as #fff or rgb() are refused for the design colour. It also states the exact condition under which rgb()/rgba() or 'auto' is tolerated, which is routing guidance an agent can act on directly.

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