Skip to main content
Glama

500Toolbox

AI Image Upscale

image-upscale
Read-onlyIdempotent

Downloads a PNG, JPEG, WebP or BMP from a public URL and upscales it on the media worker. Factor 2 is the default; factor 4 costs the same credits but takes longer and rejects larger source files. Costs 30 credits per call.

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": {
      "fileUrl": "<fileUrl>"
    },
    "name": "image-upscale"
  }
}

Input Schema

NameRequiredDescriptionDefault
factorNoUpscale factor. 2 or 4. Defaults to 2.
fileUrlYesPublicly reachable URL of the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: processing happens on a media worker, cost is a flat 30 credits per call, factor 4 has equal cost but higher latency and a tighter file-size ceiling. Only the response payload (e.g., where the upscaled image lands) is left unstated.

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, no filler, and the most decision-relevant facts (what it does, format support, default factor, cost) are front-loaded.

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?

With no output schema, the description carries the burden of explaining what comes back, and it doesn't — the agent cannot tell whether it receives a URL, binary data, or a job reference for the upscaled image. Everything else needed to invoke it correctly (formats, cost, factor tradeoffs, URL must be public) is present.

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 100%, so 3 would be the baseline, but the description adds real meaning beyond the schema: the tradeoff between factor 2 and 4 in cost, processing time, and source-size limits — information the enum-like min/max in the schema cannot convey.

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 (downloads and upscales) plus the resource (an image fetched from a public URL) and enumerates the accepted formats (PNG, JPEG, WebP, BMP). It is clearly distinguishable from neighbors like watermark-image or remove-background by the operation described, though it does not name a sibling to route against.

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?

Usage is implied rather than stated: the agent can infer this is for enlarging a publicly hosted image, and one constraint is given (factor 4 rejects larger source files). There is no explicit when-to-use versus when-not-to-use guidance and no mention of what to do if the source URL is not public.

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