Skip to main content
Glama

Preview a compliance-determinative (tier 3) configuration change before committing it

account.previewComplianceChange
Read-only

Shows the exact before/after for a compliance change to one of your apps, with a plain-language consequence for every field, explicit warnings where a list-valued field would delete existing entries, and a warning when the change re-issues consent — only a change to how consent categories map to Google/Meta/Microsoft consent signals does, and returning visitors are then asked again only if Consent on Update (resetConsent) is on. Returns a short-lived, tier-bound preview token the commit tool requires. Refuses cosmetic fields — those go through account.previewDesignChange.

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>"
    },
    "name": "account.previewComplianceChange"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoOnly the compliance-determinative text keys (privacyPolicyUrl, dontSellUrl). Wording changes go through account.previewDesignChange.
AppIDYesThe app to change. Must be covered by your API token's app scope.
configNoPartial config.* overrides — TIER 3 (compliance-determinative) KEYS ONLY. Top-level "blocking" (the site-wide setting for scripts before a visitor chooses) exists in Designer API but these tools do not write it, and on a direct-snippet install blocking comes from the huOptions snippet instead. Both engines read it from the page: install code sets its own (install.getSnippet sets it on), and the WordPress plugin copies the stored value. On the New engine it decides only while region rules (geolocation) are off (unset holds recognised scripts until the visitor chooses), and the dashboard's Laws page then shows the stored value as "Setting for every visitor"; with region rules on, the banner's law table decides each place instead. On the Classic engine it decides wherever no region rule applies. Per-region blocking on the Classic engine is geolocationRules[].blocking and the geolocation{EU,US,OR}blocking booleans (the New engine reads neither); uiBlocking is a different feature (a cookie wall).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / config / description
      Previous value: -"Partial config.* overrides — TIER 3 (compliance-determinative) KEYS ONLY. Top-level \"blocking\" (the site-wide base posture) exists in Designer API but these tools do not write it, and on a direct-snippet install blocking comes from the huOptions snippet instead. Per-region blocking is geolocationRules[].blocking and the geolocation{EU,US,OR}blocking booleans; uiBlocking is a different feature (a cookie wall)."New value: +"Partial config.* overrides — TIER 3 (compliance-determinative) KEYS ONLY. Top-level \"blocking\" (the site-wide setting for scripts before a visitor chooses) exists in Designer API but these tools do not write it, and on a direct-snippet install blocking comes from the huOptions snippet instead. Both engines read it from the page: install code sets its own (install.getSnippet sets it on), and the WordPress plugin copies the stored value. On the New engine it decides only while region rules (geolocation) are off (unset holds recognised scripts until the visitor chooses), and the dashboard's Laws page then shows the stored value as \"Setting for every visitor\"; with region rules on, the banner's law table decides each place instead. On the Classic engine it decides wherever no region rule applies. Per-region blocking on the Classic engine is geolocationRules[].blocking and the geolocation{EU,US,OR}blocking booleans (the New engine reads neither); uiBlocking is a different feature (a cookie wall)."
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes safety, but the description adds substantial context beyond it: per-field plain-language consequences, explicit warnings when a list-valued field would delete entries, the precise condition under which consent is re-issued (consent-category-to-signal mapping, only with resetConsent on), and the fact that the returned token is short-lived and tier-bound. It does not describe the shape of the before/after payload itself, which keeps it below 5.

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?

Front-loaded with the outcome and the token requirement, and every sentence carries distinct information (warnings, consent behavior, sibling routing). The consent re-issue sentence is heavily nested and slow to parse, which costs it a point.

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 read-only preview with no output schema, the description covers the meaningful return contract (before/after diff, warnings, short-lived tier-bound token required by the commit tool) and the scope boundary. It leaves the commit tool unnamed and says nothing about token lifetime in concrete terms, both minor for this tool's complexity.

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

Parameters3/5

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

Schema description coverage is 100%, including a lengthy config description, so the schema carries the parameter detail and the baseline is 3. The description adds some meaning by tying changes to runtime effects (entry deletion, consent re-issue from consent-category mapping), but it adds nothing to the AppID scoping or the text-versus-config split that the schema does not already state.

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 ('Shows the exact before/after for a compliance change to one of your apps') and scopes it to tier-3 compliance-determinative changes. It explicitly names the sibling it is not — cosmetic fields 'go through account.previewDesignChange' — so an agent can separate the two preview tools 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 Guidelines4/5

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

Clear context for use (preview before committing) and an explicit exclusion (refuses cosmetic fields, route those to account.previewDesignChange). The commit path is only referred to as 'the commit tool' rather than named as account.updateComplianceConfig, so the agent must infer which sibling consumes the token.

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