Skip to main content
Glama

caption_extract_url

通过视频URL提交字幕提取任务,返回任务ID。需通过caption_extract_query接口查询字幕生成结果。

Args:
    url (string): 视频URL(必填)
    is_southeast_asia (boolean): 是否东南亚视频,默认false

Returns:
    object: {code(string): 状态码, message(string): 提示信息, success(boolean): 是否成功, data(string): 任务ID}

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": {
      "url": "<url>"
    },
    "name": "caption_extract_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes视频URL(必填)
is_southeast_asiaNo是否东南亚视频,默认false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 burden and does disclose the important behavior: this is an asynchronous submission that returns a task ID rather than the captions themselves. It also documents the response envelope (code/message/success/data), though it says nothing about permissions, failure modes, or whether repeated calls create duplicate tasks.

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?

The description is front-loaded with the purpose and the follow-up requirement in the opening two clauses. The Args section duplicates schema text verbatim and is therefore wasted, but the overall length remains short and the Returns block is justified because no output schema exists.

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 two-parameter async submission tool with no output schema, the description covers purpose, the required follow-up call, and the shape of the return payload. Remaining gaps, such as error handling and duplicate-submission behavior, are modest for a tool of this complexity.

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 url and is_southeast_asia meanings are already fully documented in the schema. The Args block merely restates those descriptions, adding no new semantics such as URL format expectations or why the Southeast Asia flag matters.

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?

The first sentence states a specific verb and resource ('通过视频URL提交字幕提取任务') and the immediate outcome ('返回任务ID'), which cleanly separates it from the sibling caption_extract_query that retrieves results. An agent can tell the submit tool from the poll tool without inspecting either schema.

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?

It explicitly routes the agent to caption_extract_query for retrieving results, which is the key usage decision for this tool. It does not state when not to use it (e.g. unsupported URLs, duplicates, or languages), so it falls short of a full when/when-not pairing.

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