Skip to main content
Glama

studio_edit

Apply atomic batches of timeline edits with a revision guard, all-or-nothing semantics, and stable clip IDs. Preview changes with a dry run that returns the diff, review score, and resulting timeline before saving.

Instructions

PREFERRED way to change an edit. Atomic batch of operations with revision guard; see studio_schema for the complete supported operation list and argument guide. All-or-nothing; errors name the failing operation. dryRun:true returns diff, review score and resulting timeline without saving. Reference clips by id; ids survive reorders, indices do not.

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": {
      "projectId": "<projectId>",
      "revision": "<revision>",
      "operations": "<operations>"
    },
    "name": "studio_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
authorNo
dryRunNo
summaryNo
revisionYes
projectIdYes
operationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-destructive, non-idempotent write, and the description adds far more: batch is all-or-nothing, errors identify the failing operation, revision acts as optimistic-concurrency guard, dryRun:true returns diff, review score and resulting timeline without saving, and ids are stable across reorders while indices are not. These are exactly the operational facts an agent needs before attempting a mutation and are not derivable from the annotations.

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?

Five compact sentences, all front-loaded: the routing claim comes first, then the mechanism, then failure semantics, then the dry-run escape hatch, then the id-versus-index rule. No restatement of the tool name, no filler, and each sentence carries a distinct fact.

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 highly complex, wide-schema mutation tool this covers what matters: safety model (atomic, guarded), failure mode, preview mode, and reference stability, plus a pointer to studio_schema for the operation matrix. The main residual gap is that it does not explain where revision comes from or what happens on a revision mismatch, which an agent needs to recover from that error.

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?

Top-level schema description coverage is reported at 0%, so the description must carry parameter meaning, and it partially does: revision (guard), dryRun (diff/review score/timeline preview without saving), and the clip reference convention (id preferred, index unsafe across reorders). It says nothing about author, summary, or projectId format, and the operation objects' argument guide is outsourced to studio_schema, so a meaningful share of the surface is still undocumented in the description.

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 names the action concretely: an atomic batch of operations applied to an edit, guarded by a revision. It distinguishes itself from siblings by declaring itself the PREFERRED mutation path and delegating the operation catalog to studio_schema. It stops short of spelling out the target resource (a project timeline) in the first sentence, which keeps it just below a 5.

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?

"PREFERRED way to change an edit" is an explicit routing signal against the other edit/apply siblings, and pointing to studio_schema for the operation list tells the agent where to go before invoking. There are no explicit when-not conditions (e.g. use studio_auto_edit for generated edits) or prerequisites such as how to obtain a valid revision, so it is clear context rather than a full decision tree.

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