Skip to main content
Glama

Edit Image

edit_image

Change one of the user's own HalalGen pictures with words, like the web Image Editor: 'make the sky a warm sunset', 'put the bottle on a marble table'. Pass the picture as image_id or a HalalGen link (other sites are refused) and the change as prompt. No human faces. Default model WanPro on paid plans, CF_Flux2Dev on the free plan. Priced like one image of that model.

Input Schema

NameRequiredDescriptionDefault
modelNoEdit model: WanPro (best, paid), Qwen2Pro (fast, paid), Seedream40 (artistic, paid), CF_Flux2Dev (detailed, free plan too), CF_Flux2Klein (fast draft, free plan too).
promptYesWhat to change in the picture, in plain words. Avoid faces.
image_idNoImage or upload ID from list_generations, search_vault or an earlier tool result.
image_urlNoLink to the user's own picture on HalalGen (https://cdn.halalgen.ai/... or https://api.halalgen.ai/image/...), if you don't have the ID. Other links are refused.
is_privateNoKeep the result private in the user's Vault.
aspect_ratioNoShape of the result. Defaults to the picture's own shape; shapes a model can't make go to the nearest one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnly=false, destructive=false, openWorld=true), so the description is free to add real value: content policy (no faces), source-link restriction, per-plan model defaults, and cost ('priced like one image of that model'). It does not say whether the operation is synchronous or must be polled, which is a notable omission for a mutating generation call.

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-loaded with the core action and examples, then inputs, constraints, defaults and pricing in a tight four-sentence block. Slight redundancy with the schema (the 'other sites are refused' rule is stated twice across description and field docs) keeps it short of perfect.

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?

With no output schema and only one required parameter, the description covers inputs, model defaults, restrictions and cost well enough to call the tool. The remaining gap is the return contract — what identifier comes back and whether a status check is needed — which matters for a non-idempotent generation call.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not carry: the default model depends on plan (WanPro paid, CF_Flux2Dev free) and that the image source can be given as an ID or a HalalGen URL. Both are decision-relevant facts absent from the field descriptions.

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 ('Change') on a specific resource (one of the user's own HalalGen pictures) and illustrates with concrete prompt examples, which cleanly distinguishes it from generate_image. The examples make the transformation semantics obvious without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Explains the input paths (image_id or a HalalGen link, other sites refused) and hard constraints (no human faces), which amounts to clear conditions for use. It never explicitly contrasts with generate_image or upscale_image, so an agent must infer that this is for editing existing owned images rather than creating new ones.

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