Skip to main content
Glama
DavidLearning1023

bilibili-info-gathering

registry_get

Reads the Bilibili research asset library before tasks to reuse source ratings, video findings, topic insights, protocols, and run costs, avoiding duplicate analysis.

Instructions

读资产库。每次任务开始前先查一遍——已有评级的 UP 主直接沿用。

kind: "stats" 总览(条数、评级分布、评级变动、议题分布、经验库体积、议题档案数、 上一轮开销、报告库概览) "source" 按 mid 查单个 UP 主(需 mid) "video" 按 bvid 查单条视频(需 bvid,返回历史 key_findings,避免重复分析) "sources" 列表(可按 domain 过滤) "videos" 列表(可按 topic 过滤) "insights" 读经验沉淀(跨议题的领域/信源/方法认知)。给了 topic 就只看该议题 "topic" 读议题档案(需 topic 名):核心问题/已搜方向/已覆盖/缺口/未收敛冲突/ 用户采纳了什么/下次从哪切入——跨任务记忆与反馈闭环的落点 "topics" 列出全部议题档案 "protocol" 读检索协议(需 topic 名):阶段 0 的产物落盘, 报告 §五「检索范围与偏差声明」从这里读出来,不手写 "protocols" 列出全部已落盘的协议 "clusters" 读某议题的观点簇(需 topic):归簇结果落盘,供复核 "staging" 看暂存区里有什么(写侧闸门:commit 之前正式库不会被改动) "cost" 调用账本汇总。window="run" 只看本轮(需先用 registry_upsert(kind="run-start") 打标记); 返回里的 md_line 可直接贴进报告 §五「单轮开销」;closed=true 表示这一轮已收尾、数字不会再变

⚠️ est_output_tokens 是输出侧粗估(CJK×0.7 + 其它×0.25), 用于横向比较"哪个工具最费、这一轮跑了几次",不是账单金额。

Input Schema

NameRequiredDescriptionDefault
midNo
bvidNo
kindNostats
topicNo
domainNo
windowNoall

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and largely meets it: it explains that `staging` is the write-side gate (the formal library is untouched before commit) and that `cost` with `window="run"` requires a prior `registry_upsert(kind="run-start")` marker, plus `closed=true` semantics. It also disclaims that `est_output_tokens` is a rough output-side estimate, not a billing figure. It does not state size/volume limits for the list 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?

The most important instruction (query the registry at task start) is front-loaded before the long `kind` enumeration, and the enumeration is formatted so an agent can scan for the mode it needs. It is long, but the length is justified by 13 modes; the trailing `est_output_tokens` caveat is the one part that reads as extra.

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?

For a six-parameter multi-mode reader with no annotations, the description supplies mode semantics, param prerequisites, the write-gate distinction, and the run-marker dependency. An output schema exists, so return-value explanation is correctly omitted. Minor residual gaps are list-mode volume/pagination behavior.

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 description coverage is 0%, so the description must compensate, and it effectively does: every parameter's role is covered — `mid` ("需 mid"), `bvid` ("需 bvid"), `topic` ("需 topic 名"), `domain` ("可按 domain 过滤"), `window` (`"run"` vs default). It does not state that `kind` defaults to `stats`, nor spell out the valid value set as an enum, but the mode list supplies the semantics.

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 opening verb+resource ("读资产库") is followed by a complete enumeration of the 13 `kind` modes, each with a one-line scope note, so an agent knows exactly which sub-resource each call retrieves. It is clearly the read side of the registry, distinguishable from the sibling `registry_upsert` which is named explicitly in the `cost` and `staging` notes.

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?

Gives explicit timing guidance ("每次任务开始前先查一遍——已有评级的 UP 主直接沿用") and a concrete motivation for `video`/`sources` lookups (avoid re-analyzing key_findings). It also states the prerequisite for `cost` (`window="run"` requires a run-start marker). It stops short of saying when to prefer sibling tools like `deep_read` or `scan_topic` over a registry read.

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