Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_submit_video_speech_text_by_aweme_id

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aweme_idYes抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_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.2/5.0
Behavior4/5

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

注解没有提供异步等待或返回 job_id 的信息,描述补充了“最多等待 240 秒”和“未完成时返回 job_id 和下一步查询动作”,这增加了对异步行为的透明度和后续调用的指导,且与注解(readOnlyHint=false)无矛盾。

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?

描述仅一句话,直接说明了核心动作和关键行为,没有冗余信息,信息密度高且易于理解。

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?

工具是异步提交任务,有输出 schema(可能包含 job_id 等),描述提供了必要的等待时间和返回内容,足以让 agent 知道如何发起调用并确定后续动作;对于简单的一参数工具,描述足够完整。

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?

唯一的参数 aweme_id 在 schema 中已有详细说明(包括来源和排除项),描述本身没有额外补充参数语义,schema 覆盖 100%,基线为 3 是合适的。

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?

描述明确说“根据抖音 aweme_id 提交视频口播转文字任务”,动词“提交”和资源“视频口播转文字任务”都很具体,且和兄弟工具 `douyin_submit_video_speech_text_by_video_url` 在用途上形成清晰区分(按 ID 提交 vs 按 URL 提交)。

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?

描述了提交后的行为(等待 240 秒、返回 job_id 和下一步查询动作),间接暗示了后续应使用 `douyin_get_video_speech_text_job` 查询状态,但没有明确说“当你有 aweme_id 时使用此工具,而不是按 URL 提交”,不过名字已经足够区分,用户只需根据输入类型选择。

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