Low Risk

imageUpscale

Enhance the resolution and quality of images using Runware's advanced upscaling API. Transform low-resolution images into sharp, high-definition visuals. This function enables high-quality image upscaling with support for various input formats and flexible output options. The maximum output size ...

Part of the Mcp Runware server.

imageUpscale is read-only, but an agent in a loop can still rack up calls and cost. PolicyLayer caps every call before it runs. Live in minutes.

SECURE MCP RUNWARE →

Free to start. No card required.

AI agents call imageUpscale to retrieve information from Mcp Runware without modifying any data. This is common in research, monitoring, and reporting workflows where the agent needs context before taking action. Because read operations don't change state, they are generally safe to allow without restrictions -- but you may still want rate limits to control API costs.

Even though imageUpscale only reads data, uncontrolled read access can leak sensitive information or rack up API costs. An agent caught in a retry loop could make thousands of calls per minute. A rate limit gives you a safety net without blocking legitimate use.

Read-only tools are safe to allow by default. No rate limit needed unless you want to control costs.

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "imageUpscale": {}
  }
}

See the full Mcp Runware policy for all 11 tools.

Get this rule live on your own Mcp Runware server in minutes. PolicyLayer enforces it on every call, before it runs.

ENFORCE ON MY MCP RUNWARE →

View all 11 tools →

These attack patterns abuse exactly the kind of access imageUpscale gives an agent. Each links to the full case and the policy that stops it:

Browse the full MCP Attack Database →

Every attack above starts with a tool call. PolicyLayer checks each one against your policy first, so imageUpscale only ever does what you allow.

SECURE MCP RUNWARE →

Other read tools across the catalogue. The same approach applies to each: allow, with a rate cap to control cost.

What does the imageUpscale tool do? +

Enhance the resolution and quality of images using Runware's advanced upscaling API. Transform low-resolution images into sharp, high-definition visuals. This function enables high-quality image upscaling with support for various input formats and flexible output options. The maximum output size is 4096x4096 pixels - larger inputs will be automatically resized to maintain this limit. IMPORTANT: For inputImage, only accept: 1. Publicly available URLs (e.g., "https://example.com/image.jpg") 2. File paths that can be processed by imageUpload tool first 3. Runware UUIDs from previously uploaded images Workflow: If user provides a local file path, first use imageUpload to get a Runware UUID, then use that UUID here. Args: inputImage (str): Image to upscale. ACCEPTS ONLY: Public URLs, Runware UUIDs, or file paths (use imageUpload first to get UUID). Supported formats: PNG, JPG, WEBP upscaleFactor (int): Level of upscaling (2-4). Each level multiplies image size by that factor.For example, factor 2 doubles the image size. (default: 2) outputType (str, optional): Output format ('URL', 'dataURI', 'base64Data', default: 'URL') outputFormat (str, optional): Image format ('JPG', 'PNG', 'WEBP', default: 'JPG'). Note: PNG required for transparency. outputQuality (int, optional): Output image quality (20-99, default: 95) includeCost (bool, optional): Include generation cost in response taskUUID (UUID, optional): Unique task identifier Returns: dict: A dictionary containing the upscaling result with status, message, result data, parameters, and both image data for direct display and URLs. Note: Maximum output size is 4096x4096. If input size * upscaleFactor would exceed this, the input is automatically resized first. Example: 2048x2048 with factor 4 is reduced to 1024x1024 before upscaling.. It is categorised as a Read tool in the Mcp Runware MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on imageUpscale? +

Register the Mcp Runware MCP server in PolicyLayer and add a rule for imageUpscale: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Runware. Nothing to install.

What risk level is imageUpscale? +

imageUpscale is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit imageUpscale? +

Yes. Add a rate_limit block to the imageUpscale rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block imageUpscale completely? +

Set action: deny in the PolicyLayer policy for imageUpscale. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides imageUpscale? +

imageUpscale is provided by the Mcp Runware MCP server (elijahdev0/mcp-runware). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Mcp Runware tool call.

Deterministic rules across all 11 Mcp Runware tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Free to start. No card required.

4,600+ MCP servers and 31,000+ tools scanned and risk-classified.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.