Skip to main content
Glama

Create a Danceo AI dance video

create_dance_video

Starts an asynchronous AI dance video render from authorized portrait photos and a selected Danceo template; returns a job ID for polling until the paid render finishes.

Instructions

Start an asynchronous AI dance video render. Use when the user explicitly asks to animate an authorized portrait with a Danceo reference template. Call list_dance_templates first and pass one returned template_id. Supply public HTTPS portrait image URLs; use one photo for a person or dog, and the template’s required number of photos for cats. Choose an integer output_duration from 5 to 30 seconds that does not exceed the selected reference duration. This API flow currently estimates 80 credits per requested output second; explain that estimate and get confirmation if the user has not already authorized a paid render. The tool returns a job_id immediately and charges the account. Poll get_video_status until the job finishes. Use only portraits and likenesses the user has permission to transform.

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": {
      "portrait_urls": "<portrait_urls>",
      "template_id": "<template_id>",
      "output_duration": "<output_duration>"
    },
    "name": "create_dance_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
template_idYesAn id returned by list_dance_templates.
subject_typeNoWhat the supplied portrait depicts.person
portrait_urlsYesPublic HTTPS URLs for the portrait image or images.
output_durationYesRequested output duration in seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.6/5.0
Behavior4/5

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

No annotations exist, so the description carries the whole burden and does so well: it discloses asynchronous execution, immediate return of a job_id, that the account is charged at roughly 80 credits per output second, and that confirmation is required before spending. Gaps are minor — nothing on failure modes, refunds, or what happens if the render errors out.

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 purpose and then procedurally ordered (prerequisite, inputs, cost, return, polling). Every sentence carries operational information with no filler, though the dense single paragraph would scan faster as short ordered steps.

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?

With no output schema, the description still tells the agent what comes back (a job_id) and how to continue (poll get_video_status), and it covers the cost and permission implications of a paid async mutation. Nothing essential for correct invocation is missing.

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, but the description adds real cross-field meaning the schema cannot express: template_id must come from list_dance_templates, portrait_urls must be public HTTPS with one photo for a person or dog versus the template's required count for cats, and output_duration must not exceed the selected template's reference duration.

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?

Opens with a specific verb and resource: "Start an asynchronous AI dance video render." It explicitly separates this tool from list_dance_templates (prerequisite) and get_video_status (follow-up), so an agent can place it in the workflow without opening a 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?

States the trigger condition (user explicitly asks to animate an authorized portrait with a Danceo template), a mandatory prerequisite (call list_dance_templates first, pass one returned template_id), and the exact sibling to use afterwards (get_video_status). It also requires cost confirmation when the user has not already authorized a paid render, which is a genuine when-to-use gate.

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