Skip to main content
Glama

imgfactory

img_resize_w1024

Use when Resize image to 1024px: scale down image, shrink, preview size, long edge 1024. image -> image/png. 0.005 USDC per call (prepaid credit or x402 signature).

Input Schema

NameRequiredDescriptionDefault
urlNohttp(s) URL of the image (server fetches it)
dataNodata: URL
base64Noraw base64 of the image bytes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real value: output MIME (image/png), a per-call price of 0.005 USDC, and payment mechanics (prepaid credit or x402 signature). It still omits whether aspect ratio is preserved, what happens to images already smaller than 1024px (upscale or reject), and whether the response is binary data or a URL.

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

Conciseness3/5

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

Short and front-loaded, but the synonym pile ('scale down image, shrink, preview size') is keyword padding that dilutes the single actionable fact. The payment clause and the malformed 'Use when ...' prefix make it read as stitched fragments rather than a front-loaded statement.

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

Completeness4/5

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

For a simple fixed-target resize with 3 fully documented schema inputs and no output schema, the definition covers cost, payment path, and output format, which is close to sufficient. It lacks only aspect-ratio/upscale behavior and the shape of the returned image.

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%, so the url/data/base64 alternatives are already documented in the schema and the description adds nothing about them. The only semantic gain is that the 1024px target is fixed and not a parameter, which is implied rather than explained.

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 result (resize image to 1024px, long edge 1024) plus the output type (image/png), which is enough to separate it from img_resize_w512 by target dimension. The phrasing is garbled ('Use when Resize image to 1024px:') and never names the sibling it contrasts with, 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 Guidelines3/5

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

The 'Use when ... scale down image, shrink, preview size' clause implies a trigger context (a preview-size downscale), but there is no explicit when-not guidance and no routing to img_resize_w512 or the convert/thumbnail siblings. Usage is inferable rather than stated.

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