Skip to main content
Glama

edit_image

Modify images by describing changes in natural language. Upload an image URL and provide instructions like 'make the sky more dramatic' or 'change the car color to red' to apply AI-powered edits.

Instructions

Edit an image using natural language instructions. Describe what changes you want and the AI will apply them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_urlYesURL of the image to edit (use upload_file for local images)
instructionYesNatural language description of the edit (e.g., 'make the sky more dramatic', 'change the car color to red')
modelNoEditing model. Options: fal-ai/flux-2/edit, fal-ai/flux-2-pro/edit (higher quality)fal-ai/flux-2/edit
strengthNoHow much to change the image (0=minimal, 1=maximum)
seedNoSeed for reproducible edits
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that 'the AI will apply' changes, implying a mutation operation, but doesn't specify if this is destructive, requires authentication, has rate limits, or what the output format is. For a tool with 5 parameters and no annotations, this is inadequate, as it misses key behavioral traits like response handling or error conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is highly concise and front-loaded: two sentences that directly state the tool's function and how to use it, with no wasted words. Every sentence earns its place by clarifying the core action and input method, making it easy for an agent to parse quickly.

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?

Given the complexity of an image editing tool with 5 parameters, no annotations, and no output schema, the description is incomplete. It doesn't address behavioral aspects like what the tool returns (e.g., a modified image URL), error handling, or usage constraints. For a mutation tool without structured output information, this leaves significant gaps for the agent.

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%, so the schema already documents all parameters thoroughly. The description adds minimal value beyond the schema, only implying natural language input for 'instruction'. It doesn't explain parameter interactions or provide additional context, so it meets the baseline of 3 where the schema does the heavy lifting.

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 description clearly states the tool's purpose: 'Edit an image using natural language instructions.' It specifies the verb ('edit') and resource ('image'), distinguishing it from sibling tools like 'generate_image' or 'resize_image'. However, it doesn't explicitly differentiate from 'inpaint_image' or 'compose_images', which might also involve image editing, so it's not a perfect 5.

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?

The description provides minimal guidance: it mentions using 'upload_file for local images' in the schema, but the description itself lacks explicit when-to-use instructions. It doesn't clarify when to choose this tool over alternatives like 'inpaint_image' or 'resize_image', nor does it mention prerequisites or exclusions. This leaves the agent with little contextual direction.

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/raveenb/fal-mcp-server'

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