Skip to main content
Glama

upscale_image

Upscale an image 1–6x with Topaz Gigapixel AI. Returns { image }. Cost: 3 credits.

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": "<image>"
    },
    "name": "upscale_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesImage as a base64 data URI (data:image/png;base64,…) or an HTTPS image URL
modelNoTopaz model (default Standard V2)
scaleNoUpscale factor from 1 to 6 (default 2)
denoiseNoDenoise amount 0–1 (default 0)
sharpenNoSharpen amount 0–1 (default 0)
outputWidthNoExact output width in pixels (instead of scale; height follows the aspect ratio)
outputHeightNoExact output height in pixels (used when outputWidth isn't set)
fixCompressionNoCompression artifact removal 0–1 (default 0)
faceEnhancementNoEnhance faces (default false)
faceEnhancementStrengthNoFace enhancement strength 0–1 (default 0.5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / outputHeight
      Added value: +{
      +  "description": "Exact output height in pixels (used when outputWidth isn't set)",
      +  "type": "number"
      +}
    • addedInput schema / properties / outputWidth
      Added value: +{
      +  "description": "Exact output width in pixels (instead of scale; height follows the aspect ratio)",
      +  "type": "number"
      +}
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the disclosure burden, but it does add real value: an explicit credit cost (3 credits) and the return shape ({ image }). It says nothing about whether processing is synchronous or how long a 6x upscale takes, whether credits are charged on failure, or any size limits, so a mutation/paid operation remains partly opaque.

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, front-loaded sentences with zero filler: capability first, return value second, cost last. Every sentence conveys information an agent does not get from structured fields alone.

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 ten-parameter paid image operation with no annotations, the definition covers the essentials (what it does, what it returns, what it costs) but leaves out timing, failure/refund behavior, and the practical choice between scale and explicit output dimensions. Adequate to invoke, not complete enough to invoke confidently.

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%, so all ten parameters including the model enum, scale, denoise/sharpen, and outputWidth/outputHeight are already documented in the schema. The description adds no parameter-level meaning beyond restating the 1-6x range, so the baseline 3 applies.

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?

States a specific verb and resource ('Upscale an image'), names the underlying engine (Topaz Gigapixel AI) and the operating range (1-6x), so an agent can immediately tell what the tool does. It does not distinguish itself from close siblings such as enhance_image or ai_expand, which keeps it from 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 Guidelines2/5

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

The description gives no guidance on when to choose this over enhance_image, ai_expand, or aspect_ratio_change, all of which plausibly touch image resizing. An agent must infer selection purely from tool names, and no prerequisites or exclusions are stated.

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