Skip to main content
Glama

PennyCompute

Upscale an image

upscale_image

Real-ESRGAN x4plus outputs PNG at 4× source width and height. $0.001 per image. Failed jobs are free.

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": {
      "input_url": "<input_url>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "upscale_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
priorityNonormal
input_urlYes
output_uploadNo
idempotency_keyYes
client_referenceNo
max_output_bytesNo
max_wait_secondsNo
webhook_endpoint_idNo

Output Schema

NameRequiredDescriptionDefault
idYes
resultNo
statusYes
priorityNo
created_atNo
service_idYes
started_atNo
updated_atNo
output_fileNo
completed_atNo
failure_codeNo
failure_messageNo
output_deliveryNo
client_referenceNo
charged_fee_microsNo
outstanding_microsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description bears the full burden, and it does add real value by disclosing cost ($0.001 per image) and failure policy (failed jobs are free), plus the deterministic output format and scale. It says nothing, however, about async job semantics, whether a result must be fetched via get_job_status/get_job_result, timeout behavior, or idempotency implications — all essential for a job-submitting tool.

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?

Three short sentences with no filler, each carrying a distinct fact (model/format, price, failure policy). The ordering is slightly off — it leads with output format rather than what the tool does — but nothing is wasted.

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

Completeness2/5

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

An eight-parameter tool with a nested object, no annotations, and zero schema descriptions is complex, and the description covers only output format and billing. The presence of an output schema excuses it from explaining return values, but the execution model (async submission plus polling) and the parameters an agent must supply are left entirely undocumented.

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

Parameters1/5

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

Schema description coverage is 0% across eight parameters including a nested output_upload object, yet the description explains none of them — not input_url, not the required idempotency_key, not priority's normal/batch distinction, not max_wait_seconds or webhook_endpoint_id. The only schema-adjacent hint is the implied PNG output, which is already implied by the output schema.

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

Purpose3/5

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

The description never states the verb 'upscale'; it relies on the model name 'Real-ESRGAN x4plus' and the note that it outputs at '4× source width and height' to imply the operation. A reader can infer it upscales an image, but nothing distinguishes it from siblings like generate_image or remove_background, and the title carries the actual purpose statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no mention of prerequisites for the source image, no comparison to generate_image or other job-submitting siblings, and no statement about batch vs synchronous use. Only pricing and failure policy are given, which do not help an agent choose this tool over alternatives.

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