Skip to main content
Glama
DevinChen2014

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_submit_video_speech_text_by_note_url

Convert speech from a Xiaohongshu video note to text by submitting its URL, short link, or share text. Waits up to 240 seconds; returns job ID and query action if incomplete.

Instructions

根据小红书视频笔记链接、短链接或分享文案提交口播转文字任务;提交后最多等待 240 秒,未完成时返回 job_id 和下一步查询动作。

Input Schema

NameRequiredDescriptionDefault
note_urlYes小红书视频笔记链接、短链接或分享文案。

Output 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 observedv0.1.5

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag this as a write operation (readOnlyHint=false, idempotentHint=false). The description adds valuable behavioral detail beyond annotations: it explicitly mentions a 240-second wait and that an incomplete job returns a job_id and points to a next query action. This goes beyond the structured hints and clarifies the asynchronous nature of the task.

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 action (submit task by note URL) and immediately covers the key constraints (wait time, job_id return). Every phrase earns its place; there is no filler or 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?

Given the available output schema (not shown but indicated), the description provides sufficient context: it states the input format, the asynchronous wait, and the follow-up query action. It does not explicitly name the polling tool (e.g., xhs_get_video_speech_text_job), but the existence of such a sibling and the mention of 'next query action' make the workflow clear. Minor gaps like error handling or idempotency advice are not critical given the annotations.

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 coverage is 100%, so the parameter note_url is fully documented. The tool description repeats the same input formats (link, short link, share text) without adding new syntax details. With schema doing the heavy lifting, 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 clearly states the action (submit a video speech-to-text task), the resource (Xiaohongshu video note via URL, short link, or share text), and distinguishes it from the sibling by_note_id variant. It also outlines the wait/response behavior, leaving no ambiguity about the tool's purpose.

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 provides clear context (it is a submission task triggered by a note URL), but it does not explicitly state when to prefer this over the by_note_id sibling or exclude other tools. However, the naming and input type make the usage context obvious enough for an agent to infer the appropriate choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.