Skip to main content
Glama

Get Gemini Health

gemini-health
Read-onlyIdempotent

Returns runtime diagnostics for the Gemini CLI MCP server, including binary path, environment overrides, concurrency limits, job status totals, session counts, uptime, and CLI flag detection.

Instructions

Return runtime diagnostics: binary path, env overrides, pool/semaphore concurrency and pool errors, job totals with per-status counts, session count, server uptime, CLI version/flag detection status, and active flag adaptations.

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": "gemini-health"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
cliYes
envYes
jobsYes
poolYes
binaryYes
serverYes
sessionsYes
concurrencyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds the diagnostic scope and hints at what is inspected (env overrides, pool errors, flag adaptation status), but much of that enumeration overlaps the output schema and it says nothing about cost, side effects, or whether probing spawns a CLI process.

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?

A single front-loaded sentence with the verb and noun first, followed by a dense enumeration. Every item is plausibly relevant, though the long return-field list partly duplicates the output schema and could be trimmed.

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?

With no parameters, full annotation coverage, and an output schema documenting the return shape, the description needs only to establish purpose and scope, which it does. The one residual gap is the absence of usage context (when an agent should reach for a health check).

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so per the baseline there is nothing for the description to clarify. No parameter meaning is missing or misleading.

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 opens with a specific verb and resource ('Return runtime diagnostics') and then enumerates the concrete diagnostics (binary path, env overrides, pool/semaphore concurrency, uptime, CLI version/flag detection). This is unmistakably a health/diagnostics tool and is naturally distinct from the job-oriented siblings like gemini-poll or gemini-sessions, though it never names an alternative explicitly.

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?

Usage is only implied: an agent can infer this is for checking server/binary health or debugging configuration, but the description never states when to call it (e.g., before a batch run, when jobs fail, when troubleshooting env overrides) or when not to. No alternatives or prerequisites are mentioned.

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