Skip to main content
Glama

Write a scenario

tegas_write_scenario

Free (requires an active plan). Tessa writes a complete video scenario from an idea in one call, without asking questions. duration_sec 5..300, aspect 9:16 | 16:9 | 1:1. reference_urls: public image URLs of a product/character (or reference_id ref_...), optional. Returns scenario_id (valid for a few days), the scenario text, episodes with per-episode durations, warnings and the actual duration_sec (may differ from the requested one). Typical flow: tegas_write_scenario -> (optional) tegas_find_heroes / tegas_draw_heroes -> tegas_start_video with confirm=false to get the price -> user consent -> confirm=true -> tegas_wait_video. Keep the returned duration_sec: pass it to tegas_start_video for the quote. Show the scenario text to the user; call again with a refined idea if they want changes.

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": {
      "idea": "<idea>"
    },
    "name": "tegas_write_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
ideaYes
aspectNo9:16
categoryNo
languageNoru
duration_secNo
reference_urlsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "ru",
      -  "en",
      -  "es",
      -  "fr",
      -  "de"
      -]New value: +[
      +  "ru",
      +  "en",
      +  "es",
      +  "fr",
      +  "de",
      +  "tr"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), it discloses cost/availability ("Free (requires an active plan)"), the no-questions behavior, the limited lifetime of scenario_id ("valid for a few days"), that returned duration_sec "may differ from the requested one", and the presence of warnings. It also states a critical hand-off rule: keep and pass the returned duration_sec to tegas_start_video for the quote.

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 cost/availability, then parameter constraints, then return values, then the flow — a logical ordering with very little filler. The telegraphic packing ("Free (requires an active plan)", slash-separated pipeline) is dense but readable; it is long only because it carries a lot of genuinely load-bearing information.

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 generation tool that kicks off a paid multi-step pipeline, it covers plan requirements, the consent/pricing gate, output lifetime, and duration drift — enough to call it correctly without surprises. The remaining gap is that category and language are opaque (language enum exists but the default ru and its effect are unstated) despite an output schema covering return values.

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 0%, so the description must carry parameter meaning. It does add real constraints for duration_sec (5..300, beyond the schema's bare default of 20), aspect values, and reference_urls ("public image URLs of a product/character (or reference_id ref_...)"). However, idea, category, and language are never explained, leaving half the parameters undocumented in both places.

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?

"Tessa writes a complete video scenario from an idea in one call, without asking questions" gives a specific verb (write), a specific resource (video scenario), and the key scope qualifier (one-shot, no clarification round-trip). It is clearly distinct from tegas_start_video and tegas_draw_heroes, which appear later only as pipeline steps.

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?

It lays out the full workflow explicitly: write_scenario -> optional find_heroes/draw_heroes -> start_video with confirm=false for a price -> user consent -> confirm=true -> wait_video. It also states the iteration rule ("call again with a refined idea if they want changes") and the mandatory user-facing step ("Show the scenario text to the user").

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.