MCP server that converts raster images (PNG/JPG/WEBP) to SVG vector format
Single tool with excellent naming (verb_noun pattern), comprehensive parameter schema with proper constraints (min/max bounds, enums via descriptions), and detailed descriptions. Tool name 'convert_image_to_svg' clearly conveys action. All 11 parameters have type definitions and descriptions. Output is documented as string (SVG content). Tool annotations present (readOnlyHint, destructiveHint, idempotentHint). Main gaps: no output schema structure documented (just 'returns string'), no pagination/batching patterns (not applicable here), error handling could be more granular with recovery guidance.
Convert a raster image (PNG, JPG, or WEBP) to SVG vector format. Accepts either base64-encoded image data or a URL. Returns the SVG content as a string. Adjust tracing parameters to control the fidelity and complexity of the output.
Output schema not formally documented. Tool returns 'str' (SVG content) but no structured schema showing what fields/format to expect. LLMs benefit from explicit output type declarations.
Error messages could include recovery guidance. ToolError exceptions are raised but lack actionable next steps (e.g., 'Invalid base64 data: {e}' should suggest 'Ensure image_base64 is valid base64-encoded PNG/JPG/WEBP').
Mutually exclusive parameters (image_base64 vs image_url) are validated at runtime but descriptions could be more explicit about the mutual exclusion constraint and consequences of providing both.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | B | 72 | 2026-07-28+ | v2 |