Skip to main content
Glama
willsygao

Tencent Cloud Live MCP Server

by willsygao

create_live_pull_stream_task

Create a scheduled task to pull live or video-on-demand streams from external sources and push them to Tencent Cloud Live for broadcasting.

Instructions

创建直播拉流任务

    Args:
        region: 地域
        source_type: 拉流源的类型
        source_urls: 拉流源 url 列表
        domain_name: 推流域名
        app_name: 推流路径
        stream_name: 推流名称
        start_time: 开始时间
        end_time: 结束时间
        operator: 任务操作人备注
        push_args: 推流参数(optional)
        callback_events: 需要回调的事件(optional)
        vod_loop_times: 点播拉流转推循环次数(optional)
        vod_refresh_type: 点播更新SourceUrls后的播放方式(optional)
        callback_url: 自定义回调地址(optional)
        extra_cmd: 其他参数(optional)
        specify_task_id: 自定义任务 ID(optional)
        comment: 任务描述(optional)
        to_url: 完整目标 URL 地址(optional)
        file_index: 指定播放文件索引(optional)
        offset_time: 指定播放文件偏移(optional)
        backup_source_type: 备源的类型(optional)
        backup_source_url: 备源 URL(optional)
        vod_local_mode: 点播源是否启用本地推流模式(optional)
        record_template_id: 录制模板 ID(optional)
        backup_to_url: 新的目标地址,用于任务同时推两路场景(optional)
        transcode_template_name: 直播转码模板(optional)

    Returns:
        TaskId: 任务ID
        请求ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionNo地域ap-guangzhou
source_typeNo拉流源的类型:PullLivePushLive -直播,PullVodPushLive -点播,PullPicPushLive -图片。示例值:PullLivePushLive
source_urlsNo拉流源 url 列表,SourceType 为直播(PullLivePushLive)只可以填1个,SourceType 为点播(PullVodPushLive)可以填多个,上限30个。当前支持的文件格式:flv,mp4,hls。当前支持的拉流协议:http,https,rtmp,rtmps,rtsp,srt。
domain_nameNo推流域名。将拉取过来的流推到该域名
app_nameNo推流路径。将拉取过来的流推到该路径。
stream_nameNo推流名称。将拉取过来的流推到该流名称。
start_timeNo开始时间。使用 UTC 格式时间,例如:2019-01-08T10:00:00Z
end_timeNo结束时间
operatorNo任务操作人备注
push_argsNo推流参数。推流时携带自定义参数。
callback_eventsNo选择需要回调的事件(不填则回调全部)
vod_loop_timesNo点播拉流转推循环次数,默认:-1
vod_refresh_typeNo点播更新SourceUrls后的播放方式:ImmediateNewSource:立即播放新的拉流源内容;ContinueBreakPoint:播放完当前正在播放的点播 url 后再使用新的拉流源播放。(旧拉流源未播放的点播 url 不会再播放)
callback_urlNo自定义回调地址。拉流转推任务相关事件会回调到该地址。
extra_cmdNo其他参数
specify_task_idNo自定义任务 ID
commentNo任务描述,限制 512 字节
to_urlNo完整目标 URL 地址
file_indexNo指定播放文件索引
offset_timeNo指定播放文件偏移
backup_source_typeNo备源的类型:PullLivePushLive -直播,PullVodPushLive -点播
backup_source_urlNo备源 URL
vod_local_modeNo点播源是否启用本地推流模式,默认0,不启用
record_template_idNo录制模板 ID
backup_to_urlNo新的目标地址,用于任务同时推两路场景
transcode_template_nameNo直播转码模板,使用云直播的转码功能进行转码后再转推出去。转码模板需在云直播控制台创建
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While '创建' (create) implies a write operation, the description doesn't specify required permissions, whether the task starts immediately, error handling, rate limits, or what happens if parameters are invalid. For a complex 26-parameter mutation tool with zero annotation coverage, this is a significant gap.

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 front-loaded with the purpose statement, but then includes a verbose Args/Returns section that duplicates schema information. While this structure might help human readers, it adds redundancy for an AI agent that already has access to the schema. The core description is concise, but the overall text could be more streamlined.

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 mutation tool with 26 parameters and no annotations or output schema, the description is inadequate. It doesn't explain what the tool returns beyond 'TaskId' and '请求ID' (request ID), doesn't describe error conditions, doesn't provide usage examples, and doesn't clarify the operational context. The agent lacks crucial information to use this tool effectively.

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 26 parameters thoroughly with descriptions, defaults, and examples. The description adds no additional parameter information beyond what's in the schema, but since schema coverage is high, the baseline score of 3 is appropriate.

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 clearly states the action ('创建直播拉流任务' translates to 'Create live pull stream task') and identifies the resource (a streaming task). It distinguishes from siblings like 'delete_live_pull_stream_task' by specifying creation, but doesn't explicitly differentiate from other creation tools like 'create_live_transcode_rule' or 'create_live_transcode_template' in terms of when to use each.

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 is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites, constraints, or scenarios where this tool is appropriate compared to other streaming-related tools in the sibling list. The agent must infer usage from the tool name alone.

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