Skip to main content
Glama

upload_media

Upload a media file (image or video) to ProductNow storage. Returns a signed backend uploadUrl valid for 5 minutes for transfer of the user-selected file. Also returns a url and htmlText you can embed in documents immediately.

Input Schema

NameRequiredDescriptionDefault
fileNameYesOriginal file name including extension (e.g. 'screenshot.png', 'recording.mp4')
mimeTypeYesMIME type of the file. Allowed: image/png, image/jpeg, image/gif, image/webp, video/mp4, video/webm, video/quicktime

Output Schema

NameRequiredDescriptionDefault
urlYes
htmlTextYes
uploadUrlYes
storageObjectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the write/openWorld/non-idempotent profile, and the description adds real value on top: a two-step flow where the returned signed `uploadUrl` is valid only 5 minutes and the actual transfer happens afterwards. That timeout and flow detail is not derivable from the annotations or schema.

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, zero filler, and the core action is front-loaded before the return-value details. Every sentence carries a distinct fact.

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?

An output schema exists, so return values need not be explained, but the description usefully clarifies the two-step upload semantics and the 5-minute expiry. It stops short of stating auth requirements or what happens if the signed URL expires mid-transfer.

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 description coverage is 100% with both parameters documented including allowed MIME types, so the baseline is 3. The description adds no parameter-level detail beyond what the schema already provides.

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?

States a specific verb and resource: 'Upload a media file (image or video) to ProductNow storage.' The parenthetical even scopes the accepted file categories, so an agent can identify the operation without opening the schema.

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?

Usage is implied rather than stated: the agent can infer this is the tool for getting a file into storage, but there is no explicit when-to-use, no prerequisites (e.g. auth/workspace requirement), and no mention of alternatives. No sibling upload tool exists to route against, which softens the gap.

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.