Skip to main content
Glama

set_best_cut

Marks the chosen best-cut range on a storyboard take after you compare the transcript and frames, so the user sees it in the Storyboard tab. Call cut_take with that range to make the clip.

Instructions

Set the best cut of a storyboard take after you checked it. The best_cut from Gemini (or from the transcript, without a key) is only a first suggestion: compare it with the transcript and the frames, then write the range you use here (by=agent; the first range stays under gemini). The user sees it on the take in the Storyboard tab. This only marks a range. To make the clip, call cut_take with that range.

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": {
      "session": "<session>",
      "take": "<take>",
      "start": "<start>",
      "end": "<end>",
      "why": "<why>"
    },
    "name": "set_best_cut"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesSeconds from the start of the take.
whyYesOne short sentence: what you checked, and what you changed.
saidNoWhat the user says in the range, word for word.
takeYesTake number.
cleanNoEvery word of the shot's lines is there. Default true.
startYesSeconds from the start of the take.
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.11
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false and openWorldHint=false, but the description adds real context beyond them: the write is a marker only ('This only marks a range'), the result is user-visible in the Storyboard tab, and the first range written stays attributed to gemini while subsequent ones are attributed to the agent. It does not say what a second call does to an existing range, which keeps it below 5.

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?

Four sentences, front-loaded with the action, then verification requirements, then the sibling handoff. The parenthetical 'by=agent; the first range stays under gemini' is dense and slightly cryptic in its current placement, but nothing is wasted.

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 7-parameter mutation tool with no output schema and no annotations covering visibility or attribution, the description supplies the workflow, the user-facing effect, and the attribution rule. Remaining gaps are overwrite behavior on repeat calls and what the tool returns, which are minor against full schema coverage.

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 coverage is 100%, so start/end/why/said/clean/session are already documented in the schema and the description adds no syntax or format detail for them. It does introduce a 'by' attribution concept that is not present in the schema, which is context rather than compensation, so the baseline of 3 is right.

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 ('Set the best cut of a storyboard take') and immediately distinguishes it from cut_take, which produces the actual clip. The agent can tell exactly what state this tool changes versus its sibling.

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?

Explicitly prescribes the pre-condition ('after you checked it'), the comparison the agent must perform against transcript and frames, and the downstream alternative ('To make the clip, call cut_take with that range'). It also flags that the Gemini best_cut is only a first suggestion, so the agent knows not to blindly accept it.

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