Skip to main content
Glama

edit_image

Modify an image using text instructions to add or remove elements, change styles, and more. Supports reference images for style transfer.

Instructions

Edit an existing image file using text instructions. Can add/remove elements, change styles, transfer styles from reference images, and more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imagePathYesFull file path to the image to edit.
promptYesText describing the modifications to make to the image.
referenceImagesNoOptional array of file paths to reference images (for style transfer, adding elements, etc.). Up to 14 images supported.
aspectRatioNoAspect ratio for the output image.
resolutionNoOutput resolution.
Behavior2/5

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

No annotations provided so description must fully disclose behavior. Mentions editing but does not explain whether original file is overwritten, what happens on failure, or any other side effects.

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?

Efficient single sentence with bullet-like examples. Clear and front-loaded, but could be slightly more structured (e.g., separate actions from uses).

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

Completeness2/5

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

Description covers what the tool does but omits output specification (e.g., where edited image is saved) and behavioral details. Missing completeness for a mutation tool with no output schema.

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% with clear parameter descriptions. Description adds little beyond listing capabilities, providing no extra semantic detail for parameters.

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?

Description clearly states action (edit), resource (existing image file), and lists specific capabilities (add/remove elements, change styles, style transfer). Distinguishes from siblings like compose_images and generate_image.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs siblings. Lacks context like prerequisites (e.g., image must exist) or when to prefer continue_editing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/konigt6905/nano-banana-pro-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server