MCP server for Ollama integration with Google ADK, providing tools for chat, image generation, multimodal analysis, streaming, and tool calling with local Ollama models
Single tool 'generate_image' has a complete input schema with proper types and descriptions, meeting baseline requirements. However, the tool lacks critical production-grade patterns: no output schema documentation, no error handling guidance, no idempotency markers, and no pagination/result limits despite file I/O risk. Description is adequate (127 chars) but generic. Parameter descriptions are present but lack format constraints (e.g., size format 'WxH' is mentioned but not enforced). The tool performs a destructive write operation (saves file) but has no confirmation pattern or dry-run capability. Missing tool annotations (destructiveHint) that would signal risk to agents.
Generates an image from a text prompt using Ollama's local image generation capabilities, and saves it as an artifact.
No output schema documented. Tool returns image artifact but LLM cannot infer response structure, file path, or success indicators. Breaks tool chaining and forces agent to guess what fields are available.
Destructive write operation (file_name parameter) lacks confirmation pattern or dry-run capability. Agent could overwrite files without safeguard. Missing destructiveHint annotation.
No error handling guidance. Tool can fail (invalid prompt, Ollama unavailable, disk full, invalid size format) but provides no recovery hints. LLM cannot self-correct or retry intelligently.
Parameter 'size' lacks format constraint. Description says 'WxH' but no regex pattern, enum, or validation. LLM may pass '1024', 'large', or '1024x1024x3', all invalid.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2026-07-28+ | v2 |
No idempotency marker. Repeated calls with same prompt and file_name will overwrite the file. Tool should declare idempotentHint=false or support idempotent mode (e.g., append timestamp to filename).