Skip to main content
Glama

upscale_image

Upscale images using AI models for enhanced resolution. Supports multiple content types and scaling factors up to 4x.

Instructions

Upscale an image using AI models

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoUpscaling model to useultrasharp
image_pathYesPath to the image file to upscale
content_typeNoContent type for auto model selectiongeneral
scale_factorNoAdditional scaling factor (1.0 = model native, usually 4x)
Behavior2/5

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

The description is minimal and does not disclose any behavioral traits beyond the basic operation. There are no annotations, so the agent has no information about side effects (e.g., whether the original image is modified, what happens on failure). This is inadequate for a tool with 4 parameters.

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?

The description is extremely concise at 5 words, with no wasted sentences. However, it may be too minimal; a bit more detail could improve utility without sacrificing conciseness. Structure is front-loaded but sparse.

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?

Given the complexity of 4 parameters (including enum and scale factor) and no output schema, the description is incomplete. It does not explain what the tool returns (e.g., path to upscaled image) or any important context like supported image formats or resolution limits. The agent lacks key information to invoke the tool correctly.

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 description coverage is 100%, so each parameter is already documented. The description adds no extra parameter-specific information beyond the schema. Baseline score of 3 is appropriate; the description provides no additional value to parameter understanding.

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?

The description clearly states the tool's function: upscaling an image using AI models. However, it does not differentiate from sibling tools like generate_image or remove_background, which could be confused with upscaling. The purpose is clear but lacks distinctiveness.

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 guidance on when to use this tool versus alternatives like check_models or generate_image. There is no mention of prerequisites (e.g., file format, size limits) or when not to use it. The usage context is entirely implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dhofheinz/mcp-comfyui-flux'

If you have feedback or need assistance with the MCP directory API, please join our Discord server