Skip to main content
Glama
gabrielmrojas

PDF Processor Server

upload_file_base64

Upload base64-encoded files to temporary storage for PDF processing. Supply the file data and filename to make it available for text extraction, merging, or conversion.

Instructions

Upload a file encoded as base64 and persist it in temp storage.

Pass the base64-encoded content and the desired filename (e.g., "document.pdf").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
base64Yes
filenameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries full burden for behavioral disclosure. It does reveal that files are persisted in temp storage, which is a meaningful side effect. However, it omits other behavioral details like validation, size limits, potential errors, or how the uploaded file is referenced later, leaving the agent partially informed.

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 two sentences: the first states the tool's purpose, the second confirms the parameter semantics. It is front-loaded, free of filler, and every word earns its place, making it highly concise and well-structured.

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 tool is simple (2 required strings, no nested objects) and has an output schema, so return-value details are not needed in the description. However, the lack of usage guidance relative to sibling upload tools is a notable omission, and the description doesn't mention how the stored file relates to other temp-resource tools, leaving some contextual gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has no descriptions (0% coverage), so the description must clarify both parameters. It explains that 'base64' is the base64-encoded content and 'filename' is the desired name, with a concrete example. This adds meaningful context beyond the raw schema properties, though it doesn't specify details like allowed formats or max length.

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 clearly states the tool uploads a base64-encoded file and persists it in temp storage. It uses specific verb 'upload' with resource 'file encoded as base64' and destination 'temp storage'. However, it does not distinguish from sibling tools like upload_file or upload_file_url, which also upload files, so it stops short of a 5.

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?

The description provides no guidance on when to use this tool versus its siblings (upload_file, upload_file_url). It merely instructs how to pass parameters, with no mention of context, exclusions, or alternatives. This leaves the agent without criteria for tool selection.

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/gabrielmrojas/pdf_mcp_server'

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