Skip to main content
Glama

Manage Redaction Rules

manage_redaction_rules
Idempotent

Configure Signal text and metadata redaction rules applied to reads, searches, exports, filenames, and watch payloads. Add or strengthen rules when policy is locked; rules cannot be weakened.

Instructions

Configure Signal text/metadata redaction rules (applies to all reads, searches, exports, filenames, and watch payloads; note that binary images/PDFs are not OCR-redacted, though block_media_on_redacted can block media on redacted messages). When the policy is locked via CLI, rules can be strengthened/added but not weakened.

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": {
      "action": "<action>"
    },
    "name": "manage_redaction_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
termNo
actionYes
presetNo
enabledNo
patternNo
whole_wordNo
replacementNo[REDACTED]
case_sensitiveNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations only declare the generic profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false); the description goes well beyond them by disclosing the exact surfaces redaction touches, the limit that binary images/PDFs are not OCR-redacted, the block_media_on_redacted workaround, and the lock-policy asymmetry. It stops short of saying whether removing/weakening a rule silently deletes stored data or what an invalid action returns.

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?

Two dense sentences with the primary purpose front-loaded and no filler; the parenthetical scope list earns its space. The nested aside about block_media_on_redacted slightly clutters an already long sentence, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output values are covered by an output schema, and the effects of the rules are described well, but for a 9-parameter mutation tool with an undocumented required 'action' field the definition leaves the agent unable to construct a valid call. The most critical information for correct invocation is missing.

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

Parameters1/5

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

There are 9 parameters at 0% schema description coverage, and the description explains none of them -- not the allowed 'action' values, not the difference between name/term/preset/pattern, and not how whole_word, case_sensitive, or replacement behave. With the schema carrying zero documentation, the description had the full burden and provided nothing.

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?

States a specific verb and resource ('Configure Signal text/metadata redaction rules') and enumerates the scope of effect (reads, searches, exports, filenames, watch payloads). It does not distinguish this tool from the sibling test_redaction, nor does it hint at the CRUD-style 'action' parameter, so an agent still cannot fully separate it from alternatives.

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 description supplies one genuine usage constraint -- when the policy is locked via CLI, rules may be strengthened/added but not weakened -- which tells the agent which operations will fail. However, it never says when to call this versus test_redaction or the watch-rule siblings, and gives no per-action guidance for the required 'action' field.

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