Skip to main content
Glama
gabrielmrojas

PDF Processor Server

upload_file

Save files to the server's temporary storage for PDF processing by passing a full path, short filename, or raw bytes/base64 data.

Instructions

Persist an uploaded file into the server temp directory.

Accepts:

  • Full path string

  • Short filename previously written to temp storage

  • Bytes / file-like / dict with base64 (will be saved to temp)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
filenameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that files are saved to the server temp directory, which is useful, but it does not mention overwrite behavior, permissions, error conditions, file lifecycle, or how the operation interacts with temp resource listing. 'Persist' implies a write but lacks depth expected for a mutation-style tool with zero annotation support.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the core purpose. The bullet list is a clear, scannable way to present accepted input types. Slightly more structure could clarify the relationship between `file` and `filename`, but there is no wasted prose.

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 0% schema parameter coverage, no annotations, and related sibling tools, the description is incomplete. It does not explain the `filename` parameter, the return value (despite an output schema), or how this tool connects to list_temp_resources and the specialized upload tools. The available information is not sufficient for an agent to confidently use all parameters and choose among siblings.

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 coverage is 0% and the `file` property is untyped ({}) in the schema, so the description is essential. It adds meaningful semantics by enumerating possible `file` values: full path, short filename, bytes/file-like, or base64 dict. However, the optional `filename` parameter is completely unexplained, leaving a gap in parameter understanding.

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 names a specific action ('Persist') and a clear resource ('uploaded file into the server temp directory'). It also lists accepted input forms, which adds precision. However, it does not explicitly distinguish itself from sibling tools like upload_file_base64 or upload_file_url, despite overlapping capabilities (e.g., base64 dict).

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 'Accepts' bullet list implies usage scenarios (path, temp filename, bytes, base64 dict), giving some context for when to invoke the tool. But there are no explicit exclusions or comparisons with alternative sibling tools, leaving the decision between upload_file, upload_file_base64, and upload_file_url ambiguous.

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