Skip to main content
Glama

gemini_consult

Get a second opinion from Gemini on code or design, with optional file paths and session continuation for follow-up context.

Instructions

Ask Gemini (via the agy CLI, subscription) for a second opinion on code or a design.

file_paths: files Gemini should read (it opens them itself; nothing is uploaded here). session_id: continue an earlier session; omit to start a new one (the id is returned). model: agy model id (default gemini-4-neon-high; see agy models). For reviewing a git diff, gemini_review is better. Returns Gemini's answer as text.

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

Input Schema

NameRequiredDescriptionDefault
modelNo
promptYes
file_pathsNo
session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful traits: it shells out to the agy CLI via a subscription, Gemini opens the files itself (nothing uploaded), session ids enable continuation and are returned, and the answer comes back as text. It says nothing about latency, costs, failure modes, or limits on prompt size, which are material gaps for a remote-model call.

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 one-line purpose followed by parameter notes, with no filler. The per-parameter layout is scannable, though the prose would read slightly better as an explicit list.

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?

There is no output schema, and the description correctly states the return value (text) and the session-id return. For a four-parameter tool with mutation-free semantics this is nearly complete, missing only error and limit behavior.

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; it explains file_paths, session_id (including the omit-to-start-new behavior and the returned id), and model with a default and a lookup command. The required prompt parameter is left unexplained, and there is no detail on path semantics or model-id format, leaving one of four parameters undocumented.

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?

Names a specific action (ask Gemini for a second opinion on code or a design) plus the transport (agy CLI, subscription), and explicitly distinguishes itself from gemini_review for git diffs. It stops short of a fully precise resource scope, but an agent can tell what it is for.

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 a clear use case (second opinion on code or design) and an explicit alternative for diff review (gemini_review). It does not state exclusions for the other siblings or when a consult is inappropriate, so it lacks full when/when-not coverage.

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