Skip to main content
Glama

CookiePilot – cookie banner & Consent Mode v2

Configure the cookie banner

configure_banner
Idempotent

Saves and publishes the banner for a website on the confirmed account: colours (for example the suggested banner colours from a site analysis), position, layout, font, privacy policy URL and, per language, the banner texts. The banner shows the language of the website's ; every supported language has built-in texts, so texts are only needed for the user's own wording. Returns a preview link to the CookiePilot panel.

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": {
      "setup_token": "<setup_token>"
    },
    "name": "configure_banner"
  }
}

Input Schema

NameRequiredDescriptionDefault
textsNoBanner texts by language code, e.g. {"pl": {"bannerTitle": "…"}}. Plain text only; missing keys keep their current (or built-in) wording; other languages are not changed.
colorsNoCSS colours (hex or rgb/rgba); missing keys keep their current value
layoutNo
hostnameNoWebsite hostname, e.g. example.com; defaults to the website added last (or given to create_account)
positionNo
font_familyNoe.g. "Inter, sans-serif"
setup_tokenYessetup_token returned by create_account
privacy_policy_urlNoLink to the site's privacy policy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / hostname / description
      Previous value: -"Website hostname, e.g. example.com; defaults to the website given to create_account"New value: +"Website hostname, e.g. example.com; defaults to the website added last (or given to create_account)"
    • addedInput schema / properties / texts
      Added value: +{
      +  "additionalProperties": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "acceptAllButton": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "analyticsDescription": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "analyticsTitle": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "bannerDescription": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "bannerTitle": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "marketingDescription": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "marketingTitle": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "necessaryDescription": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "necessaryTitle": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "preferencesDescription": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "preferencesTitle": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "privacyPolicyLinkText": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "rejectAllButton": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "saveSettingsButton": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "settingsButton": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "description": "Banner texts by language code, e.g. {\"pl\": {\"bannerTitle\": \"…\"}}. Plain text only; missing keys keep their current (or built-in) wording; other languages are not changed.",
      +  "propertyNames": {
      +    "enum": [
      +      "en",
      +      "pl",
      +      "de",
      +      "fr",
      +      "es",
      +      "it",
      +      "nl",
      +      "pt",
      +      "sv",
      +      "cs",
      +      "ro",
      +      "el",
      +      "hu",
      +      "bg",
      +      "da",
      +      "fi",
      +      "sk",
      +      "nb",
      +      "hr",
      +      "lt",
      +      "sl",
      +      "lv",
      +      "et"
      +    ]
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds real value on top: missing keys retain their current value (confirming merge semantics consistent with idempotency), every supported language ships built-in texts so texts are only needed for custom wording, and a preview link to the CookiePilot panel is returned. It does not discuss auth/permission scope or whether publishing goes live immediately, which keeps it from 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?

Two sentences, front-loaded with the action and resource, then the configuration surface, then the return value. It is dense but every clause carries information; only the parenthetical about suggested banner colours is slightly incidental.

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 an 8-parameter tool with nested objects and no output schema, the description covers what matters: partial-update semantics, language fallbacks, and the return value (preview link). The main remaining gap is operational behavior of "publishes" — whether the change is immediately live and what permissions the confirmed account needs.

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 75% and the nested texts/colors objects are already well documented, so the baseline would be a 3. The description adds meaning the schema does not: the built-in per-language text fallback (why texts may be omitted for most languages) and the hint that colour values may be taken from a site analysis. Minor gaps remain around the enum choices for layout and position.

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 pair and resource ("Saves and publishes the banner for a website") and enumerates the configurable dimensions: colours, position, layout, font, privacy policy URL and per-language texts. This is far from a restatement of the name and lets an agent distinguish it from siblings like add_domain or analyze_site 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 Guidelines4/5

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

It establishes required preconditions implicitly and explicitly: the website must be on the confirmed account (setup_token from create_account) and colours may come from a prior site analysis, which signals ordering relative to analyze_site and create_account. It stops short of explicit when-not guidance or naming the follow-up step (e.g. verify_installation), so it is clear context rather than full routing.

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