get_knowledge_base
Retrieve details (description, recommended questions) for 1-20 knowledge bases at once.
Instructions
获取知识库详情(描述、推荐问题等)。支持一次查询 1-20 个知识库。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 知识库 ID 列表,1-20 个,不可重复。 |
Retrieve details (description, recommended questions) for 1-20 knowledge bases at once.
获取知识库详情(描述、推荐问题等)。支持一次查询 1-20 个知识库。
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 知识库 ID 列表,1-20 个,不可重复。 |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the batch size limit (1-20) and indicates typical content (description, recommended questions), but does not mention error behavior, handling of invalid IDs, or response format.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences with no filler. It front-loads the main purpose and immediately provides the batch-size constraint, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has low complexity (one parameter, no output schema). The description covers the main purpose and batch limit, but without an output schema, it could provide a bit more detail on return structure. Still, it is adequate for a straightforward details-by-ID tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already fully describes the 'ids' parameter with minItems, maxItems, and a clear description. The tool description adds no additional parameter semantics beyond what the schema provides, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves knowledge base details, with a specific verb ('获取') and resource ('知识库详情'). It also specifies batch capability (1-20), which distinguishes it from siblings like search_knowledge_base or get_knowledge_list.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use when you know knowledge base IDs and need details for up to 20 at once, but it does not explicitly state when to use this tool versus alternatives like search_knowledge_base. No exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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