Skip to main content
Glama

Upscale an image

upscale_image

Use to enlarge an image and sharpen detail. quality fast: 4x, 2 credits; best: 2x with AI-added detail, 80 credits (good for faces and products). Returns the larger image in the library.

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
imageYesAn image url (upload, library or link) or a library asset id.
promptNobest only: what the image shows, to guide added detail.
qualityNofast

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare openWorldHint=true, non-idempotent, non-destructive but say nothing about cost. The description adds the paid-credit profile per mode and the fact that 'best' uses AI-added detail, which is behavior an agent could not infer from annotations. It does not disclose failure/refund behavior or async timing, so the picture is useful but incomplete.

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?

Two sentences, front-loaded with the purpose, then the cost/quality tradeoff, then the return value. The telegraphic 'fast: 4x, 2 credits' phrasing is dense rather than wasteful — every clause carries actionable information.

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

Completeness4/5

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

With three parameters, one enum, and no output schema, the description covers cost, mode tradeoffs, prompt applicability, and where the result lands. Remaining gaps — error handling, credit-charging on failure, and latency — are modest for a simple transformation tool.

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

Parameters4/5

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

Schema coverage is 67%, and the description compensates well: it maps the 'quality' enum values to concrete meanings (4x simple vs 2x with AI detail) and their credit prices, and reinforces that 'prompt' applies only to 'best'. The 'image' parameter's accepted forms stay in the schema and are not restated.

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 concrete verb and resource — 'enlarge an image and sharpen detail' — and states what it returns ('the larger image in the library'). It is clearly distinguishable from siblings like generate_image or remove_background, though it never names an alternative explicitly.

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 gives real decision criteria: 'quality fast: 4x, 2 credits; best: 2x with AI-added detail, 80 credits (good for faces and products)'. That tells an agent which mode fits which content and at what cost, but there is no statement of when NOT to use this tool or which sibling to pick instead.

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.