Skip to main content
Glama
WendongAI

1pdf

by WendongAI

change_permissions

Set PDF access permissions to control printing, copying, and editing. Specify allowed actions and save to a new output file.

Instructions

Set PDF access permissions (print, copy, edit).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesAbsolute path to the PDF file
allow_copyNo
allow_editNo
allow_printNo
output_nameNoOutput file path (defaults to same dir with suffix)
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It states it sets permissions but does not explain whether it modifies the file in place, creates a new file, requires a password, or affects existing restrictions. The output_name parameter hints at output behavior, but the description itself is silent on side effects and security implications.

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 a single, front-loaded sentence that clearly states the verb, resource, and scope. Every word contributes value, and there is no redundant information.

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 a tool with 5 parameters, no output schema, and no annotations, the description is too sparse. It does not explain the output file behavior, how permissions interact with encryption or passwords, or what happens when boolean parameters are omitted. An agent would have significant uncertainty about the tool's actual behavior and consequences.

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 schema has 40% coverage (file and output_name have descriptions; the three boolean flags lack descriptions). The description partially compensates by naming print, copy, edit, which directly map to the boolean parameters, clarifying their intent. However, it does not explain defaults, how the boolean values map to allowed/denied, or the output_name behavior beyond what the schema already states.

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 'Set' with a clear resource 'PDF access permissions' and enumerates the exact scopes (print, copy, edit). This makes the tool's function unambiguous and distinguishes it from other PDF manipulation tools like remove_restrictions or encrypt.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites (e.g., owner password), nor any contrast with related tools such as remove_restrictions or encrypt. Usage is only implied by the purpose statement.

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/WendongAI/onepdf-mcp-server'

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