Skip to main content
Glama

add_media_batch

Batch import all media files from a folder into a CapCut project sequentially. Filter files by glob pattern and set image duration for efficient project setup.

Instructions

Import all media files from a folder into the project sequentially.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternNoGlob pattern to filter files (e.g., "*.mp4", "*.jpg"). Default "*" for all media.*
folder_pathYesAbsolute path to the folder containing media files.
project_nameYesName of the CapCut project.
image_duration_msNoDuration for each image clip (ms). Default 5000.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must cover behavioral traits. It only mentions 'sequentially' but doesn't disclose error handling, blocking behavior, or whether the operation is atomic. With zero annotation coverage, this is insufficient.

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?

One short sentence that is efficient and front-loaded with the action. However, it could include more structured information such as prerequisites or return value without becoming verbose.

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

Completeness2/5

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

The description is too brief given the tool has 4 parameters and an output schema. It omits prerequisites, return value explanation, and behavior details beyond 'sequentially'. It needs more completeness.

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 all parameters are described in the schema. The tool description adds no additional meaning to the parameters; it only adds a behavioral note ('sequentially'). Baseline 3 is appropriate.

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?

Description clearly states 'Import all media files from a folder into the project sequentially.' It specifies the verb 'import', the resource 'media files from a folder', and the behavior 'sequentially', distinguishing it from sibling tools like add_image or add_video that add single files.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives. For example, it doesn't mention that for adding individual files one should use add_image or add_video, nor does it indicate prerequisites such as the project must exist.

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/baizo7/capcut_MCP_server-'

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