Skip to main content
Glama

Ask Gemini

gemini
Read-onlyIdempotent

Ask Google Gemini (gemini.google.com, as a logged-out user) and get its answer with the sources it grounded on. 3 credits; takes 5-30 s, a few up to 90; free if it fails. If it fails with upstream_timeout saying the answer is being finished in the background, call again with the same arguments within 10 minutes to receive it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "gemini"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackNoBrands or domains to check the answer for (mentions: named in the text, cited, listed as a source or product)
promptYesThe message to the assistant (up to 4,000 characters)
countryNoAsk from this country, e.g. us, de, gb (answers, prices and shops follow it)
languageNoInterface language, e.g. en, de
timeout_msNoGive up after this many milliseconds (default 118000) with a free upstream_timeout; set it under your tool-call timeout

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / timeout_ms / description
      Previous value: -"Give up after this many milliseconds (default 90000) with a free upstream_timeout; set it under your tool-call timeout"New value: +"Give up after this many milliseconds (default 118000) with a free upstream_timeout; set it under your tool-call timeout"
    • changedInput schema / properties / timeout_ms / maximum
      Previous value: -90000New value: +118000
  2. Changed1 schema field changed
    • addedInput schema / properties / timeout_ms
      Added value: +{
      +  "description": "Give up after this many milliseconds (default 90000) with a free upstream_timeout; set it under your tool-call timeout",
      +  "maximum": 90000,
      +  "minimum": 5000,
      +  "type": "integer"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Ask from this country, e.g. us, de, gb (answers, prices and shops follow it)",
      +  "type": "string"
      +}
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Interface language, e.g. en, de",
      +  "type": "string"
      +}
    • addedInput schema / properties / prompt
      Added value: +{
      +  "description": "The message to the assistant (up to 4,000 characters)",
      +  "type": "string"
      +}
    • addedInput schema / properties / track
      Added value: +{
      +  "description": "Brands or domains to check the answer for (mentions: named in the text, cited, listed as a source or product)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
  4. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already mark this read-only, open-world and idempotent, and the description adds substantial behavior beyond them: cost (3 credits), latency range (5-30 s, occasionally 90), free-on-failure billing, the logged-out-user vantage point, and the timeout-retry contract. The idempotency annotation is reinforced concretely by telling the agent the same arguments must be reused.

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?

Front-loads purpose, then cost/latency, then failure handling, in three dense sentences with no filler. The telegraphic cost and timing fragments ('3 credits; takes 5-30 s, a few up to 90; free if it fails') are compact without losing meaning.

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?

There is no output schema, and the description compensates by stating what comes back (the answer plus the sources it grounded on). For a five-parameter, open-world query tool, cost, latency, failure billing and the retry path are all covered, leaving nothing an agent needs before calling it.

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 five parameters (including country, language, track, timeout_ms) are already well documented in the schema; that sets the baseline at 3. The description adds no meaning beyond it except the implicit re-use of arguments on retry.

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?

States a specific verb and resource: ask Google Gemini (naming the domain and the logged-out-user stance) and get back its answer plus grounding sources. The model identity itself differentiates it from the chatgpt/copilot/brave_ai siblings, though the description never explicitly contrasts itself with them.

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?

No guidance on when to prefer this over the other assistant siblings (chatgpt, copilot, ai_mode); usage is only implied by naming which model it queries. It does, however, give a precise recovery protocol: on upstream_timeout, re-call with identical arguments within 10 minutes to retrieve the backgrounded answer.

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.