MCP server for image analysis using GPT-4-turbo
Two tools with complete input schemas and descriptions, but both descriptions are in Japanese and lack LLM-optimized English guidance. Schemas are properly typed with required fields. However, the second tool (analyze_image_from_path) has a critical security issue: path validation is insufficient and could allow directory traversal attacks. No output schema is documented. Error handling returns generic error messages without recovery guidance. Tool names follow verb_noun pattern but lack clarity on when to use each variant.
画像URLを受け取り、GPT-4o-miniを使用して画像の内容を分析します
ローカルファイルパスから画像を読み込み、GPT-4o-miniを使用して内容を分析します。AIアシスタントはサーバーの実行環境で有効なパスを渡す必要があります(例: WSL上のサーバーならLinuxパス)。
Descriptions are in Japanese only; LLMs trained primarily on English will struggle to understand when/why to select each tool. No English descriptions provided.
Path traversal vulnerability in analyze_image_from_path: validation checks for cwd, homedir, and /mnt/ but does not prevent symlink attacks or escape via relative paths like '../../../etc/passwd'. Attacker can read arbitrary files.
No output schema documented. LLMs cannot predict what fields the response contains, forcing them to guess or parse unstructured text. Reduces composability with downstream tools.
Error messages are generic ('ツール実行エラー') and do not guide recovery. LLMs receive no actionable next steps when a call fails.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | 2026-07-28+ | v2 |
Tool names do not distinguish use cases clearly. Both tools analyze images; the distinction (URL vs local path) is buried in descriptions. LLMs may pick the wrong tool.