Skip to main content
Glama
shelbeely

Openrouter-Nano-banana-assets-generator-MCP

by shelbeely

edit_asset

Edit existing images with precise instructions for lighting, focus, camera changes, and localized adjustments while preserving specified elements.

Instructions

Edit an existing asset with fine-grained controls. Supports localized edits, lighting adjustments, focus changes, camera transformations, and more using Nano Banana Pro's advanced editing capabilities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resolutionNoTarget resolution if upscaling/downscaling needed
aspectRatioNoTarget aspect ratio if different from source
sourceImageYesSource image URL or base64-encoded data URL to edit
editInstructionsYesDetailed editing instructions (e.g., 'Adjust lighting to be warmer, increase contrast, blur background')
preserveElementsNoElements to preserve during editing (e.g., ['logo', 'text', 'main-subject'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description must disclose behavioral traits itself. It describes the knd of edits supported but not whether the original asset is replaced, what gets returned, or any constraints/limitations of Nano Banana Pro. It does not contradict any annotations because none are present, but it leaves important operational behavior underspecified.

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?

The description is a single sentence that front-loads the action and object, then expands with a concise list of supported edits. 'And more' is mildly vague but does not inflate the description or waste space.

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?

The tool is moderately complex with no output schema and no annotations, so the description should cover the output/response behavior and any crucial side effects. It does not say what the edited asset result is or whether the source is modified in place. The rich schema compensates for parameter understanding but not for the missing behavioral contract.

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 coverage is 100%, so the schema already explains all five parameters, including the purpose of sourceImage, editInstructions, resolution, aspectRatio, and preserveElements. The description adds general capability context but not parameter-level meaning, so the baseline 3 is appropriate.

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 description uses a specific verb-and-resource structure: 'Edit an existing asset', and the resource is clearly distinguished from the sibling generation tools. The listed capabilities (lighting, focus, camera transformations) make the purpose tangible, though it does not explicitly contrast itself with ensure_brand_consistency.

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 phrase 'existing asset' implies this tool is for modification rather than generation, giving some implicit guidance against the generate siblings. However, it never explicitly states when to prefer this tool over generate_asset, generate_asset_pack, or ensure_brand_consistency, so the routing decision is mostly left to inference.

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