Skip to main content
Glama

chat

Send messages to Gemini AI with optional file attachments for multimodal analysis, code review, document processing, or image description tasks.

Instructions

SEND MESSAGE TO GEMINI (with optional files) - Chat with Gemini, optionally including uploaded files for multimodal analysis. TYPICAL USE: 0-2 files for most tasks (code review, document analysis, image description). SCALES TO: 40+ files when needed for comprehensive analysis. WORKFLOW: 1) Upload files first using upload_file (single) or upload_multiple_files (multiple), 2) Pass returned URIs in fileUris array, 3) Include your text prompt in message. The server handles file object caching and proper API formatting. Supports conversation continuity via conversationId. RETURNS: response text, token usage, conversation ID. Files are passed as direct objects to Gemini (not fileData structures). Auto-retrieves missing files from API if not cached.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesThe message to send to Gemini
modelNoThe Gemini model to usegemini-3-pro-preview
fileUrisNoArray of file URIs from previously uploaded files
temperatureNoControls randomness in responses (0.0 to 2.0)
maxTokensNoMaximum tokens in response
conversationIdNoOptional conversation ID to continue a previous chat
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: file handling (server caches files, auto-retrieves missing ones), conversation continuity (via conversationId), return values (response text, token usage, conversation ID), and implementation details (files passed as direct objects, not fileData structures). It doesn't mention rate limits or error handling, but covers most operational aspects well.

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 appropriately sized and front-loaded with the core purpose. It uses clear sections (TYPICAL USE, SCALES TO, WORKFLOW, RETURNS) for organization. Some sentences could be more concise (e.g., 'The server handles file object caching and proper API formatting' could be simplified), but overall it's efficient and well-structured.

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

Completeness4/5

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

Given the tool's complexity (6 parameters, file handling, conversation management) and lack of both annotations and output schema, the description does a good job covering most essential context. It explains the workflow, return values, and behavioral details. The main gap is the absence of an output schema, but the description compensates by listing return values (response text, token usage, conversation ID).

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 schema already documents all 6 parameters thoroughly. The description adds some context about fileUris (requiring upload first, typical file counts) and conversationId (for continuity), but doesn't provide significant additional semantic meaning beyond what's in the schema descriptions. This meets the baseline for high schema coverage.

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 specific action ('SEND MESSAGE TO GEMINI'), resource ('Gemini'), and scope ('with optional files for multimodal analysis'). It distinguishes itself from sibling tools like upload_file or generate_images by focusing on the core chat interaction with the AI model.

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 guidance on when and how to use this tool, including a workflow (upload files first, then pass URIs), typical use cases (0-2 files for code review, document analysis), and scaling options (40+ files for comprehensive analysis). It references specific sibling tools (upload_file, upload_multiple_files) as alternatives for file handling.

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

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