Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_submit_video_speech_text_by_video_url

提交抖音作品视频口播转文字任务;提交后最多等待 240 秒,未完成时返回 job_id 和下一步查询动作。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
video_urlYes抖音作品页面链接、作品短链接或包含作品链接的完整分享文案;不要传 video.play_url 这类播放资源链接,也不要传用户主页链接;已知 aweme_id 时优先使用 ID 入口

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorYes失败或过期时的稳定错误结构;非终态或成功时为 null。
job_idYes任务 ID。
statusYes任务状态。
messageYes面向用户/AI 的状态说明。
platformYes任务所属平台。
source_idYes任务来源 ID。
content_idYes平台内容 ID。
transcriptYes成功时的口播转文字结果;非终态或失败时为 null。
is_terminalYes是否已终态。
next_actionYes非终态时建议的下一步查询动作。
content_metaYes作品上下文信息,便于结合转写内容做口播分析。
content_typeYes内容类型。
next_poll_after_secondsYes建议下次查询前等待的秒数;非终态时可用。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / next_action / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "job_id": {
      -        "description": "需要继续查询的 job_id。",
      -        "type": "string"
      -      },
      -      "tool_name": {
      -        "description": "下一步建议调用的查询工具。",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "tool_name",
      -      "job_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "arguments": {
      +        "additionalProperties": true,
      +        "description": "下一步查询工具可直接使用的参数。",
      +        "type": "object"
      +      },
      +      "instruction": {
      +        "description": "给 AI/客户端的查询指令,说明如何继续轮询到终态。",
      +        "type": "string"
      +      },
      +      "job_id": {
      +        "description": "需要继续查询的 job_id。",
      +        "type": "string"
      +      },
      +      "tool_name": {
      +        "description": "下一步建议调用的查询工具。",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tool_name",
      +      "job_id",
      +      "arguments",
      +      "instruction"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed3 schema fields changed
    • addedOutput schema / properties / content_id
      Added value: +{
      +  "description": "平台内容 ID。",
      +  "type": "string"
      +}
    • addedOutput schema / properties / content_meta
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "作品上下文信息,便于结合转写内容做口播分析。",
      +  "properties": {
      +    "author": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "avatar_url": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "作者头像链接。"
      +            },
      +            "name": {
      +              "description": "作者昵称。",
      +              "type": "string"
      +            },
      +            "profile_url": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "作者主页链接。"
      +            },
      +            "user_id": {
      +              "description": "作者用户 ID。",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "user_id",
      +            "name",
      +            "profile_url",
      +            "avatar_url"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "作者信息。"
      +    },
      +    "content_url": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "作品链接。"
      +    },
      +    "description": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "平台作品原始描述、正文或配文。"
      +    },
      +    "duration_ms": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "音视频时长,单位毫秒。"
      +    },
      +    "title": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "作品标题;平台无标题时为 null。"
      +    }
      +  },
      +  "required": [
      +    "content_url",
      +    "title",
      +    "description",
      +    "duration_ms",
      +    "author"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "job_id",
      -  "status",
      -  "is_terminal",
      -  "platform",
      -  "source_id",
      -  "content_type",
      -  "transcript",
      -  "error",
      -  "next_poll_after_seconds",
      -  "next_action",
      -  "message"
      -]New value: +[
      +  "job_id",
      +  "status",
      +  "is_terminal",
      +  "platform",
      +  "content_id",
      +  "source_id",
      +  "content_type",
      +  "content_meta",
      +  "transcript",
      +  "error",
      +  "next_poll_after_seconds",
      +  "next_action",
      +  "message"
      +]
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false and idempotentHint=false, confirming a non-idempotent mutation. The description adds specific behavioral context: it waits up to 240 seconds and returns a job reference if incomplete, which is useful for an agent deciding whether to call this synchronously or poll later. No contradiction with annotations.

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?

The description is a single, well-structured sentence that front-loads the primary action and then clearly states the wait/timeout behavior. Every part adds value and there is no redundancy or filler.

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?

The tool has an output schema, so return values do not need to be explained. The description covers the essential flow (submit, wait, get job_id if not done) and implicitly communicates asynchronous behavior. It does not explicitly mention what happens on immediate completion, but that is left to the output schema. Overall, it is sufficiently complete for an agent to invoke correctly.

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?

There is only one parameter (video_url) and its schema description is highly detailed (100% coverage), specifying acceptable URL forms and exclusions. The tool description adds no additional parameter meaning beyond what the schema already provides, so the baseline of 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?

The description states a specific verb ('提交' meaning submit), a concrete resource (video speech-to-text task), and explains the follow-up behavior (wait up to 240 seconds, return job_id if incomplete). It clearly distinguishes this submission tool from query tools like douyin_get_video_speech_text_job.

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

Usage Guidelines3/5

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

The description mentions waiting and returning job_id with a next query action, which implies using a query tool, but it does not explicitly differentiate when to use this URL-based submission vs the aweme_id-based alternative (douyin_submit_video_speech_text_by_aweme_id). The parameter schema separately recommends the ID entry, but that is not in the tool description. Guidance is implied but not explicit.

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