Skip to main content
Glama

SocialDataX X / Twitter MCP

x_submit_video_speech_text_by_post_id

根据 X / Twitter 视频帖子的 post_id 提交口播转文字任务;只处理当前帖子自身首个可用 MP4 视频,提交后最多等待 240 秒,未完成时返回 job_id 和下一步查询动作。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_idYesX 帖子 ID;用户已提供时原样使用,否则可从搜索结果、详情结果、quoted_post、reposted_post 或用户帖子列表结果复制 post_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. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already mark this as not read-only and not idempotent, so the description correctly implies a mutation. Beyond that, it adds specific behavioral details: it only processes the first available MP4 of the post, waits up to 240 seconds, and returns a job_id with a next-step query action. This is valuable context not present in annotations and matches the open-world hint.

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?

One dense sentence that front-loads the primary action and embeds all key constraints (first MP4, 240s wait, job_id handoff). No filler or repetition; the sentence earns its length by packing critical behavior flags into a compact structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the full call flow: submit, wait, and on timeout return a job_id plus a pointer to the next query. Given the output schema exists (to define return structures) and the sibling x_get_video_speech_text_job handles the follow-up, the description provides an agent with everything needed to invoke the tool correctly and know what to expect.

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?

The schema description for post_id is thorough (100% coverage), explaining exactly where to source the ID and the required numeric-string format. The tool description does not add meaning beyond what the schema already provides—it only reiterates 'based on post_id.' Since the schema carries the full burden, a baseline 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 clear action (submit a speech-to-text task) on a specific resource (video post identified by post_id) and adds explicit constraints (only the first MP4 of the post, a 240-second wait). This distinguishes it from the sibling x_submit_video_speech_text_by_post_url, which uses a URL instead of an ID, so an agent can immediately tell them apart without opening schemas.

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 description makes it clear this tool is for post_id input, and the naming contrasts with the URL-based sibling. It also signals a follow-up step ('下一步查询动作') implying use of x_get_video_speech_text_job for status. However, it does not explicitly state when to choose this over the URL variant, though the ID/URL distinction is implicit. No when-not guidance is given, but the context is sufficient for most agents.

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