Skip to main content
Glama

Upload an image/video asset

upload_asset

Upload an image or video to Synthesia to obtain an asset ID for scene backgrounds or media variables. Supports local file paths or URLs for accepted formats.

Instructions

Upload an image or video to Synthesia and get back an asset ID, usable as a scene background in create_video or as a media variable value in create_video_from_template. Accepted types: image/jpeg, image/png, image/svg+xml, video/mp4, video/webm (GIF and WebP are rejected by Synthesia). Provide a local filePath or a url. TIP: backgrounds and media variables also accept URLs directly — uploading is only needed for non-public files or when a stable asset ID is preferred. For media variables, match the aspect ratio of the element being replaced to avoid stretching.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathNoAbsolute path to a local file on the machine running this MCP server.
urlNoAlternatively, an https URL the server downloads and uploads.
contentTypeNoInferred from the file extension when omitted.
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses return value (asset ID), accepted types, and typical usage. Could improve by specifying behavior when both filePath and url are provided, or error handling (e.g., file not found, size limits).

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?

Single paragraph with logical flow: purpose, accepted types, inputs, usage tips. No redundant sentences; every clause adds value.

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?

For a simple upload tool with no output schema, description adequately explains return and usage. Could mention size limits or authentication requirements for completeness.

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 has 100% coverage with decent descriptions. Description adds value by listing accepted MIME types (including rejected GIF/WebP) and reiterating that contentType can be inferred. Provides extra context about use in media variables, but could clarify behavior when both filePath and url are present.

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?

Clearly states verb 'Upload' and resource 'image/video asset'. Distinguishes from siblings by explaining that uploaded assets are used in create_video and create_video_from_template.

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?

Explicitly tells when to use this tool versus direct URLs in backgrounds/media variables. Lists accepted and rejected content types, and provides a tip about aspect ratio matching for media variables.

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/keithazz/synthesia-mcp'

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