Skip to main content
Glama

Recommend an image upscale

recommend_upscale
Read-onlyIdempotent

Look at an image or a video and recommend how to upscale it. Pass imageUrl for an image, or videoUrl for a video. Pass a public URL, a URL from create_upload, or (small images only, under about 2.25 MB) a base64 data URI. Measures how much real detail the file holds (a stretched or softly captured file holds less than its size) and names its content and damage, then returns two picks: faithful (keeps it as it is) and detail (lets the model redraw fine detail). Each pick has the model, the exact settings to pass to upscale_image or upscale_video (for video including durationSeconds, width and height, read from the clip), the output size and the price in credits. Free to call. Use it before upscaling when unsure which model fits, or pass model auto to upscale_image or upscale_video to run the faithful pick directly.

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": "recommend_upscale"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageUrlNoThe image to look at.
videoUrlNoThe video to look at.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered; the description contributes cost ('Free to call'), the analytical behavior ('Measures how much real detail the file holds... names its content and damage'), and the shape of the response. It stops short of stating rate limits or what happens if both or neither URL is supplied, which is the only remaining behavioral gap.

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?

Front-loaded with the core action, then accepted inputs, then output shape, then routing — a logical order with no filler. The middle sentences are long and densely packed, which slightly hurts scannability, but nearly every clause carries call-relevant information.

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 carries the full burden of describing the return value, and it does so precisely: two picks (faithful and detail), each with model, exact settings for the downstream tool, output size, and credit price, including video-specific fields. Nothing material is missing for an agent to call this correctly and chain its result.

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% but the schema descriptions are minimal ('The image to look at'), so the description genuinely adds meaning: which parameter selects image vs video, accepted URL forms (public URL, create_upload URL, base64 data URI), and the ~2.25 MB base64 size limit. It does not clarify what happens when both are omitted, since zero parameters are marked required.

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 ('Look at an image or a video and recommend how to upscale it') and implicitly distinguishes itself from the sibling upscale_image/upscale_video tools, which it names later as the execution path. An agent can immediately tell this is a recommendation-only tool rather than the upscaler itself.

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

Usage Guidelines5/5

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

Gives explicit routing: 'Use it before upscaling when unsure which model fits, or pass model auto to upscale_image or upscale_video to run the faithful pick directly.' It also states 'Free to call,' removing cost hesitation, and describes the two entry paths (image vs video) that select between parameters.

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