Skip to main content
Glama
mcp-server-privacy-compliance-assistant

mcp-server-privacy-compliance-assistant

by itssaeedyari

get_consent_requirements

Read-onlyIdempotent

Determine consent requirements for a jurisdiction and tracking type, including opt-in rules, opt-out links, GPC signal handling, and required banner elements before launching tracking.

Instructions

Use when designing a cookie or consent banner, adding analytics, ad pixels or tracking, or using user data to train AI, for people in a given jurisdiction. Returns opt_in_required (consent before it starts), opt_out_link_required (a visible opt-out, such as "Do Not Sell or Share"), honor_gpc_signal (whether Global Privacy Control / universal opt-out signals must be honored) and the elements the banner or notice must show. tracking_type: essential, analytics, advertising or ai_training. Codes as in get_jurisdiction_compliance.

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": {
      "jurisdiction_code": "<jurisdiction_code>",
      "tracking_type": "<tracking_type>"
    },
    "name": "get_consent_requirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
tracking_typeYes
jurisdiction_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this a non-destructive, idempotent, closed-world read, so the description's main value is disclosing the payload: opt_in_required, opt_out_link_required, honor_gpc_signal, and the required banner elements. That is genuinely useful since no output schema exists. It does not discuss edge cases such as unknown jurisdiction codes or unsupported tracking types, which keeps it off a 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?

The content is dense but every clause carries information: use contexts, three named return booleans, and the banner-element list. The opening sentence is long and run-on, and putting the use case before the one-line purpose statement slightly buries what the tool actually returns.

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 two-parameter read with no output schema, the description covers both inputs reasonably and enumerates the return fields, which is the main completeness risk here. The remaining gap is the jurisdiction_code value space, which is delegated to a sibling tool rather than described.

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 description coverage is 0%, so the description must carry the meaning, and it does: tracking_type is enumerated as essential, analytics, advertising or ai_training, which the schema itself does not provide. jurisdiction_code is only characterized indirectly as 'people in a given jurisdiction' with a cross-reference to get_jurisdiction_compliance for code format, leaving its exact value set implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the concrete decision it supports (whether opt-in is required, whether an opt-out link is needed, whether GPC must be honored) for a given jurisdiction and tracking type, which is specific enough to distinguish it from compare_jurisdictions or evaluate_cross_border_transfer. It leads with a usage scenario rather than an explicit verb+resource statement, so the 'what it does' is inferred from the return fields rather than stated outright.

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?

'Use when designing a cookie or consent banner, adding analytics, ad pixels or tracking, or using user data to train AI' gives several concrete triggering situations, which is well above implied usage. It stops short of stating when not to use it or naming an alternative tool for adjacent questions, though the reference to get_jurisdiction_compliance implies a division of labor.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.