Skip to main content
Glama

upscale_image

Increase an existing image's resolution with SeedVR2 by setting the target short-edge size, then save the result to an output directory.

Instructions

Upscale an existing image with SeedVR2.

resolution sets the target short edge in pixels, not the long one: mflux scales by resolution / min(width, height). For a 1024x640 image, resolution=1500 gives 2400x1500. Roughly 130s on an M3 Max.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image_path": "<image_path>",
      "out_dir": "<out_dir>"
    },
    "name": "upscale_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
stemNoupscaled
out_dirYes
projectNo
image_pathYes
resolutionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.3

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With zero annotations the description carries the full burden, and it does meaningful work: it discloses the latency (~130s on an M3 Max) and the non-obvious scaling math, which an agent needs to set expectations and pick a resolution. Gaps remain on file-overwrite behavior in out_dir and what happens on failure, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the operation, followed by the one subtle parameter and a concrete example. The formula and the example each earn their space; nothing is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter file-mutating tool with no annotations, no output schema, and 0% schema coverage, the description covers the tricky resolution semantics and runtime but not output location/naming conventions or the remaining parameters. Adequate but visibly incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It thoroughly explains the single hardest parameter — resolution is the short edge, with the formula and a worked 1024x640 → 2400x1500 example — but leaves image_path, out_dir, stem, and project entirely unexplained beyond their titles.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'Upscale an existing image with SeedVR2.' The word 'existing' implicitly separates it from generate_image, but it never names a sibling explicitly, so it lands just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Use is only implied — the phrase 'existing image' suggests this is the path for already-created files rather than generation, but there is no explicit when-to-use or when-not statement and no alternative is named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.