Skip to main content
Glama
nuko777
by nuko777

视频字幕/转写文本

video_transcript
Read-only

Fetch a Bilibili video's full subtitles and timed segments by BV/av ID or URL, with multilingual support. If captions are missing, returns available languages and suggests video_frames.

Instructions

读取视频字幕全文与时间分段。B 站 AI 字幕通常可用;无字幕时返回可用语言与改用 video_frames 的提示。支持多语言字幕。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNo首选字幕语言,例如 ai-zh、zh-CN、ai-en;不传则自动选择中文优先
pageNo分P 序号,从 1 开始
videoYes视频标识:BV 号、av 号或视频链接,例如 BV1xx411c7mD / https://www.bilibili.com/video/BV...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-beta.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds real behavioral context beyond that: B站 AI 字幕通常可用 and the no-subtitle path returns available languages plus a hint to switch tools.

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?

Three short sentences, front-loaded with what the tool returns, then the availability caveat and the fallback. No filler and every sentence carries information.

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?

With no output schema, the description compensates by stating the return shape (full text plus time segments) and the degraded case (available languages). Nothing critical is missing for a read-only three-parameter tool.

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 lang, page and video are already fully documented in the schema. The description only adds that multiple subtitle languages are supported, which loosely maps to lang but adds no syntax or format detail beyond the schema.

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 and resource: 读取视频字幕全文与时间分段 (read the full video transcript and its time segments). It also differentiates from the relevant sibling by naming video_frames as the fallback when no subtitles exist.

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?

It gives a clear condition for use and an explicit alternative: when subtitles are unavailable the tool points the agent to video_frames. It does not spell out when to prefer this over video_info or search, but the primary routing decision is covered.

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