Skip to main content
Glama

Upscale image

upscale_image

Raise an image to 2K, 4K or 8K. Consumes the user's FreeLLM credits; confirm with the user before calling. Failed jobs are free. Returns a task_id immediately; call get_task with it every 15-30 seconds until status is success or failed.

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

Input Schema

NameRequiredDescriptionDefault
image_urlYes
target_resolutionNo4k

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the cost model (consumes credits, failed jobs are free), the asynchronous nature (returns a task_id immediately), and the exact polling cadence with a terminal condition. That is precisely the extra context annotations cannot convey, and nothing conflicts with readOnlyHint=false or destructiveHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and resolution options, then cost, then the async handoff. Every sentence carries operational value; the only minor looseness is that the resolution list duplicates the schema enum.

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?

For a paid, asynchronous, non-idempotent job tool with no output schema, the description covers the full call lifecycle: cost and confirmation, immediate task_id return, polling interval, and terminal states. An agent has enough to invoke and follow up correctly without further documentation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, but it only echoes the resolution enum already present in the schema ('2K, 4K or 8K'). The required image_url — its accepted URI form, whether it must be publicly reachable, size or format limits — is never clarified, leaving the most important parameter undefined.

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 ('Raise an image to 2K, 4K or 8K') with the output resolutions enumerated, so an agent knows exactly what the operation produces. It does not explicitly differentiate itself from edit_image or create_image, which are the closest siblings, so it falls short of 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 Guidelines4/5

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

Gives a clear precondition ('confirm with the user before calling' because credits are consumed) and an explicit follow-up protocol (poll get_task every 15-30 seconds until success or failed). It does not name alternatives or say when to prefer a plain re-generation over an upscale, so it stops short of full when/when-not guidance.

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