Skip to main content
Glama

UiChemy AI Website Creator

uichemy_crop_image

Destructive

Crop a picture to a shape, and/or shrink it — as a NEW file, which is then put in the slot. This is the change that survives: sections export to static HTML, so a crop that exists only as CSS on our own markup ships uncropped. focus decides which part survives the crop — the focal point — and maxWidth is how you stop a 4000px photograph being downloaded by every visitor to fill a 400px card. The original is untouched and still in storage, so a second crop can start from it rather than compounding.

Input Schema

NameRequiredDescriptionDefault
urlNoThe picture to crop. Defaults to whatever is in the slot now.
slotYesThe image slot to put the result in.
focusNoWhich part to keep. Default centre.
ratioNo
maxWidthNoLongest edge in pixels.
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint=false, destructiveHint=true, openWorldHint=true), so the bar is lower, yet the description still adds real context: it creates a new file, the source is left untouched in storage, and repeated crops do not compound. It does not address permissions or rate limits, but the behavioral picture is stronger than annotations alone.

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-loads the core action and result before justifying it. Four sentences is on the longer side, and the export-survival sentence is more rationale than instruction, but each sentence carries useful information rather than restating the name.

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?

No output schema exists, so the description must convey return behavior; it does so by stating the result is a new file placed in the slot. Combined with the originality note and parameter rationale, an agent has enough to invoke it correctly, though explicit sibling routing is absent.

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?

With 67% schema coverage, the schema documents most parameters, but the description adds genuine meaning for the ambiguous ones: `focus` as the surviving focal point and `maxWidth` as the guard against a 4000px photo filling a 400px card. It leaves `ratio` and `url` to the schema, which is acceptable.

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 ('Crop a picture to a shape, and/or shrink it'), immediately clarifying the result is a NEW file placed in the slot. This distinguishes it from siblings like edit_image_masked, set_image_display, and upload_image, which do not produce a cropped derivative file.

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?

Explains why cropping matters ('sections export to static HTML, so a crop that exists only as CSS ships uncropped'), which implies when to use it. However, it never names or excludes alternatives (e.g. edit_image_masked, set_image_display) or states prerequisites, leaving the agent to infer routing.

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