MCP server for batch WebP conversion with cross-platform support
Single tool with well-structured schema and decent descriptions. The tool name 'convert_to_webp' uses a clear verb-noun pattern and the description explains what, when, and what to expect. Input schema is comprehensive with proper types, ranges, and defaults. However, output schema is not formally documented in the code, and the tool lacks error recovery guidance. The implementation shows good parameter validation but returns unstructured text rather than a typed result object, limiting downstream composition.
Batch convert images (PNG, JPG, JPEG) to WebP format with customizable options. Recursively scans directories and provides detailed conversion reports.
Output schema not documented. The tool returns text formatted with emojis and JSON.stringify(result) rather than a formally defined, typed output object. LLMs cannot infer expected fields for downstream composition.
Error responses lack recovery guidance. When conversion fails, the tool returns a bare error message: '❌ Conversion failed: {error.message}'. No suggestion for how to recover (e.g., 'Check source directory exists' or 'Try reducing thread count if timeout occurred').
No input validation for 'src' parameter. Although the description says 'Source directory', there is no path traversal check or validation that the directory exists. A malicious agent could pass '../../../etc/passwd' or non-existent paths, leading to confusing errors.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 58 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 47 | - | v1 |
Parameter descriptions lack constraint details. For example, 'threads' has description 'Number of concurrent conversions (default: system CPU count)' but does not state the realistic upper bound or warn about resource exhaustion. A naive agent might pass threads=1000.
No pagination or result limiting documented. If a directory contains thousands of images, the tool will attempt to convert all of them, potentially returning a massive result that exhausts the context window. No limit is enforced or mentioned.