Skip to main content
Glama
twoer

pdf-toolbox-mcp

by twoer

Tool Redact

tool_redact

Permanently redact PDF text by blacking out selected regions; rasterized pages destroy the text layer so copied content cannot be recovered.

Instructions

真涂黑(安全级):regions=[{page,x,y,w,h}](PDF 点、左上原点)。含涂黑区域的页被光栅化—— 被涂文字物理删除,复制/提取/文本层均无法恢复;其余页保留原文本层。 rasterize_all=true 全文档光栅化(最高防护档)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dpiNo
pathYes
outputNo
regionsYes
overwriteNo
rasterize_allNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden. It discloses critical behavior: pages with redactions are rasterized, text is physically and irrecoverably removed, other pages keep their text layer, and rasterize_all rasterizes the whole document.

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?

Two compact sentences deliver the security promise, coordinate format, irreversibility, and the rasterize_all escalation. 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?

The core destructive behavior and region format are well covered, and an output schema reduces the need to document return values. Still, it omits output/overwrite flow, dpi effect, and path constraints, which matter for a destructive tool.

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 0%, and the description meaningfully documents regions=[{page,x,y,w,h}] with coordinate units and origin, plus rasterize_all semantics. However, dpi, path, output, and overwrite are not explained in either the schema or description.

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/resource: secure redaction via coordinate regions, and clearly distinguishes itself by explaining physical deletion and rasterization, which separates it from sibling tools like tool_redact_text.

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 gives context that this is the security-level true redaction option and describes when rasterize_all=true is strongest, but it does not explicitly state when to prefer this tool over tool_redact_text or tool_sanitize.

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

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/twoer/pdf-toolbox-mcp'

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