Skip to main content
Glama
Iseenope

bilibili-mcp-server

by Iseenope

bilibili_refresh_cookie

Manually refresh Bilibili cookies: checks current status and executes a 6-step process (RSA encryption, refresh_csrf acquisition, refresh, confirmation) to update expired cookies.

Instructions

手动触发 B站 Cookie 刷新。检查当前 Cookie 状态,如需要则执行完整的 6 步刷新流程(含 RSA 加密、refresh_csrf 获取、刷新、确认更新)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses the tool's behavior: it performs a 6-step refresh including RSA encryption and refresh_csrf acquisition. This is highly transparent.

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 concise sentence that packs all necessary information without redundancy. It is front-loaded with the verb 'refresh' and resource 'Cookie'.

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?

The description does not explain the outcome (e.g., success indication) or prerequisites (e.g., must be logged in). Given no output schema, this leaves some ambiguity.

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?

The tool has no parameters, so schema coverage is 100%. The description adds no parameter details, but this is acceptable as there are none to explain.

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: manually triggering Bilibili cookie refresh, including checking current status and executing a detailed 6-step process. It differentiates from sibling tools like bilibili_login and bilibili_login_check.

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?

The description implies the tool is for refreshing an existing cookie but lacks explicit guidance on when to use it versus alternatives like bilibili_login or bilibili_login_check. It does mention it checks status first, offering some context.

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