Skip to main content
Glama
bilibili-agent-mcp
by Gsxcheng

章节与元数据

bili_chapters
Read-only

Retrieve Bilibili video chapter segments, including creator highlights and anime OP/ED timings, and export them as ffmetadata for ffmpeg or OGM chapter files.

Instructions

获取视频的分段章节(UP主设置的看点 / 番剧 OP、ED 时间),可输出为 ffmetadata(ffmpeg 写入章节)或 OGM 章节格式。对应 Bilibili-Evolved 的「保存视频元数据」。

Input Schema

NameRequiredDescriptionDefault
pageNo分P序号(从1开始);番剧季为第几集。默认取链接里的 ?p= 或第1P
inputYes视频标识:B站视频/番剧链接、BV号、av号、ep号、ss号或 b23.tv 短链
formatNolist

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine context about what is produced (ffmetadata / OGM chapter markup), but says nothing about behavior when a video has no chapters, whether pagination/season handling differs, or access limits — gaps that matter for an agent reasoning about failure modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences; the core purpose and the available outputs come first, with the Bilibili-Evolved mapping as trailing context. Nothing is redundant, though the parenthetical about OP/ED could be folded more tightly.

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

Completeness3/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 carries the burden of describing return shape, and it never says what the default `list` output looks like (field names, time units, whether entries include titles). For a read-only 3-parameter tool the remaining gaps are moderate rather than severe, but an agent cannot predict what it will receive.

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 67%, and the description usefully compensates for the one undocumented piece: the `format` enum has no schema description, but the text explains that list is chapters data while ffmetadata and ogm are chapter-file encodings for ffmpeg or OGM tooling. The `page` and `input` parameters are already documented in the schema, so no repetition is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (获取视频的分段章节) and clarifies what chapters are in this domain (UP主设置的看点 / 番剧 OP、ED 时间), which rules out confusion with bili_danmaku or bili_subtitles. It also names the Bilibili-Evolved feature it mirrors. It stops short of naming any sibling tool explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the mention of ffmetadata for ffmpeg chapter writing hints at when a caller would pick a non-default format. There is no explicit 'use this when…' or 'do not use this for…' guidance, and no pointer to bili_video_info or bili_danmaku as alternatives.

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