Skip to main content
Glama
Roshi's Recorder MCP

Roshi's Recorder MCP

Official

Manage Redaction Rules

manage_redaction_rules
Idempotent

Configure automatic text and metadata redaction by enabling PII presets, adding custom terms or regex patterns, and testing rules on sample text.

Instructions

Configure automatic text & metadata redaction: enable/disable PII presets (ssn, credit_card, email, phone, secrets, bank_account, ipv4), add/remove custom literal terms or regexes, or test redaction on sample text (action='test').

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
termNo
labelNoREDACTED
actionYes
presetNo
enabledNo
patternNo
sample_textNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, idempotent behavior, so the safety profile is covered. The description adds useful context that rules can target both text and metadata and can be dry-run via test mode, but it omits whether changes apply retroactively to existing recordings or only future ones, and what the `label` substitution does.

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?

A single dense sentence that front-loads the purpose and then enumerates the operations and preset values with no filler. The parenthetical preset list is long but each item is functional.

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

Completeness3/5

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

Output schema exists so return values needn't be explained, and the main intents are covered. However, for a 7-parameter mutation tool with zero schema descriptions, the missing action enumeration and undocumented label/enabled parameters leave an agent unable to call it correctly for anything but the test path.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, yet it only clarifies `action='test'` and loosely implies the term/pattern and preset parameters. The valid `action` set is never enumerated, and `label` (default 'REDACTED'), `enabled`, and `sample_text` are left entirely to the bare schema titles.

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 automatic text & metadata redaction) and enumerates the concrete operations: enable/disable presets, add/remove literal terms or regexes, test on sample text. It is clearly a redaction-rule tool, but it doesn't distinguish itself from related rule-management siblings like manage_watch_rules or manage_ignore_list.

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?

It implies usage through the operations it lists and explicitly routes the test mode via `action='test'`, but it never states when to prefer this over sibling rule tools or what other valid `action` values exist, so the agent must infer the mapping between intent and action.

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