Skip to main content
Glama

Apply edits to selected shorts

apply_short_edit_batches
Idempotent

Save caller-authored edits for up to 30 shorts in one request, without running another model or rendering. project_id is the parent; every child must belong to it. Each batch uses apply_edit_batch's operations and current base_version, and has its own unique retry operation_id. Each child is atomic; results explicitly report partial failures. All times describe that child's resulting timeline. Read and inspect each short first. Saved edits still require changed-moment and final quality review. This tool never exports finals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batchesYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The description adds substantial behavioral detail beyond the annotations: per-child atomicity, explicit partial-failure reporting, timeline semantics, the fact that it never exports finals, and the requirement for later review. It is consistent with the idempotentHint and destructiveHint 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?

The description is dense but every sentence carries operational weight: scope, parent-child requirement, retry semantics, atomicity, timing guarantees, prerequisites, follow-up reviews, and non-export behavior. It is front-loaded with the most important capability.

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 batched mutation with no output schema and no parameter descriptions, the description covers the critical semantics: limits, atomicity, partial failures, timeline interpretation, and review obligations. It is slightly incomplete only in that operation subfield meanings are delegated to apply_edit_batch and the exact failure response shape is not described.

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 description coverage is 0%, so the description must compensate. It explains project_id as the parent that all child batches must belong to, base_version as the current version, operation_id as a unique retry identifier, and operations as reusing apply_edit_batch semantics. It does not describe the action/layer/value subfields in detail, but it provides enough orientation for a capable agent.

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?

The description states a precise verb ('Save') and resource ('caller-authored edits for up to 30 shorts') and immediately distinguishes this from rendering/model-generation workflows. It also references apply_edit_batch's operations, making the batch-vs-single relationship clear without opening either 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 clear usage context: use this to save authored edits without rerunning a model or rendering, after reading/inspecting each short, and knowing that reviews are still required. It does not explicitly say 'use apply_edit_batch for a single short,' but the batch framing strongly implies the boundary.

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.