Skip to main content
Glama

Chat with Gemini using text and media

gemini_chat

Send text plus multiple videos, images, or audio in one generateContent request, then continue saved chats by conversation ID for contextual follow-ups.

Instructions

Send text and multiple videos, images, or audio recordings in one generateContent request. To continue a saved conversation, send only new input with its conversationId. History is stored locally and sent with attachments to the configured provider on each turn.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gemini_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoOrdered local paths or objects with path, mimeType, and per-video fps/start/end. Native part metadata is supported.
modelNoProvider model ID for this call. An explicit selection is pinned for the request. Otherwise the configured model applies.
storeNoDefaults to true. Use false for a standalone request without saving any history.
promptNoNew message. Can be sent on its own.
requestNoNative generateContent request fields and provider extensions, including tools, toolConfig, safetySettings, or cachedContent. Also accepts a complete request body.
contentsNoOrdered native messages, e.g. [{role:"user",parts:[{text:"Image A"},{path:"/media/a.png"}]}]. Supports native parts including functionResponse, fileData, and inlineData. The server appends files and prompt afterward.
resetSettingsNoReset saved request options for this call while retaining history.
conversationIdNoActive chat ID from create_chat, list_chats, or a previous response. Omit to start a new chat.
reasoningLevelNoSets thinkingConfig.thinkingLevel. Supported levels depend on the selected model.
generationConfigNoNative generation parameters including temperature, topP, maxOutputTokens, thinkingConfig, responseMimeType, responseJsonSchema, responseModalities, speechConfig.
systemInstructionNoSystem instruction as text or a native Content object.
includeRawResponseNoInclude the complete provider response in structuredContent.response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already mark the tool as non-read-only and open-world, and the description adds important behavior: history is stored locally and sent with attachments to the configured provider on each turn. It does not discuss auth or rate limits, but it does disclose the key persistence and external-transmission behavior beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the core action, followed by conversation continuation and then storage/transmission behavior. There is no redundant restatement or filler.

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?

For a 12-parameter nested tool without an output schema, the description covers the core action, conversation model, and history transmission. It still omits response shape and new-chat initiation details, though the rich schema carries most parameter-level completeness.

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 coverage is 100%, and the schema already documents files, conversationId, store, and other parameters thoroughly. The description adds a useful nuance about sending only new input with conversationId, but otherwise leaves parameter meaning to the schema.

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 states a specific action: sending text plus multiple media in one generateContent request, and it mentions continuing a saved conversation. It does not name sibling tools such as create_chat or analyze_video, so differentiation is implicit rather than explicit.

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?

It gives a clear rule for continuing a saved conversation by sending only new input with conversationId. However, it does not explain when to use this tool instead of siblings like create_chat, get_chat, analyze_audio, or analyze_video, nor does it cover starting a new chat.

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