Skip to main content
Glama

Upscale image

upscale_image

Enlarge an image to 2x, 3x or 4x its size and sharpen its detail — the step before printing something or using it as a hero image. Point at the source with job_id (one this connector made earlier), image_url, or product_url. Returns the upscaled image in the conversation in under a minute for most images. Spends a few Masonry credits; list_models shows the upscaler's exact price.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upscale_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional image-upscale model key (see list_models). Defaults to crystal-upscaler.
scaleNoUpscale factor: 2x, 3x, or 4x. Default 2x.
job_idNojob_id of a previous image generation to upscale. Provide this OR image_url.
image_urlNoPublic https URL (or masonry:// reference) of an image to upscale. Provide this OR job_id.
product_urlNoHttps product/page URL. Masonry extracts a real product image from the page and upscales it. Provide this, job_id, or image_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the safety profile; the description adds the substantive behavior: it spends Masonry credits, points to list_models for exact cost, returns the image directly in the conversation, and typically completes in under a minute. These cost, latency, and return-format disclosures are exactly what annotations cannot convey, and nothing conflicts with readOnlyHint=false.

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 sentences ordered by importance: what it does, how to point at input, what comes back and how fast, what it costs. No filler, no repetition of title or annotations, and the action is front-loaded.

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

Completeness5/5

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

With no output schema, the description still covers the return ('the upscaled image in the conversation'), latency, credit cost, all three input routes, and the recommendation to check list_models. Nothing essential for correct invocation is missing for a five-parameter, all-optional tool.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline is already 3, and the description goes further by framing job_id, image_url, and product_url as a mutually exclusive three-way source choice and clarifying job_id provenance ('one this connector made earlier'). It also signals the model/price relationship by routing the reader to list_models for the upscaler key.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — enlarge an image to 2x/3x/4x and sharpen detail — which is inherently distinguishable from generate_image, remix_image, and animate_image. It also names the downstream intent (printing, hero image), so an agent knows exactly which sibling operation this is.

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?

Gives a clear when-to-use trigger ('the step before printing something or using it as a hero image') and enumerates the three ways to supply a source, including the provenance constraint that job_id must be one this connector made. It does not state when NOT to use it or contrast with edit/remix alternatives, so it stops short of a 5.

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