Skip to main content
Glama

build_draft

Generate a new draft by submitting a compact edit manifest with tracks for video, audio, text, stickers, effects, and filters. Validate with dry run before publishing.

Instructions

一次提交紧凑编辑清单并生成新草稿。

manifest 结构:

  • draft: {name, width?, height?, fps?}

  • tracks: [{type, name, segments:[...]}]

  • srt_imports?: [{source, track_name?, style?, clip?}]

轨道 type 支持 video/audio/text/sticker/effect/filter。时间字段使用 start、duration; 媒体可加 source_start/source_duration、speed。具体字段见 Skill 的 manifest-schema.md。 默认 dry_run=true,只在暂存区完整构建和校验;确认后传 false 发布到剪映草稿目录。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
manifestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the two-phase build/validate-then-publish behavior and mentions that dry_run only operates in the staging area. It could elaborate on side effects like overwriting or validation failure handling, but it goes beyond a bare 'build' statement.

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?

The description is well-structured, starting with the primary purpose followed by a formatted manifest outline and usage note. It is slightly long but each section adds value without unnecessary padding.

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?

The tool has a complex nested manifest, but the description covers the main structure and field behaviors, and references an external schema for full details. The presence of an output schema reduces the need to describe return values. It is complete enough for initial selection and invocation, though not exhaustive.

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 description coverage is 0%, so the description must compensate. It explains the manifest structure (draft, tracks, srt_imports), supported track types, time fields (start/duration), and media fields (source_start/source_duration/speed). dry_run is also clearly described. Detailed fields are delegated to manifest-schema.md, which is reasonable, but not all parameter semantics are fully specified.

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 clearly states the tool's purpose: '生成新草稿' (generate a new draft) from a compact edit list. It provides a detailed manifest structure, including tracks, types, and dry-run behavior, which distinguishes it from sibling tools like batch_from_template and build_from_reference that likely operate from templates or existing drafts.

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 gives clear usage context: dry_run defaults to true for building/validating in a staging area, and setting it to false publishes to the draft directory. It does not explicitly compare to siblings or state when NOT to use it, but the workflow is well defined.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Xanthus-Sanslab/jianying-ai-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server