Skip to main content
Glama

AirGallery

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)
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. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does usefully disclose the credit cost (3 credits) and that the result is returned as { image }, which is real value. It omits prerequisites, expected latency, whether upscaling is lossless or how the 12 models behave, so the mutation/cost profile is only partly covered.

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 action, followed by return shape and cost. No filler or repeated schema content beyond a brief scale restatement.

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 an 8-parameter image tool with no annotations and no output schema, the description covers what the tool does, what it returns, and what it costs. It leaves out guidance on choosing a Topaz model and on when this beats sibling enhancement tools, which are the main decision points for an agent.

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 coverage is 100%, so every parameter already has a description and baseline 3 applies. The description restates only the scale range (1–6x), adding nothing about model selection among the 12 enum options or the interplay of denoise/sharpen/faceEnhancement.

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 ('Upscale'), resource ('an image'), the backing engine (Topaz Gigapixel AI) and a 1–6x range. It is clear what the tool does, but it never distinguishes itself from near-siblings like enhance_image or ai_expand.

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?

The scale range implies the use case (enlargement rather than stylistic enhancement), but there is no explicit when-to-use or when-not-to-use guidance and no named alternative for tasks that overlap with enhance_image or ai_expand.

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