Skip to main content
Glama
xuewolai

ima-mcp-server

by xuewolai

get_knowledge_list

Browse a knowledge base's content list by folder, with paginated files and subfolders. Use folder_id for specific folders; omit to view root.

Instructions

浏览知识库内容列表(根目录或指定文件夹),分页返回文件与子文件夹。操作根目录时省略 folder_id。folder_id 以 folder_ 前缀开头。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo返回数量上限,1-50。
cursorNo分页游标,首次传空字符串。
folder_idNo文件夹 ID(folder_ 前缀)。省略则浏览根目录。
knowledge_base_idYes知识库 ID。
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses pagination behavior, return contents (files and subfolders), and root directory handling. It does not cover authorization, error handling, or sorting, but for a read-only list tool this is reasonably 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 brief, front-loaded, and free of fluff. It packs the essential behavior, pagination, and folder_id guidance into a single clear sentence.

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?

Given the lack of annotations and output schema, the description offers a decent overview of the list behavior, pagination, and folder handling. It does not describe the exact return structure or error cases, but the schema covers parameter details, so it is reasonably complete for a list tool.

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 coverage is 100%, so baseline is 3. The description adds behavioral nuance by explaining the optional folder_id usage (omit for root) and reinforces the folder_ prefix rule, which is not fully explicit in that a user might not know when to omit the parameter.

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: '浏览知识库内容列表' (browse knowledge base content list) with root or specified folder, paginated returns of files and subfolders. This distinguishes it from sibling tools like search_knowledge_base (search) and get_knowledge_base (single base).

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?

It provides clear usage context: when operating on root, omit folder_id; folder_id must start with folder_ prefix. It does not explicitly mention alternatives or exclusions, but the root vs. folder guidance is practical.

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/xuewolai/ima-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server