Skip to main content
Glama

Quote an edit

quote_edit
Read-only

Validates a video edit list and returns cut length, detected issues, and render cost so you can fix problems before rendering.

Instructions

Free. What render_edit would hold for this edit list, and film_sec: how long the cut runs. Checks every clip, window, voice piece and caption first and names what is wrong; a check_take verdict on a clip's file, when there is one, is said in warnings (a failed verdict, a window across a defect or past the clean windows). With music.generate, lines show the cut and the music apart. Answers next: render_edit with the same arguments. Show it and wait for the go-ahead. Mistakes to avoid: from and to in the edit's seconds (they are the clip's own); captions in the clip's seconds (they are the edit's); a window that keeps an empty first frame or leaves the take's clean windows; a voice that runs past the cut; music.at in a clip's seconds (it is the edit's).

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": {
      "clips": "<clips>"
    },
    "name": "quote_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
holdNo
ad_idNo
clipsYes
musicNo
voiceNo
ambienceNo
captionsNo
max_creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.78.0

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description's 'Free' is consistent with that rather than contradictory. Beyond the annotations it discloses real behavior: it validates every clip, window, voice piece and caption before quoting, names what is wrong, folds check_take verdicts into warnings (including windows spanning a defect or extending past clean windows), and separates cut lines from music lines when music.generate is used.

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 'Free' cost note is correctly front-loaded and every sentence carries information, but the prose is compressed to the point of being ungrammatical ('What render_edit would hold for this edit list, and film_sec: how long the cut runs') and the trailing 'Mistakes to avoid' list mixes unit rules with clip-selection rules in one run-on block. Density is high but readability and scannability suffer.

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 complex nested tool with no output schema, the description covers the two return values (cost and film_sec), the validation/warning model, the workflow handoff to render_edit, and the main unit pitfalls — enough for an agent to call it correctly. Remaining gaps are secondary parameters (hold, max_credits, ambience) and the shape of the 'what is wrong' messages, which the absence of an output schema leaves undocumented.

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 0%, so the description carries the full burden for 8 parameters including nested clip, voice, captions, music and ambience objects. It does valuable work on the highest-risk semantics — from/to are the clip's own seconds while captions and music.at are in edit seconds, and voice must not run past the cut — but it says nothing about hold, ad_id, max_credits, speed, volume, duck or fade_out, leaving much of the surface unexplained.

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?

The description conveys that this tool computes the cost ('What render_edit would hold for this edit list') and the duration ('film_sec: how long the cut runs'), and it explicitly contrasts with the sibling render_edit, which performs the actual render. The telegraphic phrasing ('what render_edit would hold') makes the agent work a little to extract 'returns a price quote,' but the resource and output are identifiable 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?

It gives an explicit workflow: quote first, then 'Answers next: render_edit with the same arguments. Show it and wait for the go-ahead.' That tells the agent both the ordering and the human-approval gate before spending credits. It stops short of stating when not to use it (e.g., when a quote already exists or for non-edit assets), so it falls short of a 5.

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