Skip to main content
Glama

Apply edits to selected shorts

apply_short_edit_batches
Idempotent

Saves caller-authored edit batches for up to 30 child shorts belonging to an explicit parent project. Each child uses its current base version and a unique retry operation ID. Each child batch is atomic, partial failures are reported, and no model execution, preview render or final export is started.

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": {
      "project_id": "<project_id>",
      "batches": "<batches>"
    },
    "name": "apply_short_edit_batches"
  }
}

Input Schema

NameRequiredDescriptionDefault
batchesYes
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / project_id / description
      Added value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses per-child atomicity, partial-failure reporting, the concurrency contract (current base version), and the idempotency mechanism (unique retry operation ID), plus what work it deliberately does not trigger (model execution, preview render, export). Annotations already cover readOnly=false and idempotent=true, but the description supplies the operational semantics those hints cannot express.

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?

Three sentences, all front-loaded and information-bearing: scope, then per-child semantics, then failure/atomicity and explicit non-effects. Nothing is repeated from the annotations and no filler appears.

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 mutation tool with no output schema, it covers the essentials an agent needs before calling: target selection caveat, size limit, version precondition, retry-key requirement, failure mode, and the fact that rendering/export are separate steps. It leaves the shape of the partial-failure report unspecified, which an agent would have to discover at runtime.

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 only 50% and the nested batches object is undocumented, so the description carries real weight: it explains that base_version must match the child's current version and that operation_id is a unique retry key, both of which are just bare integers/strings in the schema. The 'up to 30' figure duplicates maxItems, but the version and idempotency semantics are genuine additions.

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?

Names a specific verb and resource ('Saves caller-authored edit batches') and scopes it precisely to 'up to 30 child shorts belonging to an explicit parent project', which implicitly separates it from the singular apply_edit_batch. It stops short of naming that sibling, so the differentiator must be inferred from the 'child shorts / parent project' phrasing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the mention of an 'explicit parent project' and of children with base versions tells the agent this is the multi-short batch path, and 'no model execution, preview render or final export is started' signals what follows. There is no explicit when-to-use/when-not statement, and the obvious alternative apply_edit_batch is never mentioned.

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.