Apache Solr MCP (Model Context Protocol) Server - provides a complete toolset for LLMs to interact with Apache Solr search engine, supporting collection management, query search, indexing operations, and analysis statistics
The server defines 5 tools for Solr document manipulation with basic schemas visible. However, significant quality gaps undermine production readiness: (1) All tool descriptions are in Chinese, creating a language barrier for English-speaking LLM agents and violating the principle that tool descriptions should be written as if prompt-engineering to English-language models. (2) Parameter descriptions lack specificity, e.g., 'documents' is described as '文档数组' (document array) without specifying required fields, format, or constraints. (3) No output schemas are documented anywhere, LLMs cannot know what these tools return, breaking the pattern:tool-chain requirement. (4) No error handling guidance is present, agents have no recovery path on failures. (5) Schemas visible in the parameter specs are minimal (types and basic descriptions only); no examples, patterns, or constraints. (6) Tool names follow verb_noun convention (add_document, delete_by_query) which is good, but descriptions being non-English severely limits LLM comprehension and agent planning. Most tools score in the 35-50 range individually due to language barrier and missing output documentation.
添加单个文档到集合
批量添加文档到集合
根据查询条件删除文档
删除指定文档
更新文档(原子更新)
All tool and parameter descriptions are in Chinese (e.g., '添加单个文档到集合', '文档数据'). English-language LLM agents cannot interpret intent or selection criteria. This violates the core principle that descriptions should be written as if prompt-engineering to the target audience (English LLMs).
No output schemas documented for any tool. The specification does not state what these tools return (success/failure status, document IDs, counts, timestamps). LLMs cannot plan downstream calls or extract required fields for chaining.
No error handling guidance. If a tool fails (e.g., collection not found, invalid document format), there is no recovery hint for the LLM. Tools are marked with Risk labels (WRITE, DESTRUCTIVE) but no confirmation/dry-run mechanism exists.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 40 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Parameter 'updates' in update_document is described only as '更新操作映射' (update operations mapping). No spec of what fields or operations are valid (e.g., set, add, increment, remove). LLMs cannot construct valid payloads.
Parameter 'documents' in add_documents lacks detail: is each document a flat object? What fields are required (e.g., id)? Are there size limits? The description '文档数组' (document array) provides no actionable constraints.
delete_by_query accepts a free-form query string with no format guidance. Is this Solr query syntax? Boolean operators? Wildcards? Missing format specification invites malformed queries and unnecessary agent retries.