Skip to main content
Glama

Update Data Protection settings

update_data_protection

Change the organization-wide Data Protection baseline (only the fields you send; audited before/after; applies at once to every agent). Organization-wide Data Protection (every agent): pii_enabled (bool); pii_strictness (log | redact | block); pii_identifiers (list of identifier keys, e.g. email, phone_number, saudi_national_id, full_name, saudi_cr); pii_overrides; pii_languages (language codes) + pii_language_fallback (fallback | pinned | strict); pii_storage_mode; pii_custom_rules {always_redact: [{label, match: phrase|pattern, value}], never_redact: [{value}]}; pii_case_intake_enabled (Assessment Studio intake only); output_block_remote_images (bool — Safe Output: images in agent replies become '[image removed]'); output_plain_text_links (bool — Safe Output: links in agent replies become plain 'label (url)' text).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_data_protection"
  }
}

Input Schema

NameRequiredDescriptionDefault
pii_enabledNoSee the description.
pii_languagesNoSee the description.
pii_overridesNoSee the description.
pii_strictnessNoSee the description.
pii_identifiersNoSee the description.
pii_custom_rulesNoSee the description.
pii_storage_modeNoSee the description.
pii_language_fallbackNoSee the description.
output_plain_text_linksNoSee the description.
pii_case_intake_enabledNoSee the description.
output_block_remote_imagesNoSee the description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / output_block_remote_images
      Added value: +{
      +  "description": "See the description.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / output_plain_text_links
      Added value: +{
      +  "description": "See the description.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, but the description adds genuinely non-obvious behavior: the change is audited before/after and propagates immediately to every agent in the organization. That blast-radius disclosure is the key risk signal an agent needs, though permission/auth requirements and the response shape are not described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical semantics are front-loaded in the first sentence, which is good, but the second sentence is a dense telegraphic run-on and repeats 'Organization-wide Data Protection (every agent)' already established in the opening. For 11 parameters the length is defensible, yet the format costs readability.

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?

Given 11 optional parameters, nested objects, no output schema, and a mutation that affects every agent, the description covers most of what an agent needs: partial-update behavior, audit trail, immediate org-wide effect, and per-field meanings. The remaining gap is return/confirmation behavior and any permission constraints, which are minor relative to what is covered.

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% but every schema property description is the placeholder 'See the description.', so the description is the only real documentation and it delivers: enum values for pii_strictness (log | redact | block) and pii_language_fallback, the structure of pii_custom_rules, and the concrete effect of the Safe Output flags ('[image removed]', 'label (url)'). It leaves pii_overrides and pii_storage_mode named but unexplained, keeping it below 5.

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 opening states a specific verb and resource ('Change the organization-wide Data Protection baseline') and adds scope ('applies at once to every agent'), which clearly distinguishes it from the read-only get_data_protection sibling by implication. It does not explicitly name the sibling it complements, so it stops short of a 5.

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

Usage Guidelines3/5

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

The parenthetical 'only the fields you send' communicates partial-update semantics, which is useful guidance for how to call it. However, there is no explicit statement of when to use this versus get_data_protection, no prerequisites or permission notes, and no warning about when not to use it.

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