Skip to main content
Glama

Draft the next episode

draft_episode

Write the next episode's script for a story series. Free. The AI continues the story from what happened so far, or follows the user's own plot in direction. Returns the scenes (action, dialogue, location) and the credit cost of making it. Always show the user the script and the cost before approve_episode; never approve in the same turn. One episode at a time: finish the current one first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
storyYes
minutesNoEpisode length, 1 (default) to 5 minutes; 6 scenes of 10 seconds per minute.
directionNoThe user's own plot for this episode, optional. Leave empty to let the story continue on its own.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextYes
balanceYes
episodeYes
cost_creditsYesWhat approve_episode will charge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description adds real behavioral context beyond that — it returns the scenes and the credit cost, it must be presented to the user before approval, and it cannot be chained with approval in one turn. It doesn't clarify persistence/state effects on the story, which keeps it from a 5.

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 core action and returns, then the workflow constraints. Slightly chatty with 'Free' and the doubled emphasis on not approving in the same turn, but every sentence carries operational meaning.

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?

An output schema exists, so return-value detail is optional, yet the description still names the scene fields and credit cost. Together with the approval-workflow constraint, an agent has enough to call it correctly; only the required story parameter and episode-persistence semantics are left implicit.

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?

Schema coverage is 67%: minutes and direction are described in the schema, and the description corroborates direction ('follows the user's own plot in direction') but adds no extra format or constraint detail. The required 'story' parameter is undocumented in both places, so the description doesn't compensate for the coverage gap.

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?

States a specific verb and resource ('Write the next episode's script for a story series') and immediately distinguishes the scope from the approval step by naming approve_episode. An agent can tell what this produces without opening the schema.

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?

Explicit when-to-use (continue the story from prior events, or follow the user's own plot via direction), explicit when-not (never approve in the same turn, one episode at a time), and names the alternative tool approve_episode with the required human-checkpoint 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.