Skip to main content
Glama

upscale_image

Idempotent

Super-resolution using Real-ESRGAN on NVIDIA L4 GPU. 5 models for different content types. Default: 2x general upscale. ($0.20 / 2 GCX)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageYesBase64-encoded PNG/JPEG image
modelNoESRGAN model to use. Options: 'realesrgan_x2plus' (2x, general — default), 'realesrgan_x4plus' (4x, general/photo), 'realesrgan_x4plus_anime' (4x, anime/illustrations), 'realesr_general_x4v3' (4x, fast general), 'realesr_animevideov3' (4x, anime video frames).realesrgan_x2plus
scaleNoShorthand: 2 selects x2plus, 4 selects x4plus. Ignored if model is specified directly.

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already indicate non-read-only, non-destructive, idempotent, and open-world. The description adds significant behavioral context: specific GPU hardware (L4), a cost of $0.20 per 2 GCX, and that five models are available. These details help the agent understand resource usage and constraints beyond what annotations provide.

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?

Extremely concise: two sentences covering purpose, models, default, and cost. Every sentence adds value. However, it could be slightly more structured (e.g., bullet points for model options) to improve scanability.

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?

Covers core functionality, models, default, and cost. Missing details: output format (assumes upscaled image), input size limits, explanation of 'GCX' credits, and behavior on failure. For a tool with no output schema and 3 parameters, this is adequate but not fully comprehensive.

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

Parameters3/5

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

Schema coverage is 100% with detailed parameter descriptions, especially for the 'model' enum listing all options and defaults. The description adds 'Default: 2x general upscale' and mentions content types, but this largely repeats schema info. No additional syntax or constraints beyond schema.

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?

The description clearly states the tool does super-resolution using Real-ESRGAN on an NVIDIA L4 GPU, lists 5 models for different content types, and specifies the default behavior (2x general upscale). This distinguishes it from sibling tools like resize_image which likely only resamples without AI enhancement.

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?

No explicit guidance on when to use this tool vs alternatives like resize_image or other upscaling tools. The description implies it's for quality upscaling but does not mention when not to use it, prerequisites, or alternative tools. An agent would need to infer usage from context.

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.

TDQS

A3.7/5.0
Disambiguation5/5

Each tool targets a distinct operation—artwork retrieval, image processing, asset management, watermarking, etc.—with clear descriptions that prevent confusion. Even similar tools like enrich_metadata and get_artwork_oracle are differentiated by depth and purpose.

Naming Consistency5/5

Tool names follow a consistent verb_noun pattern in snake_case (e.g., get_artwork, remove_background, register_hash). The few non-verb-starting names (compliance_manifest) are standard and do not break the overall pattern.

Tool Count4/5

27 tools is slightly above the typical range but justifiable given the broad domain covering artwork access, image processing, and digital rights. Each tool serves a unique purpose without redundancy.

Completeness5/5

The tool set covers the full lifecycle: search, retrieve, analyze, edit, save, and verify assets. Gaps are minimal—e.g., no metadata deletion tool—but the core workflows are fully supported, and the inclusion of compliance and provenance tools adds value.