MCP Gemini
v0.3.0MCP server for Google Gemini AI - text, image, video, research, and more
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gemini_query_tool Gemini Query Tool
Query Gemini with a prompt. Supports Google Search grounding.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The prompt to send to Gemini. |
model | string | Model to use ('pro' or 'flash'). |
system_instruction | Optional system instruction to guide the response. | |
use_google_search | boolean | Ground response with Google Search results. |
gemini_brainstorm_tool Gemini Brainstorm Tool
Brainstorm ideas on a topic using Gemini.
| Parameter | Type | Description |
|---|---|---|
topic * | string | The topic to brainstorm about. |
context | Additional context or constraints. | |
model | string | Model to use. |
num_ideas | integer | Number of ideas to generate. |
gemini_analyze_code_tool Gemini Analyze Code Tool
Analyze code with Gemini.
| Parameter | Type | Description |
|---|---|---|
code * | string | The code to analyze. |
focus | string | Analysis focus (general, security, performance, bugs). |
language | Programming language (auto-detected if not specified). | |
model | string | Model to use. |
gemini_analyze_text_tool Gemini Analyze Text Tool
Analyze text with Gemini.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to analyze. |
analysis_type | string | Type of analysis (general, sentiment, tone, summary). |
model | string | Model to use. |
gemini_summarize_tool Gemini Summarize Tool
Summarize content with Gemini.
| Parameter | Type | Description |
|---|---|---|
content * | string | The content to summarize. |
format | string | Output format (paragraph, bullets, outline). |
length | string | Summary length (brief, moderate, detailed). |
model | string | Model to use. |
gemini_generate_image_tool Gemini Generate Image Tool
Generate an image from a text prompt using Gemini's native image model.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Description of the image to generate. |
aspect_ratio | string | Aspect ratio (1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, etc). |
image_size | string | Output size (1K, 2K, 4K). |
style | Optional style modifier (photorealistic, cartoon, watercolor, etc). | |
use_google_search | boolean | Ground with Google Search results. |
gemini_generate_image_with_input_tool Gemini Generate Image With Input Tool
Generate/edit an image using a local image file as input. Upload a local image and give Gemini instructions for how to modify it. Use cases: add watermarks, change styles, composite images, etc.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to a local image file. |
prompt * | string | Instructions for what to do with the input image. |
_aspect_ratio | string | Desired aspect ratio for the output (currently unused). |
gemini_image_prompt_tool Gemini Image Prompt Tool
Help craft an effective image generation prompt.
| Parameter | Type | Description |
|---|---|---|
description * | string | What you want the image to show. |
model | string | Model to use for prompt crafting. |
mood | Desired mood or atmosphere. | |
style | Desired art style (photorealistic, cartoon, watercolor, etc). |
gemini_imagen_generate_tool Gemini Imagen Generate Tool
Generate images using Google Imagen 4 models. Models (sorted by price): - imagen-4.0-fast-generate-001 ($0.02/image, fastest) - imagen-4.0-generate-001 ($0.04/image, standard) - imagen-4.0-ultra-generate-001 ($0.06/image, highest quality)
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Description of the image to generate. |
aspect_ratio | string | Aspect ratio (1:1, 3:4, 4:3, 9:16, 16:9). |
model | string | Imagen model to use. |
number_of_images | integer | Number of images to generate (1-4). |
gemini_start_image_edit_tool Gemini Start Image Edit Tool
Start a multi-turn image editing session. Optionally provide an existing image file as the starting point. Without file_path, Gemini generates a new image from the prompt. Use gemini_continue_image_edit_tool to make further edits.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Initial prompt (describe image or editing instructions). |
file_path | Optional absolute path to a local image to start from. | |
use_google_search | boolean | Ground with Google Search results. |
gemini_continue_image_edit_tool Gemini Continue Image Edit Tool
Continue editing in an active image session.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Editing instructions (e.g., "make the sky bluer"). |
session_id * | string | The session ID from gemini_start_image_edit. |
gemini_end_image_edit_tool Gemini End Image Edit Tool
End an image editing session and free resources.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | The session ID to end. |
gemini_list_image_sessions_tool Gemini List Image Sessions Tool
List all active image editing sessions.
gemini_analyze_image_tool Gemini Analyze Image Tool
Analyze and describe a local image file.
| Parameter | Type | Description |
|---|---|---|
image_path * | string | Absolute path to the image file. |
model | string | Model to use ('pro' or 'flash'). |
query | string | Question or instruction about the image. |
gemini_search_tool Gemini Search Tool
Search the web using Gemini with Google Search grounding.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query. |
model | string | Model to use. |
gemini_analyze_document_tool Gemini Analyze Document Tool
Analyze a document (PDF, DOCX, TXT, etc.).
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the document. |
model | string | Model to use. |
question | string | Question or instruction about the document. |
gemini_summarize_pdf_tool Gemini Summarize Pdf Tool
Summarize a PDF document.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the PDF. |
model | string | Model to use. |
style | string | Summary style (concise, detailed, executive). |
gemini_extract_tables_tool Gemini Extract Tables Tool
Extract tables from a document.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the document. |
model | string | Model to use. |
output_format | string | Output format (markdown, csv, json). |
gemini_analyze_url_tool Gemini Analyze Url Tool
Analyze one or more URLs.
| Parameter | Type | Description |
|---|---|---|
urls * | array | List of URLs to analyze (1-20). |
model | string | Model to use. |
question | string | Question or instruction about the URL content. |
use_google_search | boolean | Use Google Search grounding. |
gemini_compare_urls_tool Gemini Compare Urls Tool
Compare two URLs.
| Parameter | Type | Description |
|---|---|---|
url1 * | string | First URL. |
url2 * | string | Second URL. |
aspect | string | What to compare (content, design, sentiment, features). |
model | string | Model to use. |
gemini_extract_from_url_tool Gemini Extract From Url Tool
Extract specific data from a URL.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to extract data from. |
custom_fields | Comma-separated list of custom fields to extract. | |
data_type | string | Type of data (text, links, images, structured). |
model | string | Model to use. |
gemini_generate_video_tool Gemini Generate Video Tool
Generate a video using Veo. Returns an operation ID to poll.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Description of the video to generate. |
_aspect_ratio | string | Video aspect ratio (currently unused). |
negative_prompt | What to avoid in the video. |
gemini_check_video_tool Gemini Check Video Tool
Check the status of a video generation operation.
| Parameter | Type | Description |
|---|---|---|
operation_name * | string | The operation name from gemini_generate_video. |
gemini_youtube_tool Gemini Youtube Tool
Analyze a YouTube video.
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube video URL. |
model | string | Model to use. |
question | string | Question or instruction about the video. |
gemini_youtube_summary_tool Gemini Youtube Summary Tool
Summarize a YouTube video.
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube video URL. |
model | string | Model to use. |
style | string | Summary style (concise, detailed, bullet_points). |
gemini_speak_tool Gemini Speak Tool
Convert text to speech.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to convert to speech. |
voice | string | Voice name (Zephyr, Puck, Charon, Kore, Fenrir, Leda, Orus, Aoede). |
gemini_dialogue_tool Gemini Dialogue Tool
Generate multi-voice dialogue audio.
| Parameter | Type | Description |
|---|---|---|
text * | string | Dialogue text with speaker labels. |
voice1 | string | First voice name. |
voice2 | string | Second voice name. |
gemini_list_voices_tool Gemini List Voices Tool
List available voices for text-to-speech.
gemini_deep_research_tool Gemini Deep Research Tool
Start a deep research task using a specialized Gemini model. Performs multi-step web research to answer complex questions.
| Parameter | Type | Description |
|---|---|---|
query * | string | The research question or topic. |
gemini_check_research_tool Gemini Check Research Tool
Check the status of a deep research operation.
| Parameter | Type | Description |
|---|---|---|
research_id * | string | The research ID from gemini_deep_research. |
gemini_research_followup_tool Gemini Research Followup Tool
Ask a follow-up question about completed research.
| Parameter | Type | Description |
|---|---|---|
question * | string | Follow-up question. |
research_id * | string | The research ID from a previous research operation. |
gemini_create_cache_tool Gemini Create Cache Tool
Create a content cache for repeated queries. Upload content once and query it multiple times without re-sending.
| Parameter | Type | Description |
|---|---|---|
content | Text content to cache (alternative to file_path). | |
display_name | string | Human-readable name for the cache. |
file_path | Path to a file to cache. | |
model | string | Model to use. |
system_instruction | System instruction for queries against this cache. | |
ttl_minutes | integer | Time-to-live in minutes (default 60). |
gemini_query_cache_tool Gemini Query Cache Tool
Query content in a cache.
| Parameter | Type | Description |
|---|---|---|
cache_name * | string | The cache name from gemini_create_cache. |
question * | string | Question to ask about the cached content. |
gemini_list_caches_tool Gemini List Caches Tool
List all active content caches.
gemini_delete_cache_tool Gemini Delete Cache Tool
Delete a content cache.
| Parameter | Type | Description |
|---|---|---|
cache_name * | string | The cache name to delete. |
gemini_structured_tool Gemini Structured Tool
Get structured JSON output from Gemini.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The prompt to generate structured output for. |
model | string | Model to use. |
schema | Optional JSON schema to constrain the output. | |
use_google_search | boolean | Ground response with Google Search. |
gemini_extract_tool Gemini Extract Tool
Extract structured data from text.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to extract data from. |
custom_fields | Comma-separated list of custom fields to extract. | |
extract_type | string | Type (entities, dates, numbers, contacts, custom). |
model | string | Model to use. |
gemini_count_tokens_tool Gemini Count Tokens Tool
Count the number of tokens in content.
| Parameter | Type | Description |
|---|---|---|
content * | string | The text content to count tokens for. |
model | string | Model to count tokens for. |
gemini_run_code_tool Gemini Run Code Tool
Execute code using Gemini's built-in code execution. Gemini writes and runs Python code to answer questions, perform calculations, or process data.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Description of what code to write and run. |
data | Optional data to process. | |
model | string | Model to use. |