Skip to main content
Glama

upload_media_base64

Upload a local image, video, or audio file into Sequencer by passing base64 file contents. This is the MCP-native local-file path when the client can read the file bytes. For large videos, prefer the REST /v1/upload multipart endpoint to avoid MCP payload limits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNameYesOriginal file name, e.g. idle_loop_silent.mp4
folderIdNoOptional destination folder ID
mimeTypeYesMIME type, e.g. video/mp4
base64DataYesBase64-encoded file contents. Data URL prefixes are accepted.
workspaceIdYesThe workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the MCP payload-size constraint and the base64 transport mechanism, but says nothing about auth/permission needs, what happens on duplicate or failed uploads, or what the call returns after the bytes land.

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 short sentences, each carrying distinct information: what it does, when it applies, and when to route elsewhere. The most decision-relevant content (local-file path) is front-loaded with no filler.

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?

With no annotations and no output schema, the description should say more about what an agent gets back (an asset/media ID?) and whether upload kicks off processing. It covers transport, scope, and limits adequately but leaves the post-call state undefined.

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%, so all five parameters (workspaceId, fileName, mimeType, base64Data, folderId) are already documented in the schema, including the data-URL prefix note. The description adds no per-parameter meaning beyond that, which is the expected baseline here.

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 gives a precise verb and resource ('Upload a local image, video, or audio file into Sequencer') plus the mechanism (base64 contents). It implicitly separates itself from the URL-based import path by calling itself the 'local-file path', but never names the sibling tool (e.g. import_media_from_url), so sibling differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the enabling condition ('when the client can read the file bytes') and an explicit exclusion with a named alternative ('For large videos, prefer the REST /v1/upload multipart endpoint to avoid MCP payload limits'). This is textbook when-to-use/when-not/alternative guidance.

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