Skip to main content
Glama

image-tools-mcp

compress_image_from_url

Compress images directly from a URL using the TinyPNG API, supporting multiple formats like webp, jpeg, and png for optimized file sizes.

Instructions

Compress a single image from URL using TinyPNG API (only supports image files, not folders)

Input Schema

NameRequiredDescriptionDefault
optionsYesOptions for compressing image from URL

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "options": { "additionalProperties": false, "description": "Options for compressing image from URL", "properties": { "imageUrl": { "description": "URL of the image to compress (must be a direct link to an image file)", "type": "string" }, "outputFormat": { "description": "Output format (webp, jpeg/jpg, png)", "enum": [ "webp", "jpeg", "jpg", "png" ], "type": "string" } }, "required": [ "imageUrl" ], "type": "object" } }, "required": [ "options" ], "type": "object" }

You must be authenticated.

Other Tools from image-tools-mcp

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kshern/image-tools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server