Skip to main content
Glama

Gemini Chat

gemini_chat

Chat with Gemini models for answers, code, research, and AI tasks. Uses Google Search grounding by default for real-time information and supports configurable thinking depth. Send a message to get a response.

Instructions

Chat with Google Gemini models. Grounded in Google Search by default, on gemini-3.1-pro-preview. DO NOT SET max_tokens - the server allocates the model's full output ceiling automatically. It is a cap, not consumption, so unused headroom costs nothing; setting a small one makes Gemini 3 thinking burn the whole budget and return empty output that looks like a timeout. [MCP_RECOMMENDED_TIMEOUT_MS: 300000]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoOmit to use the configured default (gemini-3.1-pro-preview). Other valid options: gemini-3-pro-preview, gemini-3-flash-preview. Do NOT pass gemini-1.5-* or gemini-pro — those are out of support.
messageYesThe message to send
groundingNoEnable Google Search grounding for real-time information
max_tokensNoOutput token budget INCLUDING Gemini 3 thinking tokens. OMIT THIS — the server allocates the model's full output ceiling (queried live, 65,536 on current Gemini 3 text models). It is a cap, not consumption — unused headroom costs nothing. Values below 4096 are IGNORED (thinking burns them before any visible output) and values above the model's real limit are clamped to it.
temperatureNoControls randomness (0.0 to 1.0). Ignored on Gemini 3+ (forced to 1.0 per Google docs).
system_promptNoOptional system instruction
thinking_levelNoThinking depth for Gemini 3 models only. "low" minimises latency for simple tasks. "high" (default for Gemini 3) maximises reasoning depth. "medium"/"minimal" available on Gemini 3 Flash only. Ignored for non-Gemini-3 models.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
successYes
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It discloses critical behavioral traits: grounding by default, the max_tokens cap behavior (not consumption), the fact that values below 4096 are ignored, and that temperature is ignored on Gemini 3+ (forced to 1.0). It also explains the thinking_level parameter's scope and defaults. This is exemplary transparency for a complex 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?

The description is front-loaded with the core purpose and then dives into critical warnings. It is dense but not bloated; every sentence adds value. The only minor issue is that the max_tokens warning is repeated in both the description and the schema parameter description, which is slightly redundant but reinforces the critical point. Overall, it's well-structured and efficient.

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

Completeness5/5

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

Given the tool's complexity (7 parameters, 1 required, 100% schema coverage, output schema present), the description is remarkably complete. It covers model selection, grounding, token budget behavior, temperature quirks, thinking levels, and timeout recommendations. The output schema exists, so return values don't need explanation. This is a model example of a complete tool description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, but the description adds significant value beyond the schema. For max_tokens, it explains the cap-vs-consumption distinction, the 4096 threshold, and clamping behavior. For temperature, it notes the forced 1.0 on Gemini 3+. For thinking_level, it clarifies which models support which values. The description enriches every parameter with practical context.

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: 'Chat with Google Gemini models.' It specifies the default model (gemini-3.1-pro-preview) and grounding behavior, distinguishing it from sibling tools like gemini_deep_research or gemini_prompt_assistant. The verb 'chat' plus the resource 'Google Gemini models' is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidance: it warns against setting max_tokens, explains the server's automatic allocation, and clarifies that small values cause thinking tokens to burn the budget and return empty output. It also includes a recommended timeout (300000 ms) and the schema details valid model options and exclusions (e.g., 'Do NOT pass gemini-1.5-* or gemini-pro'). This is comprehensive and actionable.

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/houtini-ai/gemini-mcp'

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