Skip to main content
Glama
Iseenope

bilibili-mcp-server

by Iseenope

bilibili_search

Search Bilibili videos by keyword. Optionally sort by publish date, play count, or other criteria, and filter by video length.

Instructions

搜索 B站视频。⚠️ 注意:B站 totalrank 算法不按时间排,系列剧集最新一集可能不在第 1 页。如要查某 UP 主最新视频,建议先用搜索找到 UP主 uid,再调用 bilibili_user_videos 工具

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo页码,默认 1
orderNo排序:totalrank=综合(默认,按热度), click=最多播放, pubdate=最新发布, dm=最多弹幕, stow=最多收藏, scores=最多评论totalrank
keywordYes搜索关键词
durationNo时长筛选:0=全部(默认), 1=<10分钟, 2=10-30分钟, 3=30-60分钟, 4=>60分钟
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that totalrank does not sort by time and that the latest episode may not appear on page 1. This is a critical behavioral trait. It does not mention rate limits or other aspects, but the given information is valuable.

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 concise with two clear sentences. It front-loads the core purpose and then provides crucial behavioral context. No unnecessary words.

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?

While the description covers the most important nuance (ordering), it does not mention pagination behavior, duration filter, or the general structure of results. Given no output schema, some guidance on return format would improve completeness. Still, it addresses key usage concerns.

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%, so parameters are well-documented. The description adds meaning beyond the schema by explaining the implication of the 'totalrank' order (not time-sorted), which is not in the parameter description. This helps the agent make better choices.

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?

The description clearly states '搜索 B站视频' (search Bilibili videos), specifying the verb and resource. It distinguishes from sibling bilibili_user_videos by suggesting an alternative workflow for finding latest videos by a specific UP主. However, it does not explicitly differentiate from bilibili_search_hot.

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

Usage Guidelines5/5

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

The description explicitly advises when to use this tool: for general search of Bilibili videos, and when not: for finding latest videos of a specific UP主, recommending bilibili_user_videos instead. It also warns about the totalrank ordering behavior.

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/Iseenope/bilibili-mcp-server'

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