Skip to main content
Glama

get_upload_url

Get a presigned PUT URL to upload video, audio, or document files. Upload raw bytes directly to the URL, then use the object_key for further processing.

Instructions

Get a presigned PUT URL to upload any file — video, audio, or document (markdown, HTML, DOCX, etc.). The URL expires in 15 minutes. PUT raw file bytes directly to the URL. After upload, pass the object_key to transcode_video (for video) or convert_file (for documents).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesOriginal filename including extension, e.g. report.md or footage.mp4
content_typeYesMIME type. Video: "video/mp4". Documents: "text/markdown", "text/html", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "text/plain".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
upload_urlYesPresigned HTTPS PUT URL. Send raw file bytes as the request body.
object_keyYesstorage object key — pass this to transcode_video or convert_file.
expires_inYesSeconds until the upload URL expires (900 = 15 minutes).
Behavior4/5

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

Annotations indicate non-read-only and non-destructive behavior. The description adds useful context: URL expires in 15 minutes, raw bytes upload, and linking to transcode/convert tools. No contradiction with annotations.

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?

Three sentences, front-loaded with core purpose. Every sentence adds value: purpose, expiry, post-upload steps. No wasted words.

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?

Given an output schema (not shown), the description need not explain return values. It covers input parameters, expiry, and follow-up tools. Lacks mention of authentication prerequisites, but that is generally implicit.

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 100%, so the description does not need to explain parameters fully. It adds example MIME types (e.g., 'video/mp4', 'text/markdown'), which is helpful but not a substantial addition beyond schema definitions.

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 tool gets a presigned PUT URL for uploading any file (video, audio, document). It distinguishes from siblings like get_download_url and explicitly mentions post-upload steps using transcode_video or convert_file.

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 clearly explains when to use the tool (to get an upload URL) and what to do after upload. It implicitly distinguishes from alternatives (e.g., get_download_url for download) but does not provide explicit when-not-to-use guidance.

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/MkTurner74/botverse-mcp'

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