Skip to main content
Glama
rowanlin-dev

ima-mcp-server

by rowanlin-dev

get_knowledge_list

Browse a knowledge base directory to list files and subfolders, starting at root or a specified folder, with pagination support.

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 discloses key behaviors: pagination, return of files and subfolders, and the folder_id prefix requirement. It implies a read-only 'browse' action. Missing details like error handling or authentication are not critical for a list operation.

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 sentences, front-loaded with purpose, and no unnecessary words. Every clause adds value: root vs folder behavior, pagination, and prefix rule.

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 no output schema and 4 parameters, the description explains the main return types (files/subfolders) and pagination, which covers the core function. Lacks mention of sorting or response structure, but these are not critical for a listing tool with schema-documented parameters.

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 covers 100% of parameters with descriptions. The description adds a small semantic detail (omit folder_id for root) and restates the folder_ prefix already in the schema. This elevates slightly above baseline but does not substantially compensate beyond schema.

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 browses knowledge base content lists at root or specified folders, returns files and subfolders, and mentions pagination. This distinguishes it from search sibling tools like search_knowledge_base and get-like tools such as get_knowledge_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?

Provides clear context on when to use (browsing root or specific folder) and includes a specific rule for omitting folder_id when operating at root. Lacks explicit comparison to alternatives or when-not-to-use statements, but the usage context is unambiguous.

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

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