Skip to main content
Glama
raydollete

Gemini MCP Server for Claude Code

by raydollete

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level (fatal, error, warn, info, debug, trace)info
GEMINI_API_KEYYesYour Gemini API key from Google AI Studio
GEMINI_TIMEOUT_MSNoRequest timeout in milliseconds120000
GEMINI_DEFAULT_MODELYesGemini model to use for queries

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_geminiA

Query Google's Gemini AI models for text generation, reasoning, and analysis tasks.

Use this tool when you need to:

  • Get a second opinion or alternative perspective on a problem

  • Leverage Gemini's specific capabilities for certain reasoning tasks

  • Generate content using a different AI model

  • Compare responses between AI models

The tool supports conversation history for multi-turn interactions. Streaming is enabled by default for better responsiveness.

list_gemini_modelsA

List available Gemini AI models and their capabilities.

Use this tool to:

  • Discover available Gemini models

  • Understand model capabilities and limitations

  • Choose the appropriate model for a specific task

count_gemini_tokensA

Count the number of tokens in a text string for the configured Gemini model.

Use this tool to:

  • Estimate prompt costs before making queries

  • Ensure prompts fit within model context limits

  • Optimize prompt length for efficiency

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap. count_gemini_tokens handles token counting, list_gemini_models provides model information, and query_gemini performs AI queries. The descriptions reinforce these distinct roles, making misselection unlikely.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case naming. The verbs (count, list, query) are appropriately chosen for their actions, and the noun (gemini) is consistently included, creating a predictable and readable naming convention throughout.

Tool Count4/5

Three tools is reasonable for a Gemini-focused server, covering token counting, model listing, and querying. While slightly minimal, each tool earns its place and provides distinct functionality. A potential fourth tool for model configuration or advanced settings might be missing, but the core operations are well-represented.

Completeness4/5

The toolset covers the essential Gemini operations: token management, model discovery, and query execution. Minor gaps include lack of direct model configuration tools or advanced query parameters, but agents can work around these. The surface supports basic to intermediate Gemini interactions effectively.

Maintenance

ActivityInactive
ResponsivenessNo issues