Skip to main content
Glama
GetNote MCP Server

GetNote MCP Server

by iswalle

list_knowledge_bases

Retrieve and paginate knowledge bases a user created, owns, or joined, filtering by scope, name, author, or book ID to locate specific libraries.

Instructions

获取用户创建、拥有或加入的知识库列表,默认DEFAULT;查书名/书籍作者显式scope=BOOKSPACE,query只匹配书名、author匹配书籍作者,二者AND,只有作者线索就只传author。返回topics[]、has_more、total,完整分页并核对book_info。无匹配且用户未限定只查自有时,用list_subscribed_knowledge_bases保留全部条件补查;仍无匹配再按list_notes的引用来源路线补查,不能把空书库当账号没有划线。用户限定具体知识库时保留原范围;来源作者冲突保留为待核验候选。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_knowledge_bases"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo页码,从 1 开始(默认 1)
queryNo只匹配知识库名/书名,不匹配作者;与 author 同时传时为 AND。多候选须核对书名、作者和 book_id
scopeNo知识库类型,默认 DEFAULTDEFAULT
authorNo书籍作者,限 BOOKSPACE;只有作者线索时只传 author,不猜书名或把作者填进 query
book_idNo书籍 ID 字符串,限 BOOKSPACE
page_sizeNo每页 1–100 条,默认 20

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.3

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 load and does disclose the return shape (topics[], has_more, total), the need to paginate fully and verify book_info, and the meaning of an empty result. It stops short of stating auth requirements or rate limits, and the read-only nature is only implied by '列表'.

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?

Purpose is front-loaded and little is pure filler, but the body is a dense run-on that interleaves retrieval strategy, parameter rules, return fields, and edge-case policy in semicolon-chained clauses. It would scan far better split into short labeled sentences.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Six optional parameters, an enum, and no output schema — the description compensates by explaining return fields, pagination, AND-combination of query/author, the fallback chain, and conflict handling for ambiguous authors. Nothing an agent needs to call this correctly and interpret empty results is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema descriptions already state that query matches names/titles not authors, that query+author combine with AND, that author/book_id are BOOKSPACE-only, and that only author should be passed when that is the sole clue. The description restates these rather than adding new syntax or format meaning, so the baseline 3 applies.

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?

Opens with a specific verb+resource+scope: '获取用户创建、拥有或加入的知识库列表'. It also names the sibling it is not (list_subscribed_knowledge_bases) and the scope that switches it into book search (BOOKSPACE), so an agent can distinguish it from siblings without opening schemas.

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?

Gives explicit routing rules: use scope=BOOKSPACE for title/author lookups, pass only `author` when only an author clue exists, fall back to list_subscribed_knowledge_bases preserving all conditions, then to list_notes' citation-source route. It also states when-not-to-conclude ('不能把空书库当账号没有划线') and how to behave when the user narrows to a specific knowledge base.

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