Skip to main content
Glama
GetNote MCP Server

GetNote MCP Server

by iswalle

list_knowledge_base_directories

Browse knowledge base folders and view notes or resources in the current directory for personal, book, client, and team knowledge bases using a topic ID and optional directory ID.

Instructions

浏览知识库文件夹结构及当前目录下的笔记等资源。支持个人、书籍、客户档案和团队知识库。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "topic_id": "<topic_id>"
    },
    "name": "list_knowledge_base_directories"
  }
}

Input Schema

NameRequiredDescriptionDefault
topic_idYes知识库 ID
directory_idNo目录 ID;不传表示根目录

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that personal, book, customer-profile and team knowledge bases are all supported, which is real scope information. It does not state that the operation is read-only, whether results are paginated or truncated, or what the returned structure looks like.

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?

Two short sentences with zero filler: the action and returned content come first, the supported knowledge-base scope second. Nothing is repeated from the schema and nothing could be cut without losing information.

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 two-parameter listing tool with no output schema and no annotations, the description covers what is browsed, what resource types appear in the result, and which knowledge-base families are in scope. The remaining gap is the absence of any note about result volume, pagination, or depth of traversal, which matters for a recursive-looking folder browser.

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 description coverage is 100%, with both topic_id and directory_id documented, including the note that omitting directory_id means the root. The description adds nothing beyond that, so the baseline of 3 applies.

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 names a concrete verb (浏览 / browse) and a concrete resource (知识库文件夹结构及当前目录下的笔记等资源), so the agent knows this is a directory-listing tool. It does not contrast itself with siblings such as list_knowledge_base_notes or search_knowledge_base, which look like plausible substitutes for retrieving notes.

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?

Usage is only implied: the phrasing '当前目录下的笔记等资源' suggests walking a folder hierarchy, and the supported knowledge-base types hint at scope. There is no explicit when-to-use versus list_knowledge_base_notes/search_knowledge_base, and no statement about when this tool is the wrong choice.

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