Skip to main content
Glama

Set the banner mode

set_banner_mode
DestructiveIdempotent

Sets which privacy regulation one of your CookiePal domains’ banner follows: gdpr, ccpa or both, where both applies GDPR everywhere and CCPA to US visitors at the edge. It changes nothing else about the banner, and then queues a rebuild so the change goes live; if the domain has reached its page-view limit the rebuild is skipped, and the result says so.

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": {
      "bannerMode": "<bannerMode>"
    },
    "name": "set_banner_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainIdNoWhich domain to change. Omit it for the account’s default domain.
bannerModeYes

Output Schema

NameRequiredDescriptionDefault
messageYes
rebuildYes
domainIdYes
bannerModeYes
bannerEnabledYes
previousBannerModeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare destructive/idempotent/openWorld; the description adds real behavior: a rebuild is queued so the change goes live, the rebuild is skipped when the domain hits its page-view limit, and the result reports that. It stops short of explaining reversibility or why destructiveHint is true, so it is strong but not exhaustive.

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?

One front-loaded sentence that leads with the core action and delegates the enum details and the page-view caveat to trailing clauses. Dense with semicolons but every clause carries information; only the 'it changes nothing else' qualifier could be tightened.

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 two-parameter mutation tool with an output schema, the description covers action, value semantics, side effects, and the failure mode, so nothing an agent needs before calling is missing. Return values can be left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, and the description compensates fully by spelling out the bannerMode semantics, including what 'both' means at the edge (GDPR everywhere, CCPA to US visitors). The domainId default behavior is covered by the schema's own description, so no meaning is lost.

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?

States a specific verb and resource ('Sets which privacy regulation ... banner follows') and enumerates the exact values gdpr/ccpa/both. It also defines the non-obvious 'both' semantics, so an agent can distinguish it from customise_banner or regenerate_banner without opening any 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?

Clear scope boundary: it changes the regulation only and 'changes nothing else about the banner', which implicitly routes other banner edits to customise_banner/regenerate_banner. It never names those alternatives explicitly and gives no prerequisites (e.g. required permissions), so it stops short of a 5.

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