Skip to main content
Glama

Analyze Image

analyze_image

Analyze images using Gemini's multimodal understanding. Provide one or more images and a prompt to receive a text-based analysis of their content.

Instructions

Analyze and extract information from one or more images using Gemini multimodal understanding. Returns a text analysis - no image is generated. Default model: gemini-3-pro-preview. DO NOT SET max_tokens - the server allocates the model's full output ceiling automatically; a small cap is spent on Gemini 3 thinking and returns empty output that looks like a timeout. [MCP_RECOMMENDED_TIMEOUT_MS: 300000]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoOmit to use gemini-3-pro-preview. Other valid options: gemini-3.1-pro-preview, gemini-3-flash-preview. Do NOT pass gemini-1.5-* or gemini-pro-vision — those are out of support.
imagesYesOne or more images to analyze
promptYesWhat to analyze or extract from the image(s)
max_tokensNoOutput token budget INCLUDING Gemini 3 thinking tokens. OMIT THIS — the server allocates the model's full output ceiling (a cap, not consumption; unused headroom costs nothing). Values below 4096 are IGNORED; values above the model's real limit are clamped.
global_media_resolutionNoGlobal image quality for cost optimization. MEDIUM recommended for PDFs (50% savings).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
successYes
Behavior5/5

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

With no annotations provided, the description carries full behavioral burden and does so excellently. It discloses output modality, the default model, the server-side max_tokens allocation behavior, the Gemini 3 thinking-token pitfall that can mimic a timeout, and a recommended timeout value. This is genuine transparency beyond what the schema provides.

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?

The description is front-loaded with purpose, then provides output modality, model default, a critical warning, and a timeout recommendation in only four sentences. Every sentence earns its place; there is no filler or redundancy.

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?

For a 5-parameter tool with a 100% documented schema and an output schema, the description is complete enough. It covers what the tool does, what it returns, the default model, the critical max_tokens constraint, and timeout expectations. The structured schema and output schema handle parameter details and return values, so the description does not need to repeat them.

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

Parameters4/5

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

Schema coverage is 100% with detailed per-parameter descriptions, so the baseline is 3. The description adds value by explicitly warning against setting max_tokens and explaining why ('a small cap is spent on Gemini 3 thinking and returns empty output that looks like a timeout'), plus pointing out the default model. This elevates it above the schema-only baseline.

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 opens with a specific verb and resource: 'Analyze and extract information from one or more images using Gemini multimodal understanding.' It also clarifies the output type ('Returns a text analysis - no image is generated'), which distinguishes it from image-generation siblings like generate_image. This is a clear, non-tautological statement of purpose.

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

Usage Guidelines4/5

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

The description gives clear use context: analyze/extract information from images and produce text output, not an image. It also provides critical operational guidance such as omitting max_tokens, the default model, and a recommended timeout. However, it does not explicitly name alternative tools like describe_image or state when NOT to use this tool versus those siblings, so it falls just short of a 5.

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