Skip to main content
Glama
marc-hanheide

PDF Redaction MCP Server

verify_redactions

Compare original and redacted PDFs to confirm redactions are correct, optionally checking that specified strings no longer appear.

Instructions

Verify that redactions were applied correctly by comparing two loaded PDF documents.

Both documents must be loaded first using load_pdf.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
search_stringsNoOptional list of strings that should no longer appear in redacted PDF
original_document_idYesIdentifier of the original document
redacted_document_idYesIdentifier of the redacted document

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose the prerequisite and the comparative nature of the operation, but it does not mention whether the tool is read-only, what happens if documents are not loaded, or how search_strings are used beyond the schema description. This leaves some behavioral gaps.

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 two concise sentences, front-loaded with the primary action and a clear prerequisite. No wasted words; every sentence earns its place. It is appropriately sized for the tool's simplicity.

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 a complete input schema and an output schema present, the description is sufficiently complete for the tool's moderate complexity. It covers the purpose and the prerequisite. The only minor gap is not explicitly tying search_strings to the comparison, but the schema's description of that parameter fills the gap.

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?

All parameters have schema descriptions (100% coverage), so the baseline is 3. The description adds the contextual note that documents must be loaded first, but it does not add extra meaning to the individual parameters beyond what the schema already provides. The search_strings parameter is only explained in the schema, which is adequate.

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 uses a specific verb ('Verify') and resource ('redactions') and explains the method ('comparing two loaded PDF documents'). It clearly distinguishes the tool from siblings like redact_text_by_search or search_text_in_pdf, and the prerequisite of loading documents first is stated, making the purpose unambiguous.

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 explicitly states that both documents must be loaded first using load_pdf, providing a clear precondition for use. It implies usage after redaction ('verify that redactions were applied correctly'). It does not explicitly list alternatives or when-not-to-use, but the context is sufficient for a well-defined workflow.

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/marc-hanheide/pdf-redaction-mcp'

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