MCP server for generating images via laozhang.ai Gemini 3 Pro API
Three tools with complete schemas and descriptions, but significant gaps in parameter documentation and error handling. generate_image and generate_multiple have good descriptions (100+ chars) and detailed parameter schemas with enums and defaults. However, descriptions lack WHEN-to-use context and recovery guidance. list_generated_images has minimal description (8 words, 47 chars) and no output schema documentation. Parameter descriptions are present but inconsistent in depth, diversity parameter is well-documented (95 chars), but aspect_ratio and size descriptions repeat enum values rather than explaining constraints. No tool includes error recovery guidance or categorization. Output format is free-text string rather than structured JSON, forcing LLM parsing. Missing tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels.
Generate a single image from a text prompt.
Generate multiple images from the same prompt. Useful for exploring different interpretations of your idea.
List all previously generated images in the AI graphics folder.
list_generated_images has minimal description (47 chars, 8 words), below 10-word minimum. No output schema documented. LLM cannot infer what fields are returned or when to call this tool vs. alternatives.
All tools return free-text string responses instead of structured JSON. LLM must parse unstructured output, wasting tokens and increasing hallucination risk. No documented output schema for any tool.
Error handling returns plain error strings with no recovery guidance. 'Error generating image: {e.message}' tells LLM nothing about retry eligibility, user-fixable vs. fatal, or next steps. Missing error classification pattern.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | 2026-07-28+ | v2 |
No tool annotations present. generate_image and generate_multiple are destructive (WRITE risk) but lack destructiveHint. list_generated_images is read-only but lacks readOnlyHint. Agents cannot infer safety properties.
Parameter descriptions for aspect_ratio and size repeat enum values ('Options: 1:1, 16:9...') instead of explaining constraints or use cases. Diversity parameter is well-documented; inconsistent quality across params.