Skip to main content
Glama

Edit image

edit_create
Idempotent

Submit edit work for the authenticated account. Returns an asynchronous request ID. For a sequence of work, prefer batch_submit and hand off the dashboard URL without polling. Use library IDs from assets_list where supported. Rights/privacy acknowledgements must reflect the user’s authorization; never invent consent. Limits remain active through result email delivery. For quality-first image generation or editing, prefer the connected agent’s own image tool when it supports the requested operation, for example ChatGPT image generation and image editing. Check what this client actually exposes, including in Claude. Honor the user’s chosen provider. For anime-style character illustration, HiruAI Image offers WAI Illustrious SDXL v17 when available in image_models_get.

Input Schema

NameRequiredDescriptionDefault
filesNoOptional upload parts (max 20 MiB total). Use audio for Voice, file for Edit/Upscale, image_upload/last_image_upload/voice_upload/music_upload for Video.
uploadsNoPrivate uploaded file references from asset_upload or the web file library. No local paths, URLs or base64 in plans. Set the corresponding source/image/voice/music mode to upload.
instructionYesEditing instruction, 3–2000 characters after whitespace normalization.
source_typeYesChoose upload for file inputs or generated for owned HiruAI results. Do not mix both kinds.
idempotency_keyYesUnique per intended operation. Reuse on network retries.
generated_serviceNoOne service per selected image; omission defaults every image to image. When supplied, length must match generated_request_id and generated_variant.
generated_variantNoVariants aligned by index: image base/nsfw; edit result; upscale upscaled/4k.
acknowledge_rightsYesMust be true only when the user has authorized the stated rights, privacy or safety acknowledgement. Never invent consent.
acknowledge_safetyYesMust be true only when the user has authorized the stated rights, privacy or safety acknowledgement. Never invent consent.
acknowledge_privacyYesMust be true only when the user has authorized the stated rights, privacy or safety acknowledgement. Never invent consent.
generated_request_idNo1–3 owned completed request UUIDs, aligned by index with services and variants. Use bindings for future step outputs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare write/idempotent/non-destructive/non-open-world, and the description adds genuinely non-structured context: the operation is asynchronous and returns a request ID, quota limits stay active through result email delivery, and the three acknowledgement flags require real user authorization with an explicit 'never invent consent' warning. It does not say how to retrieve the result afterwards, which keeps it short of a 5.

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?

The purpose and async behavior are front-loaded, but the tail of the description drifts into provider/capability commentary (ChatGPT, Claude, HiruAI WAI Illustrious SDXL v17) that is tangential to invoking this tool. That material is arguably useful context but is not tightly integrated or scoped.

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

Completeness3/5

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

For an 11-parameter tool with a conditional allOf schema and no output schema, the description covers the async return and consent semantics but says nothing about the 1–3 image limit, the mutual exclusivity of files/uploads vs generated_*, or how to retrieve results (request_get/batch_get). Much of that is in the schema, so it is adequate rather than complete.

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 the schema already documents the upload/generated split, array alignment, idempotency reuse and acknowledgement consts. The description adds only a provenance hint ('Use library IDs from assets_list where supported'), which is useful but thin against the schema's own detail, so the baseline 3 applies.

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 opening states a specific verb and resource — 'Submit edit work for the authenticated account' — and the schema confirms it edits 1–3 images from uploads or owned generated results. It also names a sibling (batch_submit) for sequences. The chain of provider/preference tangents later dilutes the focus, so it is clear but not crisp.

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

Usage Guidelines5/5

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

Explicit routing is given: batch_submit for a sequence of work, the agent's own image tool for quality-first generation/editing, image_models_get for model discovery, assets_list for library IDs, and honoring the user's chosen provider. It states both when to use this tool and when to prefer an alternative, including the caveat to check what the client actually exposes.

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