Skip to main content
Glama

ClipRelay AI

get_task

查询异步视频生成任务的实时状态、渲染百分比进度以及完成后的 MP4 下载/播放链接(不额外扣费)。

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": {
      "task_id": "<task_id>"
    },
    "name": "get_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesgenerate_video 返回的任务 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does a reasonable job: 查询 establishes read-only semantics, and 不额外扣费 explicitly tells the agent that repeated polling incurs no cost — the key behavioral fact for this tool. It omits failure-mode behavior (invalid/expired task ID, failed render) and any rate-limit guidance, which keeps it below 5.

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?

A single dense sentence with zero filler: purpose, output stages, and cost note are all front-loaded. Nothing could be removed without losing information.

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?

For a one-parameter read tool with no output schema, the description covers what an agent needs: what it queries, what the return looks like at each stage (status, percentage, link), and that it is free to call. Only error/expiry handling is missing, which is a minor gap at this complexity level.

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% and the single task_id parameter is already documented in the schema as the ID returned by generate_video. The description adds no additional parameter guidance beyond that baseline, which is appropriate but not additive.

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 uses a specific verb+resource (查询异步视频生成任务) and enumerates exactly what is returned: 实时状态, 渲染百分比进度, and the completed MP4 download/play link. It is clearly a status-reading tool, distinct in kind from generate_video/generate_image, though it does not explicitly name those siblings to contrast itself.

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 phrase 异步视频生成任务 makes the usage context clear: this is the polling/status-check counterpart to a previously submitted generation job. It does not spell out explicit exclusions (e.g., what to do if the task failed or expired) or name an alternative tool, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources