Skip to main content
Glama

Make media

start_media_job

Ask Lazybird's workers for a piece of media, or for a reading of one: a still, a clip that brings it to life, one of the account's avatars speaking a piece of audio, a song with words, or what is spoken in a file. The job is made in the background: this answers with it the moment it is queued, and get_jobs says where it got to. A render takes minutes — tell the user it is on its way and come back to it, rather than asking again in a loop. kind, and the input it takes; what comes before the semicolon is needed, the rest is optional:

  • video: a clip from the words, or from the picture they bring to life — prompt; imageUrl (the frame it opens on; without one the words alone make it, on width+height's shape, 16:9 otherwise), seconds (1 to 60, its pinned audio's length or 5 otherwise; a clip with pinnedAudioUrl, speech, lastFrameUrl or pinnedFrames runs at most 10), lastFrameUrl, pinnedAudioUrl, speech (speech the account already made, as {projectId, blockIds} — the blocks' own takes, in the project's timeline order and with its silences between; instead of pinnedAudioUrl), pinnedFrames, sound, resolution (480p, 720p by default, or 1080p — the 720p render upscaled; the short side, on the clip's own shape), model (h3 by default, sharper detail and smoother motion; h3-lite quicker and cheaper), addons (each {name}: {name: motion} for people moving naturally through spins, turns and full-body action; {name: dance} for dancing; {name: realism} for a real photo's natural skin and candid look instead of the glossy one; any of them together). Video credits a second: 0.5 at 480p, 1 at 720p, 1 at 1080p on h3; 0.25 at 480p, 0.5 at 720p, 0.5 at 1080p on h3-lite.

  • avatar: one of the account's avatars speaking a piece of audio — avatarId, and what it says: text (voiced in voiceId, or the avatar's own voice; charged as speech), audioUrl, or speech as {projectId, blockIds} naming the account's own speech blocks (their takes, laid out as the project's timeline has them, made first if they still need making); firstFrame, the shot it opens on (one of the avatar's stills, at random, when left out) — {stillId} for one of the avatar's stills (it then takes turns with the others), {imageUrl} for a picture of the same person (it stays on it), or {jobId} for an earlier avatar or video job, carrying on from its last frame (output.lastFrameUrl); instructions, up to 50 acting directions {instruction, seconds or start+end, words?} — words being what is said as it happens; pinnedFrames, up to 16 stretches {start, end, stillId or imageUrl?, instruction?, words?}, none overlapping or over 10 seconds, cut there and brought back to that frame (the opening shot otherwise) at both ends; resolution (480p, 720p by default, or 1080p — the short side, on the opening shot's own shape); addons ([{name: realism}]). Video credits a second: 0.5 at 480p, 1 at 720p, 2 at 1080p; it runs as long as what it says.

  • image: a still — prompt; imageUrls (up to 4, in the order the prompt calls them 'image 1', 'picture 2'), width+height (768x1024 otherwise), addons ([{name: realism}]). 3 video credits.

  • music: a song from a style and words — style, lyrics (up to about 7 minutes sung; the sections set its length — written for the user, a verse and a chorus, about 30 seconds, unless they ask for more); instrumental (no vocals: lyrics optional, [verse]/[chorus] tags alone set the form); voiceId (a voice the account can use, sung in that voice; not with instrumental). The credits speech uses, up to 300 seconds.

  • transcript: what is spoken in a file, with every word's time — audioUrl; language, timestamps (the words are timed unless this is false). Free.

  • timings: word timings for text you already have — audioUrl, text; language. Free.

  • faces: the faces in a picture — imageUrl. Free.

  • safety: whether a picture is safe to show — imageUrl. Free.

  • language: the languages heard in a file, best first — audioUrl. Free. Videos, avatar clips and images are screened before they are queued, with the pictures they are handed: one asked for against our content policy is refused with a 400 whose details carry code content_policy. Every ...Url is a public link the workers fetch. An avatar job names an avatar made with create_avatar; it opens on one of that avatar's stills at random, and its firstFrame may open it on a chosen still, another picture of the same person, or an earlier clip's last frame ({jobId}), and its instructions and pinnedFrames direct the acting. A finished job's output has the file it made (and a clip's lastFrameUrl, for the next one to carry on from), or what its reading found.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>",
      "input": "<input>"
    },
    "name": "start_media_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesThe work to do
inputYesWhat that kind is asked for with

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that jobs are queued asynchronously, that renders take minutes, that generation is screened against content policy with a 400 content_policy refusal, that every ...Url is publicly fetched, and that credits are charged by resolution and model. These are exactly the behavioral details an agent needs before calling a non-idempotent, open-world media job.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose and async behavior, and most of the dense per-kind specification is necessary because the input schema is generic. Still, the long semicolon-chained sentences and wall-of-text formatting make it harder to scan than it should be for a tool with ten modes.

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?

The description covers the async lifecycle, output shape, content-policy behavior, and detailed input semantics for nine of the ten enum values. The omission of avatar-setup is a clear gap in an otherwise exhaustive definition, and there is no output schema to fall back on even though finished-job output is described.

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?

The top-level schema only exposes kind and an open input object, so the description carries nearly all nested-field semantics, and it does so extensively with per-kind required/optional fields, defaults, constraints, and costs. However, the kind enum includes avatar-setup and the description never explains it, leaving one enum value undocumented.

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?

The opening sentence states a specific verb and resource: asking Lazybird's workers for media or a reading of media, with the kinds enumerated. It distinguishes the tool from get_jobs and create_avatar by naming their roles, so an agent can identify what this tool is for 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 Guidelines4/5

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

The description gives explicit operational guidance: the job runs in the background, get_jobs reports progress, renders take minutes, and the agent should tell the user and come back rather than polling in a loop. It does not explicitly state when to use this instead of sibling generation or stock-search tools, but the guidance for this tool's own workflow is clear.

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.