Skip to main content
Glama

Show the customer's real banner, as a publish would take it live

account.previewBanner
Read-only

Returns a short-lived link (30 minutes) to a page showing this app's real cookie banner drawn from its saved draft — what a publish would take live — optionally with a design, config or text change drawn on top (same keys and refusals as the preview tools). Give the link to the site owner to look at before approving a change. Nothing is published, recorded or sent. The result notes which unpublished draft edits the picture includes. Never copy the page onto a site: install with install.getSnippet, publish with the preview + update tools.

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.previewBanner"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoOptional partial default-language text.* change to draw on top of the draft.
AppIDYesThe app to preview. Get it from account.listApps rather than asking the customer.
configNoOptional partial config.* change to draw on top of the draft. Any tier: a preview changes nothing.
designNoOptional partial design.* change to draw on top of the draft — same keys and rules as account.previewDesignChange.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses the link lifetime (30 minutes), confirms that nothing is published, recorded or sent, and explains that the result notes which unpublished draft edits are included. It also warns never to copy the page onto a site, which is meaningful behavioral context not present in the annotations.

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 description is front-loaded with the core behavior and result, then moves to the intended recipient and alternatives. It is dense but purposeful; the main slight redundancy is restating the publish framing already present in 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 a read-only preview-link tool with four parameters, the description covers what it returns, the lifetime, the effects (none), the optional overlays, and which draft edits are reflected. With no output schema, this is enough for an agent to call it and interpret the result correctly.

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 schema already documents AppID and the optional design, config and text objects. The description adds some meaning by framing those objects as partial changes drawn on top of the saved draft and by tying their keys and refusals to the preview tools, though it does not add much beyond that baseline.

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?

The description states a specific verb and resource (returns a short-lived link to a page showing the app's real cookie banner from its saved draft) and clearly distinguishes it from related tools by naming install.getSnippet and the preview/update tools. An agent can tell what this produces without opening the 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 gives explicit usage guidance: give the link to the site owner before approving a change, and it names alternatives for installation and publishing. It also clarifies that the optional design/config/text overlay follows the same keys and refusals as the preview tools, which helps route between sibling preview operations.

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