Skip to main content
Glama

Continue Editing

continue_editing

Refine the last image you generated or edited with a new prompt to adjust details, then receive the file path of the saved result.

Instructions

Refine the last generated or edited image with a new prompt. Must call generate_image or edit_image first. Returns the file path of the saved result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel ID to use. Options: gemini-3.1-flash-image-preview (default), gemini-2.5-flash-image, gemini-3-pro-image-preview
promptYesInstructions for refining the last generated or edited image, e.g. "make the colors more vibrant"

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesModel ID that was used
filePathYesAbsolute path where the refined image was saved
sizeBytesYesSize of the refined image in bytes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses an important behavioral trait beyond the annotations: the operation depends on prior session state ('last generated or edited image') and returns a file path. This is meaningful context beyond readOnlyHint, openWorldHint, and destructiveHint. It does not, however, explain what happens if no prior image exists or whether the original file is replaced.

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?

Three short sentences with no filler. The description front-loads the core action, states the prerequisite, and ends with the return value. Every sentence earns its place.

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 two-parameter tool with full schema coverage and an output schema, the description provides the core behavior, the prerequisite, and the return artifact. It leaves minor edge conditions to inference, such as failure behavior when no prior image exists, but overall the agent has enough context to invoke the tool correctly.

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 the prompt and model parameters, including a prompt example and model enum values. The description adds little beyond calling the prompt 'a new prompt' and connecting it to the last generated/edited image. Baseline 3 is appropriate because the schema carries the parameter documentation burden.

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 a specific verb and resource: 'Refine the last generated or edited image with a new prompt.' It clearly differentiates this from generate_image and edit_image by focusing on the existing last image rather than creating or editing from scratch. An agent can immediately understand the tool's role in the image workflow.

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?

The description gives an explicit prerequisite: 'Must call generate_image or edit_image first.' This makes the sequential usage context clear. It does not explicitly state when not to use this tool or contrast it with alternatives, but the prerequisite plus 'last generated or edited image' strongly implies the intended use case.

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

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/DevShiftTeam/nano-banana-mcp'

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