Skip to main content
Glama
dambuchs

redact-pdf-mcp

Download a redacted PDF

download_redacted
Destructive

Download the finished redacted PDF for a document once its status is "redacted", using the document id from redact_pdf or get_job_status. Saves the permanently redacted output to your chosen path.

Instructions

Download the finished redacted PDF for one document, using the document id from redact_pdf or get_job_status.

Only works once that document reports status "redacted". For a job created with mode "pseudonymize", the result also carries document_text, the pseudonymized document as text (document_text_path when long), and you get the tag -> original table with download_correspondence (redact_pdf_and_wait fetches both for you). Under the default "ephemeral" retention the original is already gone; the redacted output is kept for the account's retention window (14 days by default) and then deleted.

Input Schema

NameRequiredDescriptionDefault
document_idYesThe document id, from the documents list of redact_pdf or get_job_status.
output_pathNoWhere to write the redacted PDF on this machine. Defaults to the input path with a "-redacted" suffix, next to the original. Output is always a PDF, so an image input produces a .pdf file. The original file is never modified.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.1
    • changedInput schema / properties / output_path / description
      Previous value: -"Where to write the redacted PDF on this machine. Defaults to the input path with a \"-redacted\" suffix, next to the original. The original file is never modified."New value: +"Where to write the redacted PDF on this machine. Defaults to the input path with a \"-redacted\" suffix, next to the original. Output is always a PDF, so an image input produces a .pdf file. The original file is never modified."
  2. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses the status gate, retention semantics ('ephemeral' means the original is already gone; output kept for the account's retention window, 14 days by default), and mode-dependent return content (document_text, document_text_path, tag -> original table). That is exactly the operational context an agent needs before calling.

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?

It is front-loaded with the core action and precondition, then layers on retention and pseudonymize details. The third sentence is dense but each clause carries distinct information; only the parenthetical about redact_pdf_and_wait feels slightly appended.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by explaining what the result contains in pseudonymize mode and how long files persist. Combined with the status prerequisite, an agent has everything needed to call it correctly and interpret the response.

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 both parameters are already documented in the schema, and output_path receives no discussion in the description. The description does add provenance for document_id, but that only matches rather than exceeds the schema's own wording.

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 states a specific verb and resource ('Download the finished redacted PDF for one document') and pins down the identifier source ('using the document id from redact_pdf or get_job_status'). This clearly separates it from siblings like download_correspondence and redact_pdf_and_wait.

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?

It gives an explicit precondition ('Only works once that document reports status "redacted"') and names an alternative with its purpose ('download_correspondence ... redact_pdf_and_wait fetches both for you'). When-to-use and when-to-use-something-else are both spelled out.

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