Skip to main content
Glama
marc-hanheide

PDF Redaction MCP Server

load_pdf

Load a PDF into memory for session-based operations, making it accessible for redaction and other tools. Use this first to prepare a document for subsequent PDF operations.

Instructions

Load a PDF file into memory for session-based operations.

All other PDF tools in the MCP server require a document to be loaded first using this tool. The document remains in memory until saved or the session ends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pdf_pathYesPath to the PDF file to load
document_idNoOptional identifier for this document. If None, uses the filename

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It states that the document remains in memory until saved or the session ends, which is key behavior beyond the obvious load action. However, it does not mention error handling or access requirements, so it's not a 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?

The description is composed of three concise, purposeful sentences: the core action, the prerequisite relationship, and the memory lifetime. Every sentence adds necessary information without redundancy.

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

Completeness5/5

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

For a simple load tool, the description fully covers its role among the sibling tools, the mandatory usage prerequisite, and the in-memory lifetime. An output schema exists, so return values need not be described. The description is complete for its complexity.

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 input schema already provides descriptions for both pdf_path and document_id, achieving 100% schema description coverage. The tool description adds no parameter-specific details, so the baseline of 3 applies.

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 'Load' and resource 'PDF file into memory', and explicitly states that all other PDF tools require this tool first, which clearly distinguishes it from siblings like extract_text_from_pdf and redact_text_by_search.

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?

The description gives clear context that this tool is a prerequisite for all other PDF tools, but it does not explicitly provide when-not-to-use guidance or name alternative tools, stopping short of a 5.

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/marc-hanheide/pdf-redaction-mcp'

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