Skip to main content
Glama

Run Google Flow Plugin Diagnostics

flow_doctor
Read-onlyIdempotent

Checks local environment health—Node.js version, detected Chrome/Chromium/Edge, plugin data directory, FFprobe, and Google Flow login—without opening a browser. Run it during setup or troubleshooting.

Instructions

Inspect local environment health (Node.js version, detected Chrome/Chromium/Edge browser, plugin data directory, FFprobe, and Google Flow login session) without opening a browser. Run during installation or when troubleshooting errors.

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": "flow_doctor"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdNoOptional user-defined local account ID to validate alongside the environment check.

Output Schema

NameRequiredDescriptionDefault
okYesTrue when local Node.js and Chromium browser prerequisites are met.
nodeYes
issuesYesActionable list of missing prerequisites or login issues.
serverYesMCP server identifier.
browserYes
dataDirYesResolved absolute plugin data directory.
sessionYes
versionYesPlugin version (semver).
platformYesOperating system platform.
nodeVersionYesActive Node.js runtime version.
dataDirSourceYes
browserDetectedYesTrue when a Chromium/Chrome/Brave/Edge executable is found.
ffprobeAvailableYesTrue when ffprobe is available in PATH.
browserExecutableNoDetected browser executable path.
readyForGenerationYesTrue when environment and Google Flow session are both ready.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior4/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 covered. The description adds behavior not in the structured data: the check never launches a browser, and it reports a discrete set of environment signals including the login session state. It does not say what happens when a check fails or whether the call ever errors rather than reporting unhealthy status, which keeps it from a 5.

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?

Two sentences, zero filler, with the substantive scope statement front-loaded and the usage trigger appended. Nothing is repeated from the title or schema.

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 an output schema present, the description need not explain return values, and it covers both scope and timing for a read-only diagnostic. The only gap is outcome semantics — whether failed checks surface as errors or as data — which an agent might reasonably want 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?

The single accountId parameter is fully documented in the schema (100% coverage) as an optional local account ID validated alongside the environment check. The description never references it, so it adds no meaning beyond the schema; baseline 3 applies when the schema carries parameter semantics.

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 pairs a specific verb ("inspect") with a clearly scoped resource ("local environment health") and enumerates exactly what is checked: Node.js version, detected Chrome/Chromium/Edge browser, plugin data directory, FFprobe, and login session. That enumeration distinguishes it from the account-oriented siblings like flow_account_status and flow_inspect_account without needing to name them.

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?

"Run during installation or when troubleshooting errors" gives concrete triggers for invocation, and "without opening a browser" implicitly separates it from browser-launching flows. It stops short of naming a specific alternative tool or stating exclusions explicitly, so it lands at a clear 4 rather than a 5.

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