Skip to main content
Glama

Customise the banner

customise_banner
DestructiveIdempotent

Changes how one of your CookiePal domains’ banner looks and reads: its colours, logo type (default only), positions, and the title, description and button texts per language. Give only what you want to change; everything else keeps its saved value. It does not upload a custom logo or change category texts; use the CookiePal dashboard for those. Colour, logo and position changes queue a rebuild (skipped, and said so, if the domain has reached its page-view limit); texts go live without one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "customise_banner"
  }
}

Input Schema

NameRequiredDescriptionDefault
logoNoThe banner’s logo: set type default to use CookiePal’s default logo (it has a fixed colour). A custom logo is kept as it is unless you set a type.
textsNoBanner and preference-centre copy per language the banner already has, as plain text; paragraphs are separated by a blank line.
colorsNoOnly the colours you give change; the rest keep their saved value.
domainIdNoWhich domain to customise. Omit it for the account’s default domain.
positionsNoOnly the positions you give change; the rest keep their saved value.

Output Schema

NameRequiredDescriptionDefault
savedYes
textsYes
messageYes
rebuildYes
domainIdYes
bannerEnabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / logo / description
      Previous value: -"The banner’s logo, default or cookie. A custom logo is kept as it is unless you set a type."New value: +"The banner’s logo: set type default to use CookiePal’s default logo (it has a fixed colour). A custom logo is kept as it is unless you set a type."
    • removedInput schema / properties / logo / properties / color
      Removed value: -{
      -  "description": "Logo colour.",
      -  "pattern": "^#[0-9a-fA-F]{6}$",
      -  "type": "string"
      -}
    • changedInput schema / properties / logo / properties / type / enum
      Previous value: -[
      -  "default",
      -  "cookie"
      -]New value: +[
      +  "default"
      +]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses the async rebuild side effect for colour/logo/position changes, the page-view-limit case where the rebuild is skipped and reported, and the fact that text edits go live without a rebuild. That is the behavioural context an agent needs before mutating a live banner, and it is consistent with destructiveHint=false-as-partial-update semantics stated as 'everything else keeps its saved value'.

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?

A single dense paragraph that is front-loaded with the resource and fields, then the partial-update rule, then the exclusions, then the side effects. No sentence is filler, though the run-on structure and parenthetical make it heavier to parse than it needs to be.

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 5-parameter nested mutation tool with an output schema and full annotation coverage, the description covers partial-update semantics, the two things it cannot do, the locale constraint, and the rebuild consequences. Nothing an agent needs to invoke it correctly is 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 already 100%, so the baseline is 3; the description adds real meaning on top by scoping the logo parameter ('default only' — a custom logo is untouched), clarifying that texts are per language, and explaining that text changes bypass the rebuild. It still leaves the enum values for positions to the schema.

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 opens with a specific verb and resource ('Changes how one of your CookiePal domains' banner looks and reads') and enumerates the exact surfaces it touches: colours, logo type, positions, and per-language title/description/button texts. It also states what it is not (no custom logo upload, no category texts), which separates it from the dashboard workflow and from sibling tools like regenerate_banner.

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?

It gives clear operating context: 'Give only what you want to change; everything else keeps its saved value', and it explicitly redirects the two excluded use cases to the CookiePal dashboard. It does not, however, name when to prefer regenerate_banner or set_banner_mode, so the agent must infer the boundary with those siblings.

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