Skip to main content
Glama

studio_apply

Builds a complete short from one JSON story document, timing cuts to the music grid; validate with a dry run to preview the beat schedule and warnings before rendering.

Instructions

STORY: build a whole short from one JSON document (aes.story/1; read studio_guide {topic:"story"} first). Generated title, counter, bars, terminal, chips and end-card scenes plus your footage, timed in BEATS so every cut lands on the music grid; sfx, drops and on-screen text can hang on scene events. {story, dryRun:true} validates and returns the beat schedule, events and warnings (reading time, short shots, drops off the bar) without rendering. Without dryRun it starts a build and returns {buildId}; poll {action:"status", buildId} until done: result has projectId, revision and the renderFormat to give studio_render. The result is an ordinary project (edit it with studio_edit). Unchanged generated scenes are reused when you build again.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "studio_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
storyNoaes.story/1 document: {version, name, deliver, size, safeArea, music:{bpm,style?,mood?,seed?,file?}, style, scenes:[...], drops?, sfx?, texts?}
actionNo
authorNo
dryRunNo
buildIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare non-readOnly, non-idempotent, non-destructive, closed-world; the description adds far more: dryRun returns beat schedule, events and warnings (reading time, short shots, drops off the bar) with no rendering, a real build returns {buildId}, status returns projectId/revision/renderFormat, and unchanged generated scenes are reused on rebuild. It also discloses that the output is an ordinary editable project, which is the key downstream behavior.

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?

Front-loaded with the STORY label and the core action, and nearly every clause carries operational information (prerequisite, dry-run payload, poll loop, reuse behavior). It is densely packed into a single paragraph, which slightly hurts scannability of the two distinct modes.

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-schema tool with no output schema, the description supplies return shapes for both dry-run and build/status paths and the handoff to studio_render, which is what an agent needs to call it correctly. Remaining gaps are the undocumented `author` field and any error/failure behavior when a build fails.

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 20%, and the description compensates well for story, dryRun, buildId (tied to action:"status") and the action modes, including the document's top-level shape in the schema. The one gap is `author`, which neither the schema nor the description explains, leaving a minor undocumented parameter.

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?

Names a specific verb and artifact: build a whole short from one aes.story/1 JSON document, and enumerates what gets generated (title, counter, bars, terminal, chips, end-card) plus beat-grid timing. It clearly distinguishes itself from studio_render (downstream) and studio_edit (downstream editing), so an agent can place it without opening schemas.

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?

Gives an explicit prerequisite (read studio_guide {topic:"story"} first), a validate-only path ({story, dryRun:true}), the real build path, and the follow-up loop (poll {action:"status", buildId} until done, then hand renderFormat to studio_render). Sequencing and alternatives are spelled out rather than implied.

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