An Azure OpenAI DALL-E 3 MCP server for generating and downloading images
Two tools with reasonable structure but noticeable gaps in descriptions and missing output schema documentation. Tool names follow verb-noun convention (generate_image, download_image). Both tools have input schemas with proper type definitions and descriptions. However, descriptions are minimal (under 100 chars each), and critically, no output schema is documented anywhere in the code. Error handling exists but is generic. Parameters are well-typed with enums where appropriate, but descriptions lack context about prerequisites, side effects, and expected return format. The download_image tool has a WRITE risk classification but no confirmation or dry-run mechanism. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are present despite the tool performing file I/O.
Download an image from a URL to a local path
Generate an image using AOAI DALL-E 3
No output schema documented. Tools return plain text responses (e.g. 'Success, image url: ${imageUrl}') rather than structured objects. LLMs cannot reliably parse or chain results. Missing documented return types violate the 100% baseline for A+ tools.
download_image description (46 chars) is too minimal and lacks critical context. No mention that this tool performs file I/O with write side effects, no guidance on local path validation, no explanation of what happens if file exists, and no return value documentation. Description fails to state WHAT, WHEN, and WHY, critical for LLM tool selection.
generate_image description (48 chars) lacks context about side effects (image generation costs money via Azure OpenAI), no mention of prompt filtering or content policies, and no guidance on expected URL lifetime or accessibility. Missing expected output format and error cases.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 50 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 37 | - | v1 |
No tool annotations despite destructive/write operations. download_image should have destructiveHint: true and idempotentHint: false (repeated calls with same URL produce different local files). generate_image should note that it incurs API costs. Tool annotations enable agent reasoning about retry safety and side effects.
Error handling is generic and non-actionable. Errors like 'Image download error: Unknown error' provide no recovery guidance. No distinction between retryable (network timeout) vs user-fixable (invalid URL) vs fatal errors. LLM cannot determine next action.
No confirmation or dry-run for destructive operations. download_image performs file I/O without any confirmation step. If an agent passes wrong path or filename, files are silently written. Pattern:confirmation-request not implemented.
Parameter descriptions lack format/constraint guidance. 'localPath' is described as 'Local directory path to save the image' but provides no guidance on path validation, absolute vs relative paths, or handling of missing directories. 'fileName' has no guidance on extension requirements or illegal characters.
No pagination or result limiting guidance for generate_image. While generate_image returns one URL, the tool should document any timeout expectations, retry behavior, or rate-limit handling. Azure OpenAI has quotas that could fail silently.