Skip to main content
Glama
Nano Banana MCP Server

Nano Banana MCP Server

by Lennix

generate_icon

Generate custom app icons, favicons, and UI elements in multiple sizes and formats from a text prompt for use in apps and interfaces.

Instructions

Generate app icons, favicons, and UI elements in multiple sizes and formats

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>"
    },
    "name": "generate_icon"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoType of icon to generateapp-icon
sizesNoArray of icon sizes in pixels (16, 32, 64, 128, 256, 512, 1024)
styleNoVisual style of the iconmodern
formatNoOutput formatpng
promptYesDescription of the icon or UI element to generate
cornersNoCorner style for app iconsrounded
previewNoAutomatically open generated images in default viewer
backgroundNoBackground type: transparent, white, black, or color nametransparent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.11

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It fails to mention key traits such as generation speed, determinism, output format handling, or any side effects. The 'preview' parameter behavior is hinted but not clearly described for the overall tool.

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?

Single, clear sentence that captures the core functionality. However, it could be slightly more detailed without becoming verbose, e.g., listing supported formats.

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?

Despite 8 parameters and no output schema, the description does not explain return values or how multiple generated images are delivered. It also lacks behavior on errors or prerequisites, leaving significant gaps for an AI agent.

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 parameters are already documented. The description adds high-level context but does not enhance individual parameter meaning. Baseline of 3 is appropriate.

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: generating specific icon types (app icons, favicons, UI elements) with explicit mention of multiple sizes and formats. It effectively differentiates from sibling tools like generate_image (general images) and generate_diagram.

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 provides context (icons and UI elements) but lacks explicit guidance on when to use this tool versus alternatives like generate_image. It does not include when-not-to-use or exclusions.

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