Skip to main content
Glama

Redact PDF

redact_pdf
Destructive

Remove text for real, not just cover it: name the exact text to remove, or describe it ("all names, emails and account numbers") and FynePDF finds it. The result is checked: if any of the text can still be found, nothing is returned. The original file is kept.

Input Schema

NameRequiredDescriptionDefault
fileNoA file the person attached in ChatGPT (filled in by ChatGPT).
findNoWhat to remove, in words (uses AI to find it).
textNo
file_idNoA FynePDF file_id from upload_file, import_file_from_url or an earlier tool.
file_urlNoA public link to the file.
match_caseNo
library_file_idNoA file from the person's FynePDF Library (from list_library_files).
remove_metadataNo

Output Schema

NameRequiredDescriptionDefault
cardNo
filesYes
foundNo
stepsYes
job_idYes
statusYes
creditsYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false; the description adds genuinely new behavior — the result is verified and nothing is returned if any target text survives, and the original file is preserved. It stops short of stating permissions or what a failure response looks like, keeping it below 5.

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?

Three short sentences, front-loaded with the key differentiator ('for real, not just cover it'), then the two targeting modes, then the safety/verification guarantee. No filler.

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

Completeness3/5

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

An output schema exists so return shape needn't be covered, and the verification behavior is a strong addition. But for a destructive 8-parameter tool with four optional, mutually substitutable file sources and unexplained flags, the description leaves too much selection logic to inference.

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?

The description maps its two modes onto the 'text' array and the 'find' string, adding meaning the schema leaves thin (the array has no description). However, with 63% coverage and 8 parameters, it says nothing about match_case, remove_metadata, or how file / file_id / file_url / library_file_id are chosen between.

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 text for real') plus the two ways to specify targets, which no sibling (smart_edit, stamp_pdf, protect_pdf) does. An agent can distinguish true redaction from covering content without opening the schema.

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?

It explains the two invocation modes (exact text vs. AI-described target), which is real usage guidance, but never says when to prefer this over siblings like smart_edit or protect_pdf, nor any preconditions. Usage is implied rather than routed.

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