Skip to main content
Glama

set_ai_privacy_rules

DestructiveIdempotent

AI & privacy gateway: change the tenant's rules — per data_class (public, internal, personal, sensitive) the action none, pseudonymised or allowed, optionally only for one product (provider); reset=true removes a rule so the default applies again. Loosening what AI models see is a person's decision: EVERY call over MCP is parked for approval and only runs when a tenant admin approves it in the app (Approvals). IBANs stay masked whatever is set. Admins can also change the rules directly on the page 'KI & Datenschutz'.

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": {
      "rules": "<rules>"
    },
    "name": "set_ai_privacy_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesYesRules to set or reset, one per data class and product
reasonNoWhy — shown to the approving admin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / rules / items / properties / provider / description
      Previous value: -"'*' (default) = all products, or one provider: ai-call-bot, tenderaize, supportaize, bookaize, zapier, nodem, taufnaus, contecht-5d-planer, gutachten-ai-sist, ernteapp, verain, complaiance, coachaize, excelaize."New value: +"'*' (default) = all products, or one provider: ai-call-bot, tenderaize, supportaize, bookaize, zapier, nodem, taufnaus, dealeraize, contecht-5d-planer, gutachten-ai-sist, ernteapp, verain, complaiance, coachaize, excelaize."
  2. Changed1 schema field changed
    • changedInput schema / properties / rules / items / properties / provider / description
      Previous value: -"'*' (default) = all products, or one provider: ai-call-bot, tenderaize, supportaize, bookaize, zapier, nodem, taufnaus, contecht-5d-planer, gutachten-ai-sist, ernteapp, verain, complaiance, coachaize."New value: +"'*' (default) = all products, or one provider: ai-call-bot, tenderaize, supportaize, bookaize, zapier, nodem, taufnaus, contecht-5d-planer, gutachten-ai-sist, ernteapp, verain, complaiance, coachaize, excelaize."
  3. Changed3 schema fields changed
    • addedInput schema / properties / rules / description
      Added value: +"Rules to set or reset, one per data class and product"
    • addedInput schema / properties / rules / items / properties / action / description
      Added value: +"What AI may see of this class: nothing, pseudonymised or allowed"
    • addedInput schema / properties / rules / items / properties / data_class / description
      Added value: +"Data class the rule applies to"
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare destructive/non-readOnly/idempotent; the description goes well beyond by disclosing that EVERY MCP call is parked for approval and only executes after a tenant admin approves it in Approvals, that 'reason' is surfaced to that approver, and that IBANs stay masked regardless of settings. These are exactly the operational facts an agent needs before invoking a destructive write.

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 verb and rule shape, then the approval gate and the masking invariant. The final sentence about admins editing rules on the 'KI & Datenschutz' page is useful but the least load-bearing; the long compound opening sentence is dense yet earns its place.

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?

With only 2 top-level parameters, full schema coverage and no output schema, the description covers everything an agent needs: what changes, how reset works, product scoping, the approval gate and its latency implication, and an invariant (IBAN masking) that survives the change.

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%, so the enum values, the provider list and the reset semantics are already documented in the schema. The description restates the same data_class/action/provider/reset relationship without adding syntax or constraint detail beyond it, so baseline 3 applies.

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 ('change the tenant's rules') scoped per data_class with the three allowed actions, and clarifies the optional product scoping plus the reset=true special case. An agent can tell this apart from the read-side sibling 'ai_privacy_rules' purely from the description.

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?

The reset=true sentence makes the 'remove a rule so the default applies' use case explicit, and the closing note points to the app page 'KI & Datenschutz' as an alternative path for admins. It never explicitly says to read current rules via the sibling tool first, so the routing guidance is clear but not exhaustive.

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.