Skip to main content
Glama

Export a clip in other shapes or quality

export_clip

Use this when the user wants a finished clip in another shape or quality: "make a square version", "give me this in 16:9 for YouTube", "export it in 4K", "60 fps", "one for each platform". Each shape is rendered again from the clip's own edit and saved as a new clip in the Library; the original stays as it is. On the free plan exports carry the watermark, and several shapes at once, 1440 and 2160 are Premium and refused; a plan with lower export quality refuses what it lacks, by name. Returns one job_id per shape with the title of the new clip. Next: job_status for each job_id; the new clips are then at the top of list_clips under those titles, and get_download_link gives each file. Not for: changing the look or framing (style_clip, frame_clip), a saved photo (get_download_link) or many clips in one file (download_all_clips). Free: no Horizon Units.

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": {
      "clip_id": "<clip_id>"
    },
    "name": "export_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNoFrame rate: 24, 25, 30, 50 or 60. 0 keeps the clip's own.
shapesNoOutput shapes, up to 4 per call: any of 9:16, 1:1, 4:5, 16:9, 4:3, 3:4, 2:3, 21:9. Empty keeps the clip's own shape.
clip_idYesClip id from list_clips. A saved photo is refused.
resolutionNoShort side in pixels: 720, 1080, 1440 or 2160 (4K). Empty keeps the clip's own.

Output Schema

NameRequiredDescriptionDefault
fpsYes
jobsYes
nextYes
clip_idYes
skippedYes
resolutionYes
watermarkedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / clip_id / description
      Added value: +"Clip id from list_clips. A saved photo is refused."
    • removedInput schema / properties / clip_id / title
      Removed value: -"Clip Id"
    • addedInput schema / properties / fps / description
      Added value: +"Frame rate: 24, 25, 30, 50 or 60. 0 keeps the clip's own."
    • removedInput schema / properties / fps / title
      Removed value: -"Fps"
    • addedInput schema / properties / resolution / description
      Added value: +"Short side in pixels: 720, 1080, 1440 or 2160 (4K). Empty keeps the clip's own."
    • removedInput schema / properties / resolution / title
      Removed value: -"Resolution"
    • addedInput schema / properties / shapes / description
      Added value: +"Output shapes, up to 4 per call: any of 9:16, 1:1, 4:5, 16:9, 4:3, 3:4, 2:3, 21:9. Empty keeps the clip's own shape."
    • removedInput schema / properties / shapes / title
      Removed value: -"Shapes"
    • removedInput schema / title
      Removed value: -"export_clip_toolArguments"
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent write; the description goes well beyond them by explaining that each shape is re-rendered from the clip's own edit, saved as a new clip, and that the original is untouched. It also discloses plan gating (watermark on free, Premium-only multi-shape/1440/2160 with refusals named), the one-job_id-per-shape return, and that no Horizon Units are charged on free — none of which is in the structured fields.

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?

Front-loads the trigger and examples, then behavior, then the follow-up chain, then exclusions — each block earns its place and no sentence restates the name or schema. Density is high but every clause carries operational information.

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?

For a 4-parameter export tool with an output schema, the definition covers trigger, side effects, plan limits, return shape and the next-step chain (job_status, list_clips, get_download_link). An agent has everything needed to call it and handle the result.

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 coverage is 100%, so the baseline is 3 and the schema already documents fps, shapes, resolution and clip_id. The description still adds meaning by tying 'several shapes at once' and 1440/2160 to plan restrictions and by noting a saved photo is refused, which the schema only partially conveys.

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 ('export a clip' in another shape or quality) and grounds it in concrete user phrasings like 'make a square version' and 'export it in 4K'. The 'Not for' line explicitly separates it from style_clip, frame_clip, get_download_link and download_all_clips, so an agent can route without opening another schema.

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?

Opens with an explicit when-to-use trigger ('Use this when the user wants a finished clip in another shape or quality') and backs it with example utterances. It also supplies exclusions with the correct alternatives named for each (style_clip, frame_clip, get_download_link, download_all_clips), leaving nothing to inference.

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