Skip to main content
Glama

photo_upscaler

Image Upscaler — Enlarge an existing image 2x or 4x with super-resolution detail recovery, with an optional face-enhancement pass. Sharpens and upsizes a user-supplied photo; does not generate new imagery. [category: photo]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesHard 10 MB cap (400 above it). JPG/PNG/WebP/BMP only — no GIF/HEIC. Big images risk the 120s upscale timeout.
modelNofast (default) — ~16s at any scale, softer on very fine texture. quality — best fine detail but 50s at 2x and 245s at 4x on CPU; expect a wait.fast
scaleNoUpscale factor; invalid values silently fall back to 2. With the default fast model 4x costs the same as 2x.
face_enhanceNoRun the additional face-enhancement pass.
output_formatNoOptional output format; defaults to the input format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / output_format / x-ui
      Added value: +{
      +  "unset_label": "Keeps input format"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / model / x-ui
      Added value: +{
      +  "labels": {
      +    "fast": "Fast — about 15 seconds",
      +    "quality": "Best detail — up to 4 minutes"
      +  }
      +}
    • changedInput schema / properties / output_format / enum
      Previous value: -[
      -  "jpg",
      -  "jpeg",
      -  "png",
      -  "webp"
      -]New value: +[
      +  "jpg",
      +  "png",
      +  "webp"
      +]
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations provide no meaningful safety signals since readOnlyHint and destructiveHint are both false, so the description carries the behavioral burden. The description adds useful context: it sharpens and upsizes an existing photo and does not generate new imagery. However, it does not disclose return behavior, whether a new file is produced, or side effects beyond the operation itself.

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?

The description is two sentences with no filler and front-loads the core operation immediately. The second sentence usefully clarifies it transforms an existing image rather than generating a new one. It earns its length and is easy to scan.

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?

The schema covers parameters thoroughly, including timeouts and format constraints, but there is no output schema and the description does not state what the tool returns or how the result is delivered. The tool sits among many related photo tools, and the description does not position it relative to them. For a moderately simple transformation tool, this is adequate but not fully complete.

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 100%, and every parameter already has useful per-parameter explanations, including defaults, timing expectations, and default behaviors like invalid scale silently falling back to 2. The description itself rephrases scale and face_enhance but adds little beyond the schema. The phrase 'super-resolution detail recovery' does add some model-selection context, but it is not enough to raise the score above the baseline.

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 clearly says the tool enlarges an existing image 2x or 4x with super-resolution detail recovery and an optional face-enhancement pass. It is more specific than the tool name and adds useful nuance ('does not generate new imagery'). However, it does not explicitly differentiate from the nearby sibling photo_resize, which may also handle enlargement.

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

Usage Guidelines2/5

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

The description implies use for upscaling existing photos but gives no explicit 'when to use this vs alternatives' guidance. It never mentions photo_resize, photo_editor, or related image tools, nor does it state a condition such as 'use this only when super-resolution detail is needed'. The 'does not generate new imagery' exclusion is helpful but is more about disqualification than active routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources