Skip to main content
Glama

gemini_chat: GET /

hasdata_gemini_chat_getGeminiAnswer
Read-only

Get Google Gemini Answer

Sends a prompt to Google Gemini anonymously and returns the markdown answer plus cited web sources (domain, title, snippet, cited text, favicon), inline images (source page, thumbnail, alt), the detected model, answer language, whether a web search ran, and a subsequentRequestToken. The answer language follows the prompt and hl. Pass the subsequentRequestToken from a previous answer to continue that conversation; omit it to start fresh. Use for cited answers, RAG grounding, AI-visibility monitoring or model-answer datasets.

Input Schema

NameRequiredDescriptionDefault
hlNoInterface language for the answer, as a BCP-47 locale such as `en-US` or `de-DE`. The answer language also follows the language of the prompt.
promptYesThe question or instruction to send to Google Gemini, up to 8000 characters. A prompt that asks about recent events makes Gemini search the web and return sources; a general-knowledge prompt is answered from the model alone. The prompt also decides the language of the answer — write it in the language you want back, or ask for one explicitly.
subsequentRequestTokenNoToken returned in a previous answer as `subsequentRequestToken`. Pass it back to continue that conversation, so Gemini answers the new prompt with the earlier turns in context. Omit it to start a fresh conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered; the description adds genuinely new behavioral facts — the call is anonymous, answer language follows prompt/hl, web search may or may not run depending on the prompt, and a continuation token governs multi-turn context. It does not mention rate limits, quotas or failure modes, which keeps it from a 5.

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 first sentence front-loads the core purpose and the return payload enumeration earns its space because there is no output schema. The prose is dense and mostly waste-free, though the inline list of return fields is long enough to slightly dilute the front-loading.

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?

With no output schema, the description correctly compensates by enumerating the return shape (markdown answer, sources with domain/title/snippet/cited text, images, detected model, language, search flag, token). Parameters and multi-turn behavior are covered; only error behavior and any quota expectations are absent.

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 all three parameters are already fully documented in the schema, including the hl locale format and the 8000-character prompt limit. The description restates the language-follows-prompt and token-continuation semantics rather than adding syntax or edge-case detail, so baseline 3 applies.

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 gives a specific verb and resource — send a prompt to Google Gemini and return the markdown answer with cited sources and images — and the provider name inherently separates it from the ChatGPT and Perplexity chat siblings as well as the Google SERP AI-mode/overview tools. An agent can tell what it produces without opening the schema.

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?

It names concrete use cases ('cited answers, RAG grounding, AI-visibility monitoring or model-answer datasets') and gives an explicit rule for conversation control: pass subsequentRequestToken to continue, omit it to start fresh. It stops short of naming when to prefer this over hasdata_chatgpt_chat_getChatgptAnswer or hasdata_perplexity_chat_getPerplexityAnswer.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources