Skip to main content
Glama
Nano-Banana MCP Server

Nano-Banana MCP Server

by fjacquet

configure_gemini_token

Sets your Gemini API key for nano-banana image generation, enabling MCP clients to create and edit images through Google Gemini.

Instructions

Configure your Gemini API token for nano-banana image generation

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": {
      "apiKey": "<apiKey>"
    },
    "name": "configure_gemini_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
apiKeyYesYour Gemini API key from Google AI Studio

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.3.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it discloses almost no behavior: it does not say whether the key is persisted, whether it validates the key against Gemini, whether it overwrites an existing token, or whether the secret is stored in plaintext. For a tool that accepts a long-lived credential and mutates configuration, those are material omissions.

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?

A single front-loaded sentence with no filler; the resource and purpose come immediately. It is appropriately sized for a one-parameter tool, though the terseness means no room was spent on the behavior the description should have covered.

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 one-parameter tool with fully described schema and no output schema, the definition is close to sufficient, but it omits whether configuration succeeds/fails silently or whether the key is validated, which an agent needs to interpret the call's outcome.

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?

Only one parameter, and the schema already fully documents it (100% coverage: 'Your Gemini API key from Google AI Studio'). The description adds no format, source, or validation detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb ('Configure') plus resource ('your Gemini API token') and the downstream use ('nano-banana image generation'), so an agent can tell it sets credentials rather than generating images. It does not explicitly distinguish itself from the sibling 'get_configuration_status', leaving the read-vs-write config distinction for the agent to infer.

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?

Usage is only implied: by naming image generation as the purpose, an agent can guess this is a prerequisite for 'generate_image'/'edit_image', but the description never states that condition, nor when not to call it (e.g. when a token is already configured). No alternative is named.

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