Skip to main content
Glama

edit_with_references

Generate an image that keeps the same character or object as up to three reference images—matching face, clothes and colours—so results stay consistent across frames instead of shifting with each new prompt.

Instructions

Generate an image that keeps the same character or object as the reference images — the same face, clothes and colours rather than a fresh interpretation of a description.

refs is up to 3 image paths. This is the only way to get consistency across frames; describing a character in words produces a different one every time.

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>",
      "refs": "<refs>",
      "out_dir": "<out_dir>"
    },
    "name": "edit_with_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
refsYes
seedNo
stemNoimage
promptYes
out_dirYes
profileNocharacters-consistent
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.3

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real behavior: the consistency guarantee and the 3-reference cap. But it is silent on the fact that generation writes artifacts to disk (implied by `out_dir` and `stem`), whether files are overwritten, how `seed` affects reproducibility, or what `profile` and `project` change. Sizeable gaps for a mutating generation tool.

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?

Two short paragraphs, front-loaded with the distinguishing constraint and followed by the single most load-bearing parameter. No filler, and the emphasis on the reference-image mechanism is placed where an agent will read it first.

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?

Adequate for selecting the tool, but not for invoking it correctly with 7 parameters and no output schema. The two highest-risk details, what `seed` and `profile` control and what lands in `out_dir`, are undocumented.

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 coverage is 0% across 7 parameters, so the description must compensate, and it only explains two of them: `refs` ("up to 3 image paths") and, indirectly, `prompt`. `seed`, `stem`, `out_dir`, `profile` and `project` get no explanation anywhere, and the non-obvious `profile` default of "characters-consistent" is left opaque.

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?

Opens with a specific verb and resource ("Generate an image") and immediately narrows it with a scope qualifier: it preserves the same face, clothes and colours from reference images rather than reinterpreting a description. That contrast functionally separates it from a plain text-to-image sibling, though it never names that sibling.

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?

Gives a clear selection rule: use this when you need consistency across frames, because describing a character in words "produces a different one every time." It stops short of explicitly naming the alternative tool or stating a when-not-to-use condition, so the routing is inferred rather than spelled out.

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