Skip to main content
Glama

edit_image

Edit images using seven AI models: remove backgrounds, upscale, relight, inpaint, create face stickers, or apply prompt-based transformations to an image URL.

Instructions

Edit, upscale, remove background, relight, or transform images. 7 models: BRIA background removal, Crystal Upscaler, SeedVR, FireRed edit, relighting, face-to-sticker, inpainting.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image_url": "<image_url>"
    },
    "name": "edit_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoEditing model. Options: bria-rmbg: BRIA RMBG 2.0, crystal-upscaler: Crystal Upscaler, face-sticker: Face Sticker, firered-edit: FireRed Image Edit, pixelforge-relight: Pixelforge Relighting, seedvr-upscale: SeedVR Upscale, inpainting: SD Inpaintingbria-rmbg
promptNoEdit instruction or description
image_urlYesURL of the image to edit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare that the tool is not read-only and has open-world behavior, so the description does not need to restate safety. It adds useful model capability context, but it does not disclose whether the original image is modified or a new asset is returned, what the output looks like, or whether specific models require particular prompt formats.

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 short, front-loaded with the primary action, and then lists the available models. There is no filler or unnecessary repetition.

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 a three-parameter image-editing tool with seven models and no output schema, the description identifies the main capabilities and names the models. It still leaves gaps around model selection, prompt usage, and expected return behavior, which matter given the range of editing tasks.

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%, including descriptions for image_url, prompt, and the model enum. The description repeats the model names but does not add meaning beyond the schema, such as how prompt requirements vary by model or when each model should be selected.

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?

The description uses specific verbs (edit, upscale, remove background, relight, transform) and names the resource (images), making the tool's purpose immediately clear. The model list further scopes it to image manipulation rather than generation, which distinguishes it from 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 Guidelines3/5

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

The listed capabilities imply when to use the tool for editing, upscaling, background removal, relighting, and transformation. However, it does not explicitly say when to choose this over siblings like generate_image or virtual_try_on, nor does it explain how to choose among the seven models.

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