Skip to main content
Glama

Gemini Research

gemini-research

Run a Gemini research query with quick, standard, or deep investigation modes and choose blocking answers or async job polling for long-running investigations.

Instructions

Run a research-oriented Gemini query. Supports quick, standard, and deep investigation modes. By default (wait: true), blocks and returns the full answer inline; with wait: false, returns a jobId for polling.

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": {
      "query": "<query>"
    },
    "name": "gemini-research"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoRequired when the prompt contains 2 or more @file references. A single @file ref is resolved by the CLI without cwd. If cwd is omitted with 2+ @file refs and the client supports elicitation, you will be prompted to provide it.
waitNoIf true (default), block until done and return the response directly.
depthNoResearch depth preset (default: standard)
modelNoGemini model to use (e.g. gemini-3-flash-preview, gemini-3-pro-preview). Defaults to CLI default.
queryYesresearch question or investigation topic
expandRefsNoSet to false to disable @file reference expansion. Useful when prompts contain framework @ syntax (e.g. Vue @click).
waitTimeoutMsNoTimeout for wait mode in ms. Defaults to 90000 for quick/standard depth, 180000 for deep. Falls back to async on timeout.

Output Schema

NameRequiredDescriptionDefault
jobIdYes
responseNo
timedOutNo
pollIntervalMsYes
partialResponseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false. Beyond those, the description usefully explains that default execution blocks and returns the answer inline, while wait:false returns a jobId for polling. It does not spell out job persistence or cost implications, but the annotations carry much of the safety profile.

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 two sentences, front-loaded with the core purpose, and contains no wasted wording. The execution behavior is placed immediately after the purpose, making it easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter tool with an output schema and detailed annotations, the description covers the core execution model adequately. However, it omits routing guidance relative to siblings like ask-gemini and gemini-poll, and does not describe the async job lifecycle beyond returning a jobId.

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 the schema already documents all parameters including cwd, wait, depth, model, expandRefs, and waitTimeoutMs. The description restates the depth modes and wait default but adds little semantic detail beyond what the schema provides.

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?

The description states a specific verb and resource: 'Run a research-oriented Gemini query,' and adds that it supports quick, standard, and deep investigation modes. It does not explicitly distinguish itself from siblings such as ask-gemini or gemini-batch, so it is clear but not fully differentiated.

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?

It implies research questions and investigation topics, and explains wait versus non-wait execution. However, it gives no explicit guidance on when to use this over ask-gemini or gemini-batch, and it mentions returning a jobId for polling without naming gemini-poll as the follow-up tool.

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