{"spec_version":"2026.1","name":"Al Machino's Image Tools","description":"Deterministic MCP image resizing and metadata service by al-machino.base.eth","protocols":["a2a","mcp"],"health_check":"/health","constraints":{"max_image_size_bytes":20971520,"fetch_timeout_seconds":5,"allowed_schemes":["http","https"],"blocked_ips":"private/internal"},"capabilities":["image/resize","format/webp","format/jpeg","format/png","image/identify","agent/feedback","storage/transient","image/upload"],"endpoints":{"/resize":{"method":"GET","description":"Deterministic image resizing. Only downsizing is supported.","params":{"url":{"type":"string","description":"Source image URL (e.g., https://example.com/image.jpg)"},"image_id":{"type":"string","description":"Transient image ID returned from the /upload tool"},"width":{"type":"integer","description":"Target width in pixels (1-4096)"},"height":{"type":"integer","description":"Target height in pixels (1-4096)"},"format":{"type":"string","description":"Output format","enum":["WEBP","JPEG","PNG"],"default":"WEBP"},"quality":{"type":"integer","description":"Image quality (50-100, default 85)","default":85},"crop_to_aspect":{"type":"boolean","description":"If true, center-crops the image to match target aspect ratio before resizing","default":false}},"pricing":{"amount":"0.002","asset":"USDC","chain":"base"}},"/identify":{"method":"GET","description":"Extracts format, mode, dimensions, and EXIF metadata from an image.","params":{"url":{"type":"string","description":"Source image URL to identify"},"image_id":{"type":"string","description":"Transient image ID from the /upload tool"}},"pricing":{"amount":"0.001","asset":"USDC","chain":"base"}},"/feature-request":{"method":"POST","description":"Submit a feature request. Free but throttled to 1 request per agent per 24h.","params":["description"],"pricing":{"amount":"0.000","asset":"USDC","chain":"base"}},"/upload":{"method":"POST","description":"Stages an image for processing. Returns an image_id valid for 1 hour.","params":{"file":{"type":"string","description":"Binary image file (Multipart upload)"},"base64_data":{"type":"string","description":"Base64 encoded image string (Alternative to file upload)"}},"pricing":{"amount":"0.001","asset":"USDC","chain":"base"}}},"quota":{"free_requests":9,"identifier_header":"X-AGENT-ID"},"owner":"did:ethr:0x36b116EB4B9Dc3A6d67084B8601C30e217b79d06","payment_config":{"receiver_address":"0x36b116EB4B9Dc3A6d67084B8601C30e217b79d06","chain_id":8453},"billing":{"settlement_type":"push","settlement_id":"0x36b116EB4B9Dc3A6d67084B8601C30e217b79d06"}}