Skip to main content
Glama

compose_images

Combine multiple images into a single composition for product mockups, fashion photos, creative collages, or style transfers using specific prompts.

Instructions

Combine multiple images into a new composition.

nano-banana supports up to 3 input images. nano-banana-pro supports up to 14 input images (up to 5 humans, 6 objects).

Great for:

  • Product mockups

  • Fashion photos (dress on model)

  • Creative collages

  • Style transfer from multiple references

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDescription of how to combine the images. Be specific about which elements from each image to use.
image_pathsYesArray of paths to input images to combine.
modelNoThe model to use. nano-banana-pro recommended for multi-image composition.nano-banana-pro
aspect_ratioNoThe aspect ratio of the output image.1:1
image_sizeNoThe resolution of the output (only for nano-banana-pro).2K
filenameNoOptional filename for the output image.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds valuable context beyond the schema by specifying model-specific constraints (e.g., 'nano-banana supports up to 3 input images') and use-case examples. It does not mention permissions, rate limits, or output format, but provides practical operational details.

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?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by model constraints and use cases. Every sentence earns its place by providing essential information without redundancy or fluff.

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?

Given the tool's complexity (6 parameters, no annotations, no output schema), the description is mostly complete. It covers purpose, constraints, and use cases well, but lacks details on output behavior (e.g., file format, error handling) and does not fully compensate for the absence of annotations and output schema.

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 all parameters thoroughly. The description does not add any parameter-specific details beyond what the schema provides (e.g., it doesn't explain 'prompt' or 'image_paths' further). Baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the tool's purpose: 'Combine multiple images into a new composition.' It uses specific verbs ('combine') and resources ('images'), and distinguishes from siblings like 'edit_image' (modify existing) and 'generate_image' (create from scratch) by focusing on multi-image composition.

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 provides clear context for when to use this tool through the 'Great for:' section, listing specific use cases like product mockups and fashion photos. However, it does not explicitly state when NOT to use it or name alternatives among sibling tools, which prevents a perfect score.

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

Install Server

Other Tools

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

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