Skip to main content
Glama

configure_cookie_banner

Configures and personalizes the cookie consent banner for a site. Controls layout, theme colors, Google Consent Mode v2 integration, and tracker auto-blocking rules.

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": {
      "siteId": "<siteId>"
    },
    "name": "configure_cookie_banner"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNodark
siteIdYesSite UUID
positionNobottom
accent_colorNoHex accent color for accept buttons (e.g. '#c8f135')#c8f135
banner_titleNoPrimary banner headlinePrivacy & Cookie Preferences
enable_gcm_v2NoSynchronize user choices directly with Google Consent Mode v2
banner_messageNoConsent notification message
auto_block_trackersNoAutomatically withhold analytics and advertising scripts until consent is granted

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.