MCP server for generating images using the Flux model on Replicate
Single tool 'gen_image' has a reasonable description (194 chars) and basic parameter documentation, but critical gaps prevent higher scoring. Input schema is present with type definitions and descriptions for both parameters. However, the tool lacks output schema documentation, the return type is described in the docstring as 'str: Path to the generated image' but no structured output schema is defined. No error handling guidance, no parameter constraints (e.g., valid path formats), and no recovery instructions. The tool performs a destructive write operation (saves file to disk) but lacks any confirmation pattern or dry-run capability. Parameter descriptions are minimal (under 72 chars baseline). No tool annotations (destructiveHint, idempotentHint) despite the write risk. The tool is directly visible in source code (step2_image_mcp.py), so no inference penalty applies.
Generate an image using the Flux model on Replicate. Args: prompt (str): The text prompt to generate the image from output_full_path (str): Full path where the generated image will be saved Returns: str: Path to the generated image
No output schema documented. Tool returns a string, but LLMs need structured output schema to plan downstream operations and extract data reliably.
Destructive write operation lacks confirmation or dry-run pattern. Tool saves files to disk but provides no way for agents to preview or confirm before execution, risking accidental overwrites.
No error handling guidance. Tool raises generic exceptions ('Failed to download image', 'No image URL returned') without actionable recovery steps for the LLM.
Missing tool annotations. Tool performs a destructive write but lacks destructiveHint annotation to signal to agents that this operation has irreversible consequences.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 50 | <=2025-11-25 | v2 |
Parameter 'output_full_path' lacks format constraints. No validation guidance on valid path formats, length limits, or character restrictions. LLMs may pass invalid paths.