Skip to main content
Glama

gemini_ask

Read-only

Ask Gemini questions, review local files, or get a second opinion on code/design using your Google AI Pro plan, with no API cost.

Instructions

Ask Gemini a question or give it a reading task, through the Antigravity CLI on the user's Google AI Pro plan (no API cost; uses the plan's limits).

    Good for a second opinion on code or a design, reviewing local files passed
    in `paths`, and long reasoning. The text of each file up to 20 000
    characters goes into the prompt, so pass the files themselves; Gemini
    can't open folders or larger files on its own when the Antigravity CLI
    runs headless. Gemini runs read-only: it can search the web but cannot
    change files or run commands. For web research with cited sources use
    gemini_research; to let Gemini edit a folder use gemini_code.

    Args:
        prompt: The question or task.
        model: Model id from gemini_models (e.g. "gemini-3.8-flash-medium");
            default is agy's (or GEMINI_PRO_AGY_MODEL).
        paths: Local files for Gemini to read; their text is sent with the
            prompt (about 22 000 characters in all).
        conversation_id: Continue an earlier gemini_ask/gemini_research chat.
        effort: Reasoning effort: low, medium, high, xhigh or max.

    Returns:
        Gemini's answer and a conversation_id for follow-ups.
    

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_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
pathsNo
effortNo
promptYes
conversation_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, openWorldHint, non-idempotent), the description discloses the operating envelope: no API cost, consumption of plan limits, read-only behavior with web search but no file mutation or command execution, and a headless mode that prevents Gemini from opening folders or oversized files. It also documents the per-file 20 000 character budget and roughly 22 000 character total, which are failure-relevant constraints the agent cannot infer from structured fields.

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, comparisons, and Args/Returns are cleanly separated and front-loaded in a short paragraph before the field reference. Minor duplication remains: the file character budget is stated once as '20 000 characters' per file and again as 'about 22 000 characters in all', which reads as a slight inconsistency rather than a single crisp limit.

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 five-parameter, read-only query tool with an output schema already present, the description covers everything needed to call it correctly: billing context, routing to siblings, read-only scope, input size limits, conversation continuation via conversation_id, and model selection. The explicit Returns note is redundant against the output schema but harmless.

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

Parameters5/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 carry the full burden, and it does: every one of the five parameters is explained in the Args block. It adds meaning beyond the raw schema by tying model ids to gemini_models with an example, telling the agent that paths contents are inlined rather than autonomously opened, and enumerating effort values with their intent.

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-plus-resource ('Ask Gemini a question or give it a reading task') and immediately names the execution channel and billing context (Antigravity CLI, Google AI Pro plan, no API cost). It also distinguishes itself from siblings in the body, so an agent can tell it apart from gemini_research and gemini_code without opening another schema.

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

Usage Guidelines5/5

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

It states positive use cases (second opinion on code or design, reviewing local files, long reasoning) and explicitly routes competing needs elsewhere: 'For web research with cited sources use gemini_research; to let Gemini edit a folder use gemini_code.' That is an explicit when/when-not with named alternatives.

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