Skip to main content
Glama

upscale_image

Destructive

Upscale an image asset. Spends credits. Renders a live view that polls itself until the upscaled image is ready. Pick a model with explore_models.

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": {
      "model": "<model>",
      "assetId": "<assetId>"
    },
    "name": "upscale_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes
factorNo
assetIdYes
faceEnhancementNo

Output Schema

NameRequiredDescriptionDefault
generationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations it discloses two non-obvious traits: the call consumes credits and it renders a live view that self-polls until the result is ready, which changes how an agent should wait for completion. It does not explain what the destructiveHint actually implies (e.g. whether an existing asset is replaced or a new one is created), leaving a gap given openWorldHint=true and destructiveHint=true.

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?

Four short sentences, no filler, with the purpose front-loaded and the cost and polling warnings immediately after. Every sentence carries distinct information.

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 output schema means return values need no explanation, and the cost and async polling behavior are covered. However, for a destructive, credit-spending tool with zero schema coverage and an ambiguous mixed-type enum, the missing parameter guidance leaves an agent under-informed to call it safely.

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

Parameters1/5

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

Schema description coverage is 0% across four parameters, so the description must carry the load, but it only addresses model by pointing at explore_models. assetId, faceEnhancement, and especially factor — whose enum mixes "2x/4x/6x" with "1K/2K/4K" — are left entirely unexplained, and nothing indicates defaults or whether optional params are omitted or null.

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?

"Upscale an image asset" gives a specific verb and resource, and the resource noun separates it from upscale_video and generate_image among the siblings. It stops short of explicitly stating the boundary (e.g. that video upscaling lives elsewhere), but an agent can still place it correctly.

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

Usage Guidelines4/5

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

It names a concrete prerequisite step and routes model selection to explore_models, which is a real alternative-tool handoff. It does not state when to prefer upscaling over regenerating with generate_image, so the when-not guidance is absent.

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