Skip to main content
Glama

Add video or audio

add_media

Bring the user's own video or audio into Masonry: footage to cut into short clips, a recorded voiceover, their own music. Takes a direct link to the file or a file attached in ChatGPT (MP4 or MOV video; MP3, WAV or M4A audio; up to 300 MB) and returns a media_id. Pass that media_id wherever combine_clips takes a job_id (clips, voiceover, music_job_id, sound_effects) and to transcribe_media. To turn a long video into shorts: add_media, transcribe_media to find the strongest moments, then one combine_clips per short with trim_start and trim_end, a 9:16 aspect and captions from clips. Stored privately in this workspace. Free: costs no credits. For a photo use add_reference_image.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoDirect https link to the video or audio file itself (not a page that plays it). Provide this or file.
fileNoA video or audio file the user attached in ChatGPT. Provide this or url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), and the description adds genuinely useful behavior the annotations cannot: accepted formats, a 300 MB cap, private workspace storage, and 'Free: costs no credits.' It does not address what happens on re-adding a duplicate or on a failed fetch, which is the main remaining gap given idempotentHint=false.

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?

Front-loaded with what the tool does and what it accepts, then the return value, then the workflow recipe and the sibling disambiguation. It is dense and long-ish, but nearly every clause carries usable information; the workflow sentence is the only part that could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description supplies the return value ('returns a media_id') and explains exactly how to use it downstream, plus formats, size limit, storage privacy, and cost. An agent has everything needed to call this correctly on the first attempt.

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% and the nested file object is fully documented, so the schema already carries parameter meaning. The description restates the same facts (direct link vs. attached file, MP4/MOV/MP3/WAV/M4A) and adds no syntax or validation detail beyond them, making 3 the correct baseline.

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 ('Bring the user's own video or audio into Masonry') and immediately clarifies the concrete forms that takes (footage to cut, voiceover, music). It also explicitly separates itself from the nearest sibling by ending with 'For a photo use add_reference_image.'

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?

Gives explicit when-to-use context, names the alternative for the photo case, and even supplies the downstream chain ('add_media, transcribe_media to find the strongest moments, then one combine_clips per short'). It tells the agent both where this tool starts a workflow and what it feeds into.

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