Skip to main content
Glama

Qiniu MCP Server

Official
by qiniu

image_scale_by_percent

Resize images stored in Qiniu Cloud Buckets by a specified percentage, generating a direct object_url for retrieval or viewing. Supports formats like jpeg, png, gif, and more, with clear size constraints.

Instructions

Image scaling tool that resizes images based on a percentage and returns information about the scaled image. The information includes the object_url of the scaled image, which users can directly use for HTTP GET requests to retrieve the image content or open in a browser to view the file. The image must be stored in a Qiniu Cloud Bucket. Supported original image formats: psd, jpeg, png, gif, webp, tiff, bmp, avif, heic. Image width and height cannot exceed 30,000 pixels, and total pixels cannot exceed 150 million.

Input Schema

NameRequiredDescriptionDefault
object_urlYesThe URL of the image. This can be a URL obtained via the GetObjectURL tool or a URL generated by other Fop tools. Length Constraints: Minimum length of 1.
percentYesScaling percentage, range [1,999]. For example: 90 means the image width and height are reduced to 90% of the original; 200 means the width and height are enlarged to 200% of the original.

Input Schema (JSON Schema)

{ "properties": { "object_url": { "description": "The URL of the image. This can be a URL obtained via the GetObjectURL tool or a URL generated by other Fop tools. Length Constraints: Minimum length of 1.", "type": "string" }, "percent": { "description": "Scaling percentage, range [1,999]. For example: 90 means the image width and height are reduced to 90% of the original; 200 means the width and height are enlarged to 200% of the original.", "maximum": 999, "minimum": 1, "type": "integer" } }, "required": [ "object_url", "percent" ], "type": "object" }
Install Server

Other Tools from Qiniu MCP Server

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/qiniu/qiniu-mcp-server'

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