Skip to main content
Glama

Upload or Import Media

upload_media
Destructive

Upload local media files or import media from a web URL into Wistia, with optional naming, project assignment, and write confirmation.

Instructions

Endpoint to upload media files from a local system or import from a web URL.

  • Use multipart/form-data with a file parameter to upload from local system

  • Use application/x-www-form-urlencoded with a url parameter to import from web URL Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoThe publicly accessible web location of the media file to import.
nameNoA display name to use for the media in Wistia.
accountNoNamed private Wistia account; selects credentials, not a remote account ID.
confirmNoMust be true for the specific user-requested write.
payloadNoComplete JSON request body instead of body flags. Supports current nested customization, caption and nullable values.
contact_idNoA Wistia contact id.
project_idNoThe hashed id of the project to upload media into.
descriptionNoA description to use for the media in Wistia.
low_priorityNoInform the encoding service that this upload can be considered lower priority than others. This is especially useful for platform customers doing bulk uploads or migrations. Setting this to "false" has no effect.
payload_fileNoRegular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is largely covered. The description adds valuable context beyond annotations: it states that confirm=true is required for the mutation and warns that the action 'may share access, notify people or incur provider charges.' These side-effect disclosures go beyond what the annotations provide, though it does not cover permission requirements or encoding behavior.

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 purpose and then uses two concise bullets to differentiate the upload and import modes. The final sentence about confirm and side effects is also compact. There is a small amount of redundancy in restating 'upload from local system' and 'import from web URL' after the first clause, but overall the structure is efficient.

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?

Given the tool's complexity (10 parameters, nested objects, no output schema) and the presence of near-identical sibling tools, the description is only partially complete. It covers content types, confirm requirements, and side effects, but it omits any guidance on how this tool differs from upload_media_file and import_media_from_url, and does not address the relationship between the mutually exclusive `payload`, `payload_file`, and body flags. The schema descriptions help, but the description should do more for a tool this complex.

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 description coverage is 100%, so the baseline is 3. The description adds meaning by specifying content-type requirements that route the agent to either the `file` parameter (multipart/form-data) or the `url` parameter (application/x-www-form-urlencoded), which are not expressed in the schema itself. It does not, however, clarify the interaction between `payload`, `payload_file`, and body flags.

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?

States a specific verb+resource: 'upload media files from a local system or import from a web URL.' An agent can tell what the tool does, but the description does not differentiate it from the sibling tools upload_media_file and import_media_from_url, which appear to cover the same two modes. No explicit sibling differentiation.

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?

Provides implied usage: use multipart/form-data for local uploads and application/x-www-form-urlencoded for web imports, and notes confirm=true is required for the mutation. However, it does not say when to use this tool versus the dedicated siblings upload_media_file or import_media_from_url, nor does it offer any when-not guidance. The context is useful but incomplete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools