Skip to main content
Glama

get_cookie_banner_script

Generates the ready-to-paste HTML embed snippet or framework code (React, Next.js, WordPress) for the site's cookie consent banner with Google Consent Mode v2 auto-initialization.

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": "get_cookie_banner_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite UUID
frameworkNohtml

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.