Skip to main content
Glama

SocialDataX X / Twitter MCP

x_submit_video_speech_text_by_post_url

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_urlYesX 帖子链接;仅在没有 post_id 时,请传搜索结果、详情结果、quoted_post 或 reposted_post 返回的非空 post_url,或用户帖子列表结果返回的非空 post_url,或形如 https://x.com/{username}/status/{post_id} 的 x.com 或 twitter.com 帖子页面链接;不要传用户主页链接、帖子正文里的链接、搜索关键词或接口地址。

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?

Description discloses key behaviors beyond annotations: it waits up to 240 seconds, processes only the current post's first MP4, and returns job_id plus next query action if incomplete. This adds meaningful context that annotations alone do not provide, without contradicting them.

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 dense sentence that front-loads the core purpose and then adds critical constraints and fallback behavior. There is no filler or repetition of schema details.

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?

Given only one parameter, a full schema, output schema availability, and annotations, the description covers the essential operation, the time limit, the video-selection rule, and the asynchronous fallback. Nothing material is missing for an agent to invoke this tool 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?

Schema description coverage is 100%, so the baseline is 3. The main tool description does not add further parameter-level semantics beyond what the schema already explains about post_url; it correctly does not need to compensate.

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?

Description clearly states the action (submit speech-to-text task), the resource (X/Twitter video post URL), and the precise scope (only the first available MP4 in the current post). It is distinguishable from the sibling x_submit_video_speech_text_by_post_id because the tool is explicitly URL-based.

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 parameter schema specifies '仅在没有 post_id 时' (only when there is no post_id), which gives a clear condition for choosing this URL-based tool over the post_id variant. However, it does not explicitly name sibling tools or provide a fuller when-not-to-use statement, so it falls just short of fully explicit alternative routing.

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