Skip to main content
Glama
XZXZZX-Ai

Bilibili Mcp Server Unofficial(video Subtitles And Comments)

by XZXZZX-Ai

get_video_info

Retrieve Bilibili video details: fetches subtitles by language preference, or falls back to description and tags. Supports multi-part video selection.

Instructions

获取 Bilibili 视频信息,优先返回字幕内容,如无字幕则返回视频简介和标签。支持指定偏好语言和多P分集选择。For credential help, call get_credential_setup_instructions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo可选,多P视频的分集编号(从1开始的正整数)。不指定时使用默认CID。
bvid_or_urlYesBilibili 视频 BV 号或完整 URL
preferred_langNo可选参数,指定偏好字幕语言代码,如 'zh-Hans', 'zh-Hant', 'en' 等。默认按 zh-Hans -> zh-Hant -> en 顺序选择。
Behavior2/5

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

No annotations are provided, so the description carries full burden. It reveals the return priority but does not disclose credential requirements beyond a vague reference, rate limits, failure modes, or whether the tool is read-only. The behavior is partially transparent but lacks safety and side-effect details.

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 extremely concise with two Chinese sentences and one English sentence for credentials. All essential information is front-loaded, and every sentence serves a purpose (core functionality, fallback behavior, parameter support, credential guidance). No wasted words.

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 absence of an output schema, the description adequately explains return values (subtitle or fallback). It covers the main parameters and alludes to credential needs. However, it lacks details on error handling, response format, and pagination, which are minor gaps for a simple info tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with parameter descriptions. The description adds value by explaining that preferred_lang and page work together in the priority logic, reinforcing their semantics beyond the schema. This justifies a score above baseline 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?

The description clearly states the tool's purpose: 'get Bilibili video info' with a specific return priority: subtitles first, then description/tags. It also mentions support for preferred language and multi-P episodes, effectively differentiating from sibling tools like get_video_transcript and get_video_metadata.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly compare this tool to siblings or state when to use alternatives. The credential help note is about setup, not usage context relative to other tools. Without guidance on when to prefer this over get_video_comments or get_video_chapters, the agent is left to infer usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/XZXZZX-Ai/bilibili-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server