Skip to main content
Glama
willsygao

Tencent Cloud Live MCP Server

by willsygao

create_live_transcode_template

Create a custom transcoding template for live streams by configuring video bitrate, resolution, codecs, and optional DRM encryption to optimize streaming quality and compatibility.

Instructions

创建转码模板

    Args:
        template_name: 模板名称
        video_bitrate: 视频码率
        acodec: 音频编码(optional)
        audio_bitrate: 音频码率(optional)
        vcodec: 视频编码(optional)
        description: 模板描述(optional)
        need_video: 是否保留视频(optional)
        width: 宽(optional)
        need_audio: 是否保留音频(optional)
        height: 高(optional)
        fps: 帧率(optional)
        gop: 关键帧间隔(optional)
        rotate: 旋转角度(optional)
        profile: 编码质量(optional)
        bitrate_to_orig: 当设置的码率>原始码率时,是否以原始码率为准(optional)
        height_to_orig: 当设置的高度>原始高度时,是否以原始高度为准(optional)
        fps_to_orig: 当设置的帧率>原始帧率时,是否以原始帧率为准(optional)
        ai_trans_code: 是否是极速高清模板(optional)
        adapt_bitrate_percent: 极速高清视频码率压缩比(optional)
        short_edge_as_height: 是否以短边作为高度(optional)
        drm_type: DRM 加密类型(optional)
        drm_tracks: DRM 加密项(optional)

    Returns:
        TemplateId: 模版ID
        请求ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_nameNo模板名称,例: 900p 仅支持字母和数字的组合
video_bitrateNo视频码率。范围:0kbps - 8000kbps
acodecNo音频编码:aac,默认aac
audio_bitrateNo音频码率,默认0
vcodecNo视频编码:h264/h265/origin,默认origin
descriptionNo模板描述
need_videoNo是否保留视频,0:否,1:是。默认1
widthNo宽,默认0。范围[0-3000] 数值必须是2的倍数,0是原始宽度
need_audioNo是否保留音频,0:否,1:是。默认1
heightNo高,默认0。范围[0-3000] 数值必须是2的倍数,0是原始高度
fpsNo帧率,默认0。范围0-60fps
gopNo关键帧间隔,单位:秒。默认原始的间隔范围2-6
rotateNo旋转角度,默认0 可取值:0,90,180,270
profileNo编码质量:baseline/main/high。默认baseline
bitrate_to_origNo当设置的码率>原始码率时,是否以原始码率为准。0:否, 1:是
height_to_origNo当设置的高度>原始高度时,是否以原始高度为准。0:否, 1:是
fps_to_origNo当设置的帧率>原始帧率时,是否以原始帧率为准。0:否, 1:是
ai_trans_codeNo是否是极速高清模板,0:否,1:是。默认0
adapt_bitrate_percentNo极速高清视频码率压缩比
short_edge_as_heightNo是否以短边作为高度,0:否,1:是。默认0
drm_typeNoDRM 加密类型,可选值:fairplay、normalaes、widevine
drm_tracksNoDRM 加密项,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure but provides minimal information. It states the tool creates something but doesn't mention whether this is a write operation requiring specific permissions, whether templates are immediately usable, what happens if creation fails, or any rate limits. The description only lists parameters without explaining the tool's behavior.

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

Conciseness3/5

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

The description is extremely brief ('创建转码模板') followed by a parameter list. While concise, it's under-specified rather than efficiently informative. The parameter list is organized but adds little value since the schema already documents everything. The structure is functional but not optimized for understanding.

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?

For a complex 22-parameter tool with no annotations and no output schema, the description is inadequate. It doesn't explain what a 'live transcode template' is, how it differs from rules, when templates are used, what the return values mean, or any prerequisites. The parameter list doesn't compensate for the lack of conceptual context.

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 the schema already documents all 22 parameters thoroughly with ranges, defaults, and constraints. The description merely lists parameter names without adding meaningful semantic context beyond what's already in the schema. The baseline is 3 when schema coverage is complete.

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

Purpose2/5

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

The description '创建转码模板' (Create transcode template) is a tautology that restates the tool name without providing additional specificity. It doesn't distinguish this tool from sibling tools like 'create_live_transcode_rule' or explain what makes a 'live transcode template' different from other transcode-related operations.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool versus alternatives. There are multiple sibling tools related to live streaming and transcoding (create_live_transcode_rule, delete_live_transcode_template, etc.), but the description offers no context about when this specific template creation tool is appropriate versus other options.

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/willsygao/tencentcloud-live-mcp-server'

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