Skip to main content
Glama

Reelfinery

edit_image

Read-only

指令式图像编辑,四引擎任选:seedream($0.10,Seedream 5.5,改图/换景/去物,可透明背景)|gptimage($0.20,GPT Image 2.6 编辑,支持 mask_image 局部重绘)|kontext($0.24,FLUX Kontext Max)|nbpro($0.42,Nano Banana Pro,最高 4k)。image 用公开 URL(可先 upload_asset)。

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": {
      "prompt": "<prompt>",
      "image": "<image>"
    },
    "name": "edit_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYes原图公开 URL
aspectNo输出比例(按引擎支持范围),默认跟随原图
engineNo默认 seedream(最便宜)
promptYes编辑指令,如 "replace the sky with a sunset" / "去掉背景里的路人"
backgroundNo仅 seedream:透明背景输出
resolutionNoseedream: 1k/1.5k/2k;gptimage/nbpro: 1k/2k/4k
outputFormatNo默认 png

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 readOnlyHint, destructiveHint=false, and openWorldHint, so safety is covered; the description adds non-obvious operational facts: per-engine cost ($0.10–$0.42), model versions, per-engine capability limits (mask_image, 4k max), and transparency support. It does not say whether calls are synchronous or how long they take, despite a get_job_status sibling hinting at async work.

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?

One front-loaded sentence with pipe-delimited engine entries makes the option space scannable, and every clause carries information. The density of prices and version numbers is slightly heavy for a description, but nothing is redundant.

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?

For a 7-parameter tool with full schema coverage and no output schema, the description covers purpose, engine choice, prerequisites, and per-engine constraints adequately. The main remaining gap is return behavior (output URL, sync vs. job-based) which an agent needs before invoking.

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; the description goes beyond it by explaining engine trade-offs and by tying feature availability to specific engines (transparency and background only on seedream, resolution ranges differing per engine), which is cross-parameter meaning the schema states only in fragments.

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 opens with a specific verb-plus-resource claim ("指令式图像编辑") and immediately enumerates the four engines with what each is for, so an agent can distinguish it from generate_image, edit_video, and upscale_image 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?

It gives concrete selection criteria among the four engines (price and capability, e.g. mask-based inpainting only on gptimage, transparent background only on seedream) and states the prerequisite that `image` must be a public URL, pointing to upload_asset as the way to get one. It stops short of explicitly naming when to use a sibling such as generate_image instead.

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