Skip to main content
Glama
twoer

pdf-toolbox-mcp

by twoer

Tool Protect Pdf

tool_protect_pdf

Encrypt PDFs with AES-256 and enforce access permissions such as printing, copying, or modification. Set user and owner passwords to control who can open or alter the file before external distribution.

Instructions

AES-256 加密(对外分发)。user_password 留空 = 打开无密码、仅权限限制;权限默认可打印可复制、不可修改。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
outputNo
overwriteNo
allow_formNo
allow_printNo
allow_modifyNo
allow_extractNo
user_passwordNo
allow_annotateNo
allow_assemblyNo
owner_passwordNo

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

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full transparency burden. It usefully discloses the blank user_password behavior and the default permissions, but it does not explain output/overwrite behavior or what happens when owner_password is null. These are material unknowns for a file-modifying tool.

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 dense sentences with zero filler; the primary encryption purpose comes first and the critical user_password semantics immediately follow. This is appropriately sized for the information it conveys.

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

Completeness2/5

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

For an 11-parameter mutating tool with no annotations and 0% schema description coverage, this is too thin. Essential invocation details like what output=null means, whether overwrite applies to the input path, and what owner_password controls are absent. The output schema may cover return values, but not the file-side behavior.

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 description coverage is 0%, so the description must add parametric meaning. It does add the crucial semantic that an empty user_password still applies permissions without requiring an open password, and it summarizes three permission defaults. However, it leaves output, overwrite, owner_password, and several allow_* booleans unexplained beyond their raw names, and some default details are already present in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description nails the core action: it is AES-256 encryption for external distribution, which clearly identifies a protect/encrypt operation on a PDF. It distinguishes generally from siblings like unlock/extract/merge, though it never names a specific sibling.

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?

The phrase 对外分发 gives a clear intended context: protect PDFs that will be sent outside the organization. It does not explicitly say when not to use it or point to unlock/aliternative tools, leaving some routing inference to the agent.

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