Skip to main content
Glama

PDFWix

Remove a PDF password

unlock_pdf
Idempotent

Remove the password from a PDF you know the password for, producing an unrestricted copy. The password is used once and never stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesA single input file, given as either an HTTPS url or base64 contents.
passwordYesThe password that currently opens the PDF.
output_filenameNoName for the unlocked file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark the tool as non-read-only, idempotent, and non-destructive. The description adds valuable context beyond that: the password is used once and never stored, and the result is an unrestricted copy rather than an in-place modification.

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 with the main action and condition front-loaded. The security note is expressed in a single short clause, and there is no filler or redundant restating of the schema.

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

Completeness4/5

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

For a simple unlock operation, the description, fully documented schema, and annotations cover the essential usage. It doesn't detail error behavior or return format, but the 'unrestricted copy' phrasing and absence of an output schema keep this acceptable.

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 100%, so the schema already documents file, password, and output_filename thoroughly. The description doesn't add parameter-level detail, but it doesn't need to; baseline 3 is appropriate.

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 ('Remove') and resource ('a PDF'), and adds the crucial condition 'you know the password for' plus the outcome 'unrestricted copy.' This clearly distinguishes it from sibling PDF tools like repair_pdf or compress_pdf.

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

Usage Guidelines4/5

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

It clearly implies when to use it: when you have the password and want an unrestricted PDF copy. It doesn't explicitly name alternatives or exclusion cases, but the condition is concrete enough for an agent to select it correctly.

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