Skip to main content
Glama
pdfgate

PDFGate MCP Server

Official
by pdfgate

upload_pdf

Upload a PDF to PDFGate using a local file path or public URL, enabling subsequent document operations like generation and e-signatures.

Instructions

Upload a PDF to PDFGate so it can be referenced by other operations. Provide either 'filePath' (local path) or 'url'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPublicly accessible URL of the PDF to upload
filePathNoAbsolute local path to the PDF file to upload
metadataNoCustom metadata to attach
preSignedUrlExpiresInNoPre-signed download URL expiry in seconds (60–86400)
Behavior3/5

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

With no annotations, the description carries full burden. It indicates the uploaded PDF will be referenced by other operations, implying persistence and return of an identifier. However, it omits details on side effects, permissions, error handling, and exact return value, so it is only moderately transparent.

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 concise sentences with no filler. It front-loads the main action and immediately provides essential usage guidance.

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 description covers the primary purpose and parameter choice, but lacks details on return value, error conditions, and behavior of optional parameters. Without an output schema, the agent would benefit from knowing what is returned (e.g., document ID).

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?

Schema coverage is 100%, baseline 3. Description adds the critical semantic constraint that filePath and url are mutually exclusive, which is not in the schema. It does not explain metadata or preSignedUrlExpiresIn, but the main constraint adds value beyond the schema.

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 clearly states the verb 'Upload' and resource 'PDF' to PDFGate, and the purpose of making it referenceable by other operations. This effectively distinguishes it from sibling tools like generate_pdf or get_document.

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 explicitly states that either 'filePath' or 'url' must be provided, giving clear usage guidance. However, it does not explicitly mention when to use this tool versus alternatives like generate_pdf, leaving some inference to the agent.

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

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