Skip to main content
Glama
shelbeely

Openrouter-Nano-banana-assets-generator-MCP

by shelbeely

generate_asset

Create a web asset from a text prompt, using reference images, color palettes, logos, and resolutions up to 4K for icons, banners, backgrounds, or UI elements.

Instructions

Generate a single web asset using Nano Banana Pro. Supports reference images, color palettes, logos, and various aspect ratios/resolutions (including 2K/4K). Can generate icons, banners, backgrounds, UI elements, and more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDetailed description of the asset to generate (e.g., 'Create a modern hero banner with gradient background for a tech startup')
logoFileNoLogo file URL or base64-encoded data URL to include in the asset
resolutionNoTarget resolution (e.g., '1920x1080', '2K', '4K', '1080x1080')
aspectRatioNoAspect ratio for the asset (e.g., '16:9', '1:1', '4:3', '21:9', '9:16')
colorPaletteNoArray of hex color codes to incorporate into the design (e.g., ['#FF5733', '#3498DB'])
referenceImagesNoArray of reference image URLs or base64-encoded data URLs for style guidance (max 5)
editInstructionsNoOptional editing instructions if modifying an existing asset (e.g., 'Adjust lighting', 'Change background color')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure on its own. It does disclose supported inputs and output types at a high level, such as reference images, color palettes, logos, aspect ratios, and 2K/4K resolutions. It does not disclose output format, side effects, costs, or failure modes, so transparency is adequate but not rich.

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 two sentences with no filler. The core purpose is front-loaded, and the capability list is compact and useful. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-param tool with no annotations and no output schema, the description is reasonably complete: it summarizes capabilities and defers parameter details to the schema. However, it does not explain what the tool returns (URL, base64, file path), nor does it provide any guidance about edit vs generate workflows, leaving some practical gaps.

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 baseline is 3. The description reinforces some parameters by mentioning reference images, color palettes, logos, aspect ratios, and resolutions, but it adds no meaning beyond the schema for parameters like editInstructions. It does not need to compensate much because the schema is already detailed.

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?

Purpose is immediately clear: 'Generate a single web asset using Nano Banana Pro' names a specific verb, resource, and scope. The phrase 'single' distinguishes it from the sibling generate_asset_pack, and listing asset types (icons, banners, backgrounds, UI elements) further aids selection.

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 description implies the tool is for creating one new asset, which hints at when to use it over generate_asset_pack or edit_asset. However, it never explicitly says when not to use it, nor does it mention alternatives by name, leaving the routing decision partially to inference.

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