Skip to main content
Glama

Squall Studio

Generate script

generate_script

Write a full multi-episode script from a story premise. This CREATES A NEW PROJECT — it does not edit an existing one, and it takes no project_id. While the job runs, job.output carries live progress (phase, completedEpisodes, totalEpisodes). On success the new project also has its characters, locations, episodes, shots and segments seeded, ready for the other tools. Spends credits. Returns a job id — poll it with get_job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
genreNoGenre label.Vertical Drama
languageNoLanguage to write in.English
story_ideaYesThe story premise to write from.
screen_ratioNoAspect ratio.9:16
visual_styleNoVisual style. Defaults to Realistic TV Drama.
episode_countNoHow many episodes to write.
idempotency_keyYesStable key identifying this generation request. Reuse the SAME key when retrying the same request — the original job is returned and no second charge is made. Use a NEW key when you deliberately want another generation.
target_platformNoPlatform the episodes are cut for.TikTok
episode_length_secondsYesTarget length of each episode, in seconds.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description is transparent about key behaviors: it creates a new project, spends credits, returns a job id, and exposes live progress via job.output. It also explains downstream side effects (seeding characters, locations, episodes, shots, segments), going well beyond the sparse 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 concise yet dense with essential information. Each sentence serves a purpose: core action, creation semantics, async progress, downstream effects, cost, and polling guidance. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity—async job handling, credit costs, project creation, and seeding of related entities—the description covers all the critical operational context. It tells the agent what to expect, how to monitor progress, and what downstream tools can then be used.

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?

All 9 parameters already have clear schema descriptions, including the important idempotency_key semantics. The tool description adds helpful context by clarifying that no project_id is accepted and that the job is asynchronous, which complements the schema without repeating every field.

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 specific action ('Write a full multi-episode script from a story premise') and clearly distinguishes this tool from siblings by noting it creates a new project rather than editing an existing one. It also clarifies that it returns a job id, which separates it from direct-return tools.

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?

The description explicitly says this tool does not edit an existing project and takes no project_id, which helps an agent choose it for new-project creation. It also mentions spending credits and polling with get_job, giving practical guidance on how to handle the asynchronous workflow.

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.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools have clear, distinct purposes, but some overlap exists between get_episode_shots and list_episode_segments, and get_episode_editor vs get_episode could be confused. Overall, the generate/get/list/update families are reasonably distinguishable.

Naming Consistency4/5

The verb_noun pattern is consistently applied across generate_, get_, list_, and update_ tools. Minor deviations like get_episode_editor (which returns a tree rather than an editor) and get_asset_library (rather than list_assets) prevent a perfect score.

Tool Count2/5

With exactly 25 tools, this exceeds the 'too many' threshold of 25+ in the calibration. While the domain is complex, the count feels heavy, especially with many near-duplicate get/list variants.

Completeness2/5

The tool surface is read- and generation-heavy but lacks update operations for characters, episodes, and projects, and has no delete operations at all. This creates notable gaps in lifecycle management, though the existing read/generate coverage is substantial.

Resources