MCP server for analyzing images from Xiaohongshu (Little Red Book) posts using Google Gemini Vision API
Single tool 'analyze_images_feature' has fundamental definition quality issues. The tool name lacks a clear action verb prefix and does not clearly convey what happens when called. The description is in Chinese (non-English, problematic for multilingual LLM deployments) and is 73 characters, within acceptable range but contextually weak. The input schema IS present with proper JSON Schema structure (red_note: string, urls: array of strings), but parameter descriptions are minimal. Output schema is completely undocumented, the function returns a string but the structure and content of that string are not specified. Error handling is present in the code but not surfaced in the tool definition. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite the tool being read-only. The tool invokes an external LLM (Gemini) to analyze images, but this dependency and potential latency/failure modes are not documented in the tool description.
可以用来分析和总结小红书的帖子中的图片
Tool name 'analyze_images_feature' is vague and lacks a clear action verb. Should be 'analyze_images' or 'summarize_images_from_note' to clearly convey intent.
Tool description is in Chinese ('可以用来分析和总结小红书的帖子中的图片'). MCP tool descriptions must be in English for use with multilingual LLM clients. This severely limits discoverability and adoption.
No output schema documentation. The function returns 'str' but the LLM does not know what structure or format to expect. Should document: 'Returns a markdown-formatted analysis with sections: location, image_url, description, is_map_image'.
Parameter 'urls' has minimal description ('图片URL列表'). LLM cannot infer constraints: max count? accepted formats? timeout per image?
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 34 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 23 | - | v1 |
No tool annotations despite tool being read-only. Should include readOnlyHint=true in tool metadata.
External dependency on Google Generative AI API (Gemini) is not documented in tool description. LLM needs to know: does this call cost money? What are rate limits? What happens if API key is missing?
Error handling is weak in the tool definition. Function returns generic error strings like '图片数据处理异常: 图片数据为空' (in Chinese). Errors should be in English and should guide recovery (e.g., 'No images loaded. Check URL format or network connectivity.').