Skip to main content
Glama

imgfactory

img_resize_w512

Use when Resize image to 512px: shrink image, downscale, thumbnails, dataset norm, long edge 512. 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 does add real value: output type 'image -> image/png' and the billing model ('0.005 USDC per call, prepaid credit or x402 signature') are disclosed, which the schema cannot convey. It omits whether aspect ratio is preserved, what happens to smaller images, size limits, and failure behavior.

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?

It is short and front-loads the trigger, but the lead-in 'Use when Resize image to 512px' is grammatically awkward and reads as concatenated keyword fragments rather than a clean sentence. The trigger keywords are useful but dense.

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 single-purpose transform with a fully documented 3-param schema and no output schema, the definition covers the trigger, output format, and cost model – the pieces an agent most needs. The only real gap is resize behavior (aspect ratio, upscale handling), which is secondary.

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%, and each of url/data/base64 is documented in the schema itself, so the baseline of 3 applies. The description adds no input-format guidance (e.g. which of the three inputs is preferred, or fetch restrictions) beyond the structured fields.

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 resource ('Resize image to 512px') and differentiates itself from the w1024 sibling by the explicit size. Minor ambiguity: the name implies width 512 while the description says 'long edge 512', so the exact dimension semantics are not fully pinned down.

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?

Offers trigger keywords ('shrink image, downscale, thumbnails, dataset norm, long edge 512') that imply when to reach for it, which is more than nothing. However there are no exclusions and no explicit routing against sibling resize tools – an agent must infer the choice from the size token alone.

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