Skip to main content
Glama

unmake file tools

Remove personal data from a document (free beta)

doc_pii_redact
Read-onlyIdempotent

Remove personal data from a document (free beta) (free beta). Replaces every personal detail in a PDF, text, CSV or e-mail with consistent numbered placeholders, returns the redacted file (PDF text under boxes removed, every layer re-read as proof), a restore key and a redaction list. Files are deleted after delivery. Use when: A document with personal data must be shared, filed or pasted into an AI tool without the personal data. Not for: Images other than PDF scans, DOCX/XLSX (coming), documents over 30 pages. File types: pdf, txt, csv, eml, md. Max 20 MB.

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": "doc_pii_redact"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations: it discloses the output bundle (redacted file, restore key, redaction list), the verification behavior (PDF text under boxes removed, every layer re-read as proof), and the data-retention policy (files deleted after delivery). That lifecycle and output detail is exactly what annotations cannot convey.

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?

Well front-loaded with a clear Use when / Not for / limits structure that scans easily. The duplicated '(free beta) (free beta)' in the opening line is pure waste and the parenthetical about proof-of-redaction is dense, but overall the text earns its place.

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?

With no output schema, the description compensates by naming all three returned artifacts, so an agent knows what it gets back. The main residual gap is that the nested options object and its shape are never explained, which is the one thing an agent could still get wrong.

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%, so the baseline is 3; the description adds useful constraint by enumerating accepted file types (pdf, txt, csv, eml, md) and the 20 MB cap, which informs file_url/file_base64 choice. However the nested 'options' object is left completely opaque — the description never says which options exist.

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?

States a specific verb and resource ('Remove personal data from a document') and immediately explains the mechanism: every personal detail replaced with consistent numbered placeholders. No sibling in the catalog does redaction, and the description makes that scope obvious without needing comparison.

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

Usage Guidelines5/5

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

Explicit 'Use when' clause gives the triggering scenario (document must be shared, filed, or pasted into an AI tool) and an explicit 'Not for' list excludes images other than PDF scans, DOCX/XLSX, and documents over 30 pages. File-type and size limits further bound applicability.

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