Skip to main content
Glama
PSPDFKit

Nutrient DWS MCP Server

by PSPDFKit

ai_redactor

Destructive

Detect and permanently redact sensitive information in documents with AI analysis. Supports PII, financial data, PHI, and custom criteria.

Instructions

Detect and permanently redact sensitive content using the Nutrient AI Redaction API. Reads input files from the local file system or sandbox (if enabled) and writes redacted output back locally.

Automatically detects and permanently removes sensitive information from documents using AI analysis. Detected content types include: • Personally identifiable information (names, addresses, phone numbers) • Financial data (credit card numbers, bank accounts, SSNs) • Email addresses and URLs • Protected health information (PHI) • Any custom criteria you specify

By default (when neither stage nor apply is set), redactions are detected and immediately applied. Set stage to true to detect and stage redactions without applying them. Set apply to true to apply previously staged redactions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applyNoApplies previously staged redactions. By default (when neither stage nor apply is set), redactions are detected and immediately applied. Mutually exclusive with stage. Typical workflow: run once with stage=true, then later run again with apply=true to apply staged redactions.
stageNoStages redactions without applying them. By default (when neither stage nor apply is set), redactions are detected and immediately applied. Mutually exclusive with apply. Typical workflow: run once with stage=true, then later run again with apply=true to apply staged redactions.
criteriaNoWhat sensitive information to redact. The AI will detect and remove matching content. Examples: "All personally identifiable information", "Social security numbers and credit card numbers", "Names, email addresses, and phone numbers", "Protected health information (PHI)".All personally identifiable information
filePathYesThe path to the document to redact. Resolves to sandbox path if enabled, otherwise resolves to the local file system.
outputPathYesPath for the redacted output file. Resolves to sandbox path if enabled, otherwise resolves to the local file system.
Behavior4/5

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

Beyond annotations, the description discloses the permanent/destructive nature of the operation, the ability to stage before applying, and that it reads/writes locally or from sandbox. It does not contradict annotations. Adds context on types of content detected and default behavior when neither stage nor apply is set.

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?

The description is well-structured with a clear opening sentence, bullet points for content types, and clear paragraphs for stage/apply workflow. Every sentence adds value, no fluff. Appropriate length.

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?

Given the tool's moderate complexity and lack of output schema, the description covers the essential aspects: what it does, parameters, workflow, and file handling. It is sufficient for an AI agent to understand when and how to use it effectively.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the stage/apply workflow, providing concrete examples for the criteria parameter, and clarifying file path resolution. This meaningfully supplements the schema.

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 the tool detects and permanently redacts sensitive content using the Nutrient AI Redaction API. It specifies the action (detect and redact) and the resource (sensitive content), and lists types of content it handles. It is distinct from sibling tools like document_processor or document_signer.

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

Usage Guidelines4/5

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

The description explains the default behavior (detect and apply) and provides explicit workflow for staging and applying redactions using the stage and apply flags. It mentions mutual exclusivity. While it does not directly compare to siblings, the tool's unique purpose is clear enough. Could be improved by stating when not to use it, but overall good guidance.

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/PSPDFKit/nutrient-dws-mcp-server'

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