Skip to main content
Glama
This server has been deprecated

Deprecated in favor of fme-mcp: https://github.com/mwjouini/fme-mcp

gov_redact_pii

Scans text for sensitive personal data and authentication secrets, then redacts emails, credit card numbers, and credentials to prevent exposure.

Instructions

Scan and scrub sensitive personal data (emails, credit cards) and authentication secrets.

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": {
      "text": "<text>"
    },
    "name": "gov_redact_pii"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden, and it leaves the key behavioral question unanswered: 'scrub' could mean mutating stored data or returning a redacted copy of the supplied text. It also does not say how matches are replaced (masking character, placeholder token), whether the operation is reversible, or whether detection is regex- or model-based, which matters for false negatives on secrets.

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 front-loaded sentence with no filler or repetition, and the parenthetical examples do real work by scoping what counts as sensitive data. It is efficient, though its brevity is partly under-specification rather than disciplined editing.

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?

An output schema exists, so return values need not be explained, and a single-parameter tool does not demand heavy documentation. However, for a security-sensitive redaction tool with no annotations, the description should at minimum establish whether the input is modified or a redacted string is produced; that gap makes it only minimally adequate.

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?

There is exactly one parameter and the schema documents it only as a bare 'string' with 0% description coverage. The description partially compensates by implying the string is text to be scanned for PII, but it adds no format, size, or encoding constraints beyond that implication. Partial compensation for a low-coverage single parameter lands at 3.

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 specific verbs (scan, scrub) and a specific resource (sensitive personal data), and enumerates concrete categories: emails, credit cards, authentication secrets. That is clearly more than a restatement of the name. It stops short of distinguishing this from any sibling, but no sibling in the provided list plausibly overlaps with PII redaction.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g. does this operate on a stored dataset or a supplied string?), and no statement about when another tool such as gov_classify_dataset or quality_score_dataset would be the better choice. The agent must infer the trigger condition entirely from the tool name.

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