Skip to main content
Glama
moxno

privacyscrubber-mcp

by moxno

sanitize_text

Scrub PII, secrets, and credentials from text, code, or logs locally. Replace sensitive data with safe placeholders like [EMAIL_1] to protect privacy before sending to any LLM.

Instructions

Locally scrubs PII, secrets, and credentials (like API keys, passwords, emails, phones, names) from code, logs, or text. Replaces them with safe placeholders (e.g., [EMAIL_1], [API_KEY_1]). Keep your data secure before passing it to any LLM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe raw text, code, or logs to sanitize.
profileNoThe detection profile to use. Available: 'General' (Free), or PRO profiles: 'Dev' (Engineering/Code), 'Medical', 'Pharma', 'Legal', 'Compliance', 'CCPA', 'Finance', 'Bizops', 'Sales', 'WealthMgmt', 'Insurance', 'Accounting', 'HR', 'Security', 'Marketing', 'Support', 'RealEstate', 'Agents', 'Academic', 'Creative', 'Tech', 'Personal'. Defaults to 'General'.
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses that scrubbing is local, replaces with placeholders like [EMAIL_1], and lists types of items removed. It does not cover all behavioral traits (e.g., error handling, idempotency), but is sufficient for typical use.

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

Conciseness5/5

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

Two sentences with no wasted words. Front-loaded with the core action and scope, followed by a usage reminder. Each sentence adds necessary context.

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?

For a simple tool with two parameters and no output schema, the description covers the main purpose and usage. It lacks explicit mention of return format but is adequate given the tool's straightforward nature.

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 coverage is 100% with both parameters described. The description adds a concrete placeholder example ([EMAIL_1]) and clarifies the replacement behavior, but this adds limited value beyond the schema's parameter descriptions.

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?

The description clearly states it scrubs PII, secrets, and credentials from text, replacing them with placeholders. It identifies the specific resource (text) and action (sanitize), and the sibling tools (reveal_text, sanitize_file) are sufficiently differentiated by context.

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 advises keeping data secure before passing to an LLM, implying usage context. However, it does not explicitly state when to use this tool versus siblings (e.g., when to use sanitize_file or reveal_text), missing clear alternatives or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moxno/privacyscrubber-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server