Skip to main content
Glama

Google Gemini 4 Argon & 3.1 Pro Generator & AI Model Discovery Oracle

generate_gemini_completion
Read-only

Generates text completions, structured reasoning, and discovers capabilities across all 45 Google Gemini models (Gemini 4 Argon, 3.1 Pro, 3.8 Flash) with zero API keys required. Use for reasoning or discovering available model IDs, context windows, and pricing (via 'action': 'discover_models'); for delegating autonomous multi-step tasks, use execute_antigravity_agent instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'prompt' or 'action' ('model' defaults to 'gemini-4-argon'), supports '?demo=true' or L402 (50 sats), and returns HTTP 400.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_gemini_completion"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoTarget Gemini foundation model identifier; defaults to 'gemini-4-argon' when omitted.
actionNoWorkflow mode: 'generate' (default) for completions, or 'discover_models' to list all 45 models, context limits, and pricing.
promptNoPrimary user instruction or reasoning prompt to send to the selected Gemini model.

Output Schema

NameRequiredDescriptionDefault
modelYesGemini model identifier that executed the completion.
modelsNoCatalog of available Gemini models with context limits and pricing when action is discover_models.
outputYesGenerated model response text.
successYesTrue when inference or discovery completed without upstream errors.
total_countNoTotal number of available Gemini foundation models.
grounding_metadataNoOptional citation metadata if search grounding was enabled.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / action / description
      Previous value: -"Workflow mode: 'generate' (default) for completions, or 'discover_models' to list all 50+ models, context limits, and pricing."New value: +"Workflow mode: 'generate' (default) for completions, or 'discover_models' to list all 45 models, context limits, and pricing."
  2. Changed1 schema field changed
    • changedInput schema / properties / action / description
      Previous value: -"Workflow mode: 'generate' (default) for completions, or 'discover_models' to list all 45 models, context limits, and pricing."New value: +"Workflow mode: 'generate' (default) for completions, or 'discover_models' to list all 50+ models, context limits, and pricing."
  3. Changed6 schema fields changed
    • addedInput schema / properties / action
      Added value: +{
      +  "description": "Workflow mode: 'generate' (default) for completions, or 'discover_models' to list all 45 models, context limits, and pricing.",
      +  "enum": [
      +    "generate",
      +    "discover_models"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "prompt"
      -]
    • addedOutput schema / properties / models
      Added value: +{
      +  "description": "Catalog of available Gemini models with context limits and pricing when action is discover_models.",
      +  "type": "array"
      +}
    • changedOutput schema / properties / success / description
      Previous value: -"True when inference completed without upstream errors."New value: +"True when inference or discovery completed without upstream errors."
    • addedOutput schema / properties / total_count
      Added value: +{
      +  "description": "Total number of available Gemini foundation models.",
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "model",
      -  "output",
      -  "success",
      -  "grounding_metadata"
      -]New value: +[
      +  "model",
      +  "output",
      +  "success"
      +]
  4. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description usefully adds zero-key access, statelessness, a 32 KB payload cap, 60 RPM, and L402 demo pricing. However, the dangling 'returns HTTP 400' clause is cryptic and the interaction between demo mode and payment is not explained, so the extra context is real but partly confusing.

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?

Front-loaded with the core action and the alternative, contained in two dense sentences with no filler paragraphs. The marketing phrasing ('Oracle', 'Argon') and the unexplained HTTP 400 tail are minor noise.

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?

An output schema exists, so return values need not be described, and usage plus rate/payload limits are covered. But the model-count mismatch and the vague error behavior leave gaps an agent would want resolved before calling.

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 coverage is 100% and the schema already documents the model default, the two action modes, and the prompt field. The description only repeats the default model and adds a size constraint, so baseline 3 is appropriate.

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 specific verbs and resources: generates completions/structured reasoning and discovers model capabilities, and names the sibling it is not (execute_antigravity_agent). It loses a point because the '45 models' claim conflicts with the four-model enum in the schema, which can mislead an agent about scope.

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?

Explicitly says to use this for reasoning or for discovering model IDs/context/pricing via action='discover_models', and routes autonomous multi-step work to execute_antigravity_agent. It stops short of 5 because it does not contrast with the other generative siblings (embeddings, image, video, speech), leaving an agent to infer those distinctions.

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.