Skip to main content
Glama

edit_image

Apply prompt-based changes to reference images to generate up to four modified images with selectable size, quality, format, and background.

Instructions

Referans görselleri istemdeki değişiklikle düzenler.

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>",
      "references": "<references>"
    },
    "name": "edit_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNo
sizeNoauto ya da GENxYUK (kenar ≤3840, 16'nın katı, oran ≤3:1)auto
formatNopng
promptYes
accountNoHesap kimliği. Boşsa etkin hesap.
qualityNoauto
backgroundNoopaque
referencesYesGaleri adı, mutlak dosya yolu ya da data:image/...;base64,... (en fazla 16, toplam 64 MB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.6/5.0
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, and it supplies almost none: no mention of whether the edit mutates or preserves original gallery files, no cost/quota implications, no latency, no failure modes for oversized or too many references. Only the basic "edits images" behavior is conveyed, which the tool name already implies.

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?

It is a single sentence with zero wasted words and the core operation is front-loaded, which is structurally clean. However, the brevity comes from omission rather than discipline, so it reads as under-specified for an 8-parameter tool rather than optimally concise.

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?

With 8 parameters, 3 enums, 38% schema coverage, no annotations, and no output schema, the description should explain the reference-input model and output expectations. It does none of that, so an agent has no way to know what an edited result looks like or which parameters matter most.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 38%, so the description needs to compensate, but it adds no meaning beyond the schema. It alludes to references and prompt in prose but says nothing about n, format, quality, background, or the account fallback behavior, leaving half the parameters undocumented anywhere.

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 sentence names a specific verb ("düzenler" / edits) and a specific resource ("referans görselleri" / reference images), and adds that the edit is driven by the prompt. That is enough to understand the operation, but it never distinguishes it from the adjacent generate_image or animate_image siblings, so the agent must infer the boundary.

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?

There is no when-to-use or when-not-to-use guidance at all: nothing says to pick this over generate_image when the user supplies existing images, and no prerequisites (account, required prompt + references) are stated. The only hint of scope is the word "referans" embedded in the purpose sentence, which an agent must interpret on its own.

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