Skip to main content
Glama

Upload a file

upload_file

Bring a file into FynePDF. Shows a drop zone where the app supports it (Claude, ChatGPT, VS Code); it takes several files at once, e.g. for a merge, and reports their file_ids in order. With file_name and size_bytes it also returns a signed upload_url and a ready curl command, for a code sandbox or agent to PUT the bytes; the file_id works once the upload is done. ChatGPT users can just pass the attached file to any tool instead.

Input Schema

NameRequiredDescriptionDefault
file_nameNoName with extension, e.g. report.pdf.
size_bytesNo

Output Schema

NameRequiredDescriptionDefault
curlNo
max_mbNoThe same limit in MB as FynePDF states it: say this one.
file_idNo
messageYes
filenameNo
max_bytesNo
expires_inNo
upload_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description adds useful operational context: conditional drop-zone availability, multi-file ordering, signed upload_url plus curl generation, and that the file_id only works after the PUT completes. It does not mention authentication or rate limits, but the behavioral lifecycle is well disclosed.

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 front-loaded with the core action and then efficiently covers the two modes, multi-file behavior, and the ChatGPT alternative. It is dense but appropriately sized for a dual-mode upload tool, with little wasted text.

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?

With an output schema and annotations already present, the description supplies enough context to call the tool correctly: drop-zone mode, multi-file handling, signed upload_url generation, and file_id timing. The main gap is not mentioning the URL-import sibling as an alternative, which is minor given the tool's scope.

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 50%: file_name is documented in the schema, while size_bytes has no schema description. The description mentions both parameters together and explains their effect (returning a signed upload_url and curl command), which adds useful combined semantics, but it does not compensate for size_bytes' missing format or validation details beyond the schema.

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 opens with a specific verb and resource: "Bring a file into FynePDF." It clearly explains the two upload modes (drop zone / signed upload_url) and multi-file behavior. It does not explicitly distinguish itself from the sibling import_file_from_url for URL-based imports, so sibling differentiation is incomplete.

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 gives concrete usage conditions: drop zone where supported (Claude, ChatGPT, VS Code), multiple files at once for merge, and file_name + size_bytes for sandbox PUT uploads. It also tells ChatGPT users they can pass attached files directly instead. It lacks explicit when-not guidance and does not route URL imports to import_file_from_url.

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