Skip to main content
Glama

jy_render

Render a Jianying draft directory to an MP4 at a specified output path without opening the editor UI, enabling headless video export.

Instructions

无头导出:不打开剪映界面,直接调剪映自己的渲染引擎把草稿渲染成 MP4。30 秒成片约 10 余秒。

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": {
      "draftDir": "<draftDir>",
      "outPath": "<outPath>"
    },
    "name": "jy_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo帧率,默认 30。
sizeNo分辨率,如 1920x1080 / 1080x1920。
bitrateNo码率,如 12M。
outPathYes输出 MP4 路径(必填)。
draftDirYes剪映可读草稿目录(必填)。
timeoutSecondsNo渲染超时秒数,默认 600。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does deliver real behavioral context beyond the schema: the render is headless, it invokes JianYing's native rendering engine, and it quotes throughput (~10s for a 30s video), which helps an agent judge cost. However, it omits operational facts that matter for a mutation tool—whether an existing outPath is overwritten, that a JianYing installation is required, whether the call blocks, and how failures are surfaced (the schema's timeoutSeconds hints at long-running behavior but the description never explains it).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler: the headless mechanism and the performance expectation are both front-loaded and each earns its place by helping an agent decide whether to call the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter rendering tool with no output schema, the description covers what the tool does but not what it returns (path? log? error codes?) nor the preconditions for success. The performance note partially compensates for the long-running nature implied by timeoutSeconds, but a required-installation or overwrite warning is missing.

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 description coverage is 100%, so every parameter already has its own explanation including defaults for fps and timeoutSeconds. The description adds no parameter-level meaning—nothing about valid draftDir structure, resolution constraints, or codec/bitrate tradeoffs—so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action and transformation: render a draft into an MP4 using JianYing's own engine, explicitly in headless mode without opening the UI. That distinguishes it from any UI-driven workflow, but it never contrasts itself with siblings like jy_build or jy_share, so an agent must infer the boundary from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: use this when you want an exported video without the editing UI. There is no explicit when-to-use/when-not-to-use statement, no prerequisite conditions (e.g. JianYing installed, draft already built), and no routing to alternatives such as jy_build for draft creation.

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