Skip to main content
Glama

ask_gemini

Delegates prompts and local files to Gemini free models for analyzing long documents, PDFs, images, audio/video, or answering questions with Google Search.

Instructions

Fragt Gemini (nur kostenlose Modelle). Gut für Video-/Audio-Analyse, sehr lange Dokumente/PDFs, Bilder und Fragen mit Google-Suche (use_google_search=true). - files: absolute Pfade zu Bildern, PDFs, Audio, Video, Text. Achtung Datenschutz: Eingaben im kostenlosen API-Tarif kann Google zur Verbesserung nutzen. Keine vertraulichen/persönlichen Inhalte ohne Zustimmung der Person senden. Bei Limit (429 / limit: 0) wird automatisch ein anderes Free-Modell probiert, sonst kommt eine Wartezeit bzw. ein Handoff-Vorschlag zurück.

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": "ask_gemini"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNo
modelNo
promptYes
systemNo
use_google_searchNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses the free-tier data-privacy risk (Google may use inputs for improvement), the rate-limit/fallback behavior, and the possibility of a handoff proposal. It does not describe upload/retention behavior for files or latency expectations, so one step below fully transparent.

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?

Purpose and capability list are front-loaded, the file-path constraint is set off as a bullet, and the privacy warning and limit behavior follow in short sentences. Dense but every line carries information; only the wrapping of the bullet into the running paragraph is slightly awkward.

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?

An output schema exists, so return values need not be explained, and the description covers the operationally risky aspects (privacy, rate limits, fallback). The remaining gap is that three of five parameters (model, prompt, system) are left entirely to an undocumented schema.

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 0%, so the description must compensate and only partly does: it explains that files take absolute paths to images/PDFs/audio/video/text and that use_google_search=true enables Google search. The model, prompt, and system parameters receive no explanation, and the free-vs-paid model selection implied by "nur kostenlose Modelle" is never resolved against the model parameter.

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+resource ("Fragt Gemini, nur kostenlose Modelle") and immediately lists the workloads it is suited for: video/audio analysis, very long documents/PDFs, images, and Google-Search-backed questions. It implicitly differentiates from ask_chatgpt by capability focus, but never names the alternative or states a hard boundary, so it stops short of a 5.

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?

Gives clear when-to-use triggers (multimodal input, very long context, Google search) and describes the failure path (429 / limit: 0 → automatic fallback to another free model, otherwise a wait time or handoff suggestion). It does not say when NOT to use it, e.g. which tasks should go to ask_chatgpt instead, so no explicit exclusions.

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