Skip to main content
Glama

我的知识库

list_kbs
Read-onlyIdempotent

列出我名下已发布的知识库(库名 / 版本 / 发布时间 / 篇数 / 每页的 path 与标题),以及我名下每个岗位各自配了哪些库;还有 workspaces(我所在工作区自己的库 + 工作区引用的库)和 shared(别人授权给我的库),这些库各带 ownerKey 与 ref。在某个工作区里干活时,优先读那个工作区的库和它引用的库,说法冲突时都列出来。用户问"我有哪些知识库""这个岗位用的什么资料"时用。知识库是数字员工回答业务问题的依据:岗位配了库,访客问到时它会先查库再答。

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral value beyond that: the priority rule for workspace-owned vs referenced KBs and the instruction to surface both when sources conflict, plus the semantic note that KBs are the grounding source for digital-employee answers.

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

Conciseness3/5

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

The core enumeration is front-loaded, but the main sentence is overloaded, stringing three result categories together with nested parentheticals before any usage guidance arrives. The closing sentence about KBs being the basis for digital-employee answers is useful framing but sits after the operative instructions rather than before them.

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?

With no output schema, the description carries the burden of describing returns and does so field-by-field across all four result groups. The one gap is pagination: '每页的 path 与标题' implies paged results but the description never explains page size or how to page through them.

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 takes zero parameters, so the rubric baseline is 4. The description correctly describes the shape of the result (which fields appear per KB, ownerKey/ref for shared and workspace entries) rather than inventing input arguments, which is the right use of space for a no-param tool.

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 gives a precise verb (列出) and enumerates exactly which resources are returned: the user's published KBs (name/version/publish time/article count/path/title), each job's configured KBs, plus workspaces and shared KBs with ownerKey and ref. It is clearly distinguishable in practice from read_kb and set_staff_kbs, but it never names a sibling or states what it is not, so it falls short of the 5 bar.

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?

It gives concrete invocation triggers ('用户问"我有哪些知识库""这个岗位用的什么资料"时用') and an operational rule for ambiguous situations ('在某个工作区里干活时,优先读那个工作区的库和它引用的库,说法冲突时都列出来'). An agent knows both when to call it and how to resolve conflicting results without inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.