Skip to main content
Glama

relight_video

Destructive

Change the lighting of a video (a VerseIn media URL) with a lighting preset, a text direction or a reference image. Spends the user's coins: the price depends on the video length, and a job that has to switch to a backup model may cost more, up to a quoted ceiling; calls whose ceiling is above the confirmation threshold return needs_confirmation with a confirmation_token; ask the user, then call again with it. Returns a task id; follow it with get_tasks. Generating through an AI assistant is charged in VerseIn coins. Unlimited-plan allowances do not apply here.

Input Schema

NameRequiredDescriptionDefault
presetNolighting preset key; an invalid key is answered with the valid ones. Default: the recommended preset when neither prompt nor reference_image_url is given
promptNoextra lighting direction
video_urlYesthe video to relight — a VerseIn media URL
request_idNoyour id for this call; retrying with the same id never charges twice. Use a new id to intentionally repeat identical settings
resolutionNooutput resolution
aspect_ratioNooutput aspect ratio; auto keeps the source's
max_total_coinsNothe most this edit may charge: send the exact most the user agreed to (the max_coins of estimate_cost, or total_cost_coins when equal). If the job could now cost more, nothing is submitted and needs_confirmation returns the new price
confirmation_tokenNothe confirmation_token a needs_confirmation answer returned, passed back once the user agreed to that price
reference_image_urlNoan image whose lighting to copy (replaces the preset) — a VerseIn media URL

Output Schema

NameRequiredDescriptionDefault
errorNopresent only when the call failed
tasksNo
failedNo
balanceNobalance after submitting
declinedNotrue when the user declined the confirmation form; nothing was submitted or charged
next_actionNo
total_cost_coinsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Substantially exceeds what annotations provide: pricing depends on video length, a backup-model fallback may raise cost up to a quoted ceiling, allowance plans do not apply, and the two-step confirmation protocol is spelled out. These are cost/authorization behaviors an agent cannot infer from destructiveHint=true or openWorldHint=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?

Purpose is front-loaded in the first clause, followed by cost, confirmation, and return-value handling in a logical order. Slightly dense in the billing region ('Spends the user's coins... charged in VerseIn coins... allowances do not apply'), where two sentences could be tightened into one without losing information.

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 9-parameter cost-incurring mutation with an output schema, the description covers the critical unknowns: billing, confirmation, idempotent retry framing, and follow-up task polling. It omits nothing blocking, though it says nothing about failure/refund behavior when a job errors after charging.

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, but the description adds cross-parameter meaning the schema cannot: the relationship between the quoted ceiling (max_total_coins), the confirmation threshold, and the returned confirmation_token as a retry loop. It also frames preset/prompt/reference as mutually alternative control modes.

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 ('Change the lighting of a video') and enumerates the three input modes (preset, text direction, reference image), which cleanly separates it from relight_image and edit_video. An agent can identify the tool's job 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?

Gives explicit operational context: when a ceiling exceeds the threshold the call returns needs_confirmation, the agent must ask the user, then retry with the token; results are followed via get_tasks. It does not explicitly contrast with relight_image or edit_video, so it stops short of full alternative routing.

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