Skip to main content
Glama

CookiePilot – cookie banner & Consent Mode v2

Get CookiePilot install instructions

get_install_snippet
Read-onlyIdempotent

Step-by-step install instructions for a platform — HTML code (Consent Mode stub + banner script), the WordPress/WooCommerce plugin, the PrestaShop module, Google Tag Manager or Shoper. With a ready setup_token the code contains the real key of the account's domain; without it, YOUR_API_KEY is a placeholder and a register link is included.

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": {
      "platform": "<platform>"
    },
    "name": "get_install_snippet"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage of the user (two-letter code): sets the language of the confirmation e-mail, the confirmation page and the CookiePilot panel, and the currency of prices ("pl" = PLN, any other = EUR). One of: en, pl, de, fr, es, it, nl, pt, sv, cs, ro, el, hu, sk, bg, hr, sl, et, lv, lt; others fall back to "en". Defaults to "en".
hostnameNoWebsite hostname, e.g. example.com; defaults to the website added last (or given to create_account)
platformYesInstall method, usually recommendedInstallMethod from analyze_site
setup_tokenNosetup_token returned by create_account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field 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)"
  2. Changed1 schema field changed
    • changedInput schema / properties / locale / description
      Previous value: -"Language of the CookiePilot panel and currency of prices: \"pl\" = PLN, any other = EUR. One of: en, pl, de, fr, es, it, nl, pt, sv, cs, ro, el, hu, sk, bg, hr, sl, et, lv, lt. Defaults to \"en\"."New value: +"Language of the user (two-letter code): sets the language of the confirmation e-mail, the confirmation page and the CookiePilot panel, and the currency of prices (\"pl\" = PLN, any other = EUR). One of: en, pl, de, fr, es, it, nl, pt, sv, cs, ro, el, hu, sk, bg, hr, sl, et, lv, lt; others fall back to \"en\". Defaults to \"en\"."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the output is HTML code containing a Consent Mode stub plus banner script, and whether it carries the account's real domain key or the YOUR_API_KEY placeholder with a register link.

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 dense sentences with no filler, and the platform enumeration is front-loaded before the setup_token caveat. Slightly packed with parenthetical detail, but every clause carries information an agent needs.

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?

With no output schema, the description usefully characterizes the return payload (install code, plugin/module route, register link). Combined with fully documented parameters and read-only annotations, this is close to complete; only the absence of explicit sequencing against verify_installation leaves a small gap.

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 baseline would be 3, but the description adds meaning about setup_token that the schema does not: supplying it embeds the real account key, omitting it yields a placeholder plus a registration link. That materially changes how an agent should decide whether to pass the parameter.

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 ('Step-by-step install instructions for a platform') and enumerates the concrete install methods (HTML snippet, WordPress/WooCommerce plugin, PrestaShop module, GTM, Shoper). An agent can distinguish this from siblings like verify_installation or configure_banner 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 Guidelines3/5

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

Usage is implied rather than stated: the setup_token sentence hints this is called after create_account, and the schema notes platform usually comes from analyze_site's recommendedInstallMethod. However, there is no explicit when-to-use/when-not guidance and no named alternative such as verify_installation for checking an existing install.

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