MCP server for converting SVG images to PNG or JPEG format using the Sharp image processing library
Two tools with basic schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. convert_svg has a complete input schema with proper types and constraints (enums, min/max for quality), but lacks output schema documentation. get_converter_info has trivial schema (empty properties) and minimal description. Neither tool documents what fields are returned or how to chain results. Error handling exists but lacks recovery guidance. No tool annotations (readOnlyHint, idempotentHint). Parameter descriptions are present but generic, e.g., 'Optional: Output width in pixels' doesn't explain behavior when only width is set (aspect ratio handling?). No mention of rate limits, timeouts, or idempotency guarantees.
Convert SVG to PNG or JPEG format
Get information about the SVG converter
Output schema not documented. convert_svg returns binary data in base64 format, but the response structure (content array, type='binary', format field) is not formally documented. LLMs cannot plan downstream operations without knowing the response shape.
get_converter_info has trivial schema (empty properties object) and minimal description (11 words). Does not meet the 10 - 1024 character guideline for descriptions. Provides no actionable context for when to call it.
Error handling lacks recovery guidance. convert_svg catches errors and returns isError=true with a text message, but does not guide the LLM on next steps (e.g., 'Check SVG syntax' or 'Reduce dimensions'). Error responses should be actionable.
Parameter descriptions lack constraint details. 'Optional: Output width in pixels' does not explain: What happens if only width is set? Is aspect ratio preserved? What are min/max bounds? LLMs need explicit constraints to avoid invalid inputs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
No tool annotations (readOnlyHint, idempotentHint, destructiveHint). Both tools are read-only and idempotent, but this is not declared in the tool definition. Agents cannot infer safety properties without explicit hints.