IMA (ima.qq.com) knowledge base MCP server — search, browse, read, and collect knowledge base content in any MCP-compatible agent.
Server provides 8 tools with complete input schemas and descriptions in Chinese. Naming follows verb_noun pattern (search_, get_, import_). Descriptions are present (avg ~150 chars) and explain WHAT and WHEN. However, output schemas are undocumented, LLMs cannot predict response structure for chaining. Parameters lack type constraints (enums, patterns, ranges beyond min/max). Error handling is minimal, no recovery guidance or categorization. No tool annotations (readOnlyHint/destructiveHint). Credentials are properly injected via environment variables, not exposed as parameters.
获取当前用户有权限添加内容的知识库列表。仅在未指定目标知识库时使用。
获取知识库详情(描述、推荐问题等)。支持一次查询 1-20 个知识库。
浏览知识库内容列表(根目录或指定文件夹),分页返回文件与子文件夹。操作根目录时省略 folder_id。folder_id 以 folder_ 前缀开头。
获取知识库条目的原文内容或下载链接。传入 media_id(来自 get_knowledge_list 或 search_knowledge 的返回)。对微信文章/网页/文件类,返回可访问 URL;对笔记类(media_id 以 note_ 开头),会自动拉取并返回笔记正文(note_content 字段,纯文本)。
读取笔记正文(纯文本)。传入 note_id(笔记的数字 ID,即 get_media_info 返回的 notebook_id,或笔记搜索接口返回的 doc_id)。这是读取 IMA 笔记原文的专用接口。
将网页或微信文章 URL 添加到知识库(1-10 个 URL)。添加到根目录时省略 folder_id。
Output schemas are completely undocumented. LLMs cannot predict response structure, field names, or types. This breaks tool chaining, agents cannot extract IDs or references for downstream calls.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). The import_urls tool modifies state but is not marked as destructive. LLMs cannot distinguish safe-to-retry tools from irreversible ones.
Error handling is minimal. imaPost() throws generic errors like 'IMA API 错误 [code]: msg' with no recovery guidance. LLMs receive no actionable next steps (retry? lookup? ask user?).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
在指定知识库中按关键词搜索内容(含文件和文件夹),返回命中的标题、摘要片段。这是知识库内容检索的核心接口。
搜索知识库列表。query 传空字符串时返回当前账号下所有可见知识库(含自建与订阅)。知道知识库名称但不知道 ID 时用此接口。
Parameters lack semantic constraints. 'query' and 'cursor' are free-form strings with no format validation. 'limit' has min/max but no guidance on typical values. No enums, patterns, or examples in descriptions.
Descriptions are in Chinese only. While technically complete, this limits accessibility for non-Chinese-speaking developers and LLMs trained primarily on English. Consider bilingual descriptions.