Skip to main content
Glama

Apply a previously previewed COMPLIANCE (tier 3) configuration change

account.updateComplianceConfig
Destructive

Applies a compliance-determinative change (blocking, consent categories/levels, geolocation and regional rules, consent-mode, GPC, expiry, policy links) to one of your apps and publishes it. Requires the previewToken from account.previewComplianceChange — a cosmetic token will not work. Show the preview to the site owner and get their agreement before calling this; these settings decide whether consent is lawfully captured. Only a change to how consent categories map to Google/Meta/Microsoft consent signals re-issues consent; returning visitors are then asked again only if Consent on Update (resetConsent) is on.

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": {
      "AppID": "<AppID>",
      "previewToken": "<previewToken>"
    },
    "name": "account.updateComplianceConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe same compliance-relevant text.* values you previewed.
AppIDYesThe app to change. Must be permitted by your API token's app scope.
configNoThe same compliance-determinative config.* values you previewed.
publishNoPublish immediately (default true). False saves it to the draft without changing the live banner. Re-running the same call with true later (after the site owner approves) publishes the WHOLE draft, including any edits saved in the Cookie Compliance dashboard since the last publish.
previewTokenYesThe token returned by account.previewComplianceChange for this exact change. Required — a cosmetic (tier 1/2) token is rejected, so the consequence review cannot be bypassed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag readOnlyHint=false and destructiveHint=true, but the description goes well beyond that: it discloses that publish=true saves and publishes the WHOLE draft including dashboard edits made since the last publish, and that consent is only re-issued when consent-category mapping to Google/Meta/Microsoft signals changes, and then only if resetConsent is on. These are non-obvious, high-consequence behaviors an agent could not infer from the annotations.

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?

Three dense sentences, front-loaded with the action and immediately followed by the prerequisite and the human-approval warning; nothing is padding. There is mild redundancy with the schema on the previewToken rejection and the publish-whole-draft behavior, which is repeated rather than elaborated.

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 a destructive, nested-object mutation with no output schema, the description covers prerequisites, approval workflow, publishing side effects, and consent re-issue semantics. Remaining gaps are minor: it does not describe the response payload or what happens to non-compliance config values not included in the call.

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 parameter descriptions already carry most semantics. The prose still adds value by tying previewToken to its issuing tool and to the tier-3/cosmetic distinction, and by naming the setting families that config.* and text.* must mirror from the preview. It does not, however, explain the relationship between text.* and config.* beyond 'the same values you previewed'.

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+resource+scope: applies and publishes a compliance-determinative change to one app, then enumerates exactly which settings are covered (blocking, consent categories/levels, geolocation rules, consent-mode, GPC, expiry, policy links). It explicitly distinguishes itself from account.previewComplianceChange, the sibling it depends on, so an agent can pick correctly without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It states the hard prerequisite (a previewToken from account.previewComplianceChange for this exact change, cosmetic tier 1/2 tokens rejected), the human step required before calling (show the preview to the site owner and get agreement), and the consequence of the change (these settings decide whether consent is lawfully captured). The negative condition is concrete: do not call with a cosmetic token or without owner approval.

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