Skip to main content
Glama

consult_gemini_oneshot

Read-only

Submit a single independent question to Gemini without maintaining session history. Suitable for one-off lookups or batch queries where context is unnecessary.

Instructions

Stateless single-shot Gemini query with no session history.

Use for independent questions, one-off lookups, or batch-style queries where conversation context would be noise. Still has tool access (list_directory, read_file, etc.) and retry logic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe question or instruction
modelNo"flash", "pro" (default), or full model IDpro
file_pathsNoLocal text files to read and include inline as context
media_pathsNoLocal image/PDF files (.png, .jpg, .webp, .gif, .pdf) for vision analysis
file_urisNoGemini File API URIs (from upload_file). Use for large files that exceed inline limits
json_modeNoReturn structured JSON output
response_schemaNoJSON schema string for structured output
cached_contentNoGemini context cache name
thinkingNoThinking level: "minimal", "low", "medium", "high", or None. Pro defaults to "high"
Behavior4/5

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

The description adds context about statelessness and retry logic beyond the readOnlyHint and openWorldHint annotations. However, it does not detail what happens on failure or idempotency guarantees, keeping it from a perfect score.

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 plus a line break, elegantly front-loading the core stateless concept and usage context with no wasted words.

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?

For a tool with 9 parameters, robust schema, and annotations, the description is mostly complete. It lacks mention of the return format (no output schema), but the statelessness and usage guidance are well-covered, earning a 4.

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?

With 100% schema description coverage, the schema already documents all parameters. The description does not add extra meaning beyond what the schema provides, meeting the baseline for a 3.

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 states 'Stateless single-shot Gemini query with no session history,' which clearly identifies the tool's purpose and distinguishes it from the sibling 'consult_gemini' that likely maintains session state.

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?

Explicitly advises using the tool for 'independent questions, one-off lookups, or batch-style queries where conversation context would be noise,' providing clear guidance on when to use it versus alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tobert/gpal'

If you have feedback or need assistance with the MCP directory API, please join our Discord server