Skip to main content
Glama
Hermoso

Hermoso

Official

Resume a stopped film

resume_job

Resumes a stopped video job by rendering only the missing blocks and re-assembling the same film, keeping finished work and reserving credits solely for what's left.

Instructions

Finish a video-blocks explainer or faceless-channel film (make_explainer) that STOPPED partway: a block the video model would not render, or a server restart. What it already made is kept (the script, the style key, the narration and every block that rendered), so this renders ONLY the missing blocks and re-assembles the same film, with the same topic, look, voice, length and options. It reserves credits only for what is missing and never charges again for what was kept. get_job and list_jobs show which jobs can be resumed and which blocks are kept. Quote it with dryRun first and tell the user the number. A finished film is not resumed: to redo one block of a finished film, use fix_beat with its job id.

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": {
      "jobId": "<jobId>"
    },
    "name": "resume_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesthe id of the film that stopped (job_...), as get_job or list_jobs shows it
dryRunNotrue = return the credits the resume reserves and render nothing
get_costNotrue: return the price only; nothing runs or bills
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.532
    • addedInput schema / properties / expected_credits
      Added value: +{
      +  "description": "the get_cost price; refused unbilled if the live price differs",
      +  "type": "number"
      +}
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "true: return the price only; nothing runs or bills",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "chosen once, resent unchanged on retries: the same key never buys twice",
      +  "type": "string"
      +}
  2. Addedv0.1.519

TDQS

A4.8/5.0
Behavior5/5

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

Discloses behavior well beyond the annotations: existing artifacts (script, style key, narration, rendered blocks) are kept, only missing blocks render, credits are reserved only for what is missing and never re-charged, and the film is reassembled with identical topic/look/voice/length/options. The idempotency_key semantics are clarified (same key never buys twice), which complements rather than contradicts the idempotentHint=false annotation.

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 verb, scope, and failure condition, then flows into retention, billing, discovery, and alternatives. It is dense but long for a single paragraph, and the enumeration of kept artifacts partially overlaps with the later restatement of the same topic/look/voice/length options.

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?

For a mutation tool with an open-world billing side effect, the definition covers what is preserved, what is charged, how to preview cost, and which sibling to use instead. No output schema exists, yet the agent knows the result is the same film reassembled, which is sufficient.

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 100%, so the baseline is 3; the description adds real meaning by explaining how dryRun is used for quoting, that expected_credits is the get_cost price, and that the jobId comes from get_job/list_jobs. It does not explain what happens if dryRun is false on a partially-broken job, but the added context clearly exceeds the schema.

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 (Finish/resume) and resource (a video-blocks explainer or faceless-channel film created by make_explainer) with the precise condition that it STOPPED partway. It explicitly contrasts with make_explainer (creation) and fix_beat (redoing a block of a finished film), so an agent can distinguish it from siblings 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 explicit when-to-use (job stopped due to unrenderable block or server restart), when-not-to-use (a finished film is not resumed; use fix_beat for one block), and a recommended workflow (quote with dryRun first, tell the user the number). It also points to get_job and list_jobs for discovering resumable jobs.

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

Deploy Server

Other Tools