Skip to main content
Glama

Sign In to Google Flow

flow_account_login

Open a minimized browser window for interactive Google Flow sign-in and return waiting_for_login immediately, so you can connect or reconnect a local account profile when status reports needs_login.

Instructions

Open a minimized, unfocused browser window for interactive Google Flow sign-in and return waiting_for_login immediately. Only call when flow_account_status reports needs_login or when asked to connect/reconnect an account.

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

Input Schema

NameRequiredDescriptionDefault
forceNoSet true to open the sign-in browser even if the account is already marked connected.
labelNoOptional user-chosen display label for this local account profile.
accountIdNoOptional user-defined local account ID (e.g. 'default' or 'work'). Omit to use the active default account.

Output Schema

NameRequiredDescriptionDefault
statusYesLogin flow state: waiting_for_login when a background browser window was opened.
messageYesInstructions describing the next step for the user.
loginUrlNoGoogle Flow URL opened inside the isolated browser.
accountIdYesLocal account ID targeted by this login flow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare openWorldHint=true and non-read-only/non-idempotent, but the description adds genuinely new behavior: the window is minimized and unfocused, and the call returns immediately with a waiting_for_login state rather than blocking on completion. It stops short of saying what happens on timeout, user cancellation, or how login completion is detected.

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, both load-bearing: the first states the action and its non-blocking return, the second states the precondition. No filler and the critical behavior is front-loaded.

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?

An output schema exists so return values need no explanation, and all three optional parameters are documented. The non-blocking, interactive nature is disclosed. Only the follow-up expectation (how the agent learns the login finished) is left implicit.

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 100%, so force, label, and accountId are already fully documented in the schema. The description adds no parameter-level meaning beyond that, which is the correct baseline when the schema does the work.

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?

States a specific verb and resource — opening a browser window for interactive Google Flow sign-in — plus the non-obvious detail that the window is minimized/unfocused and the call returns immediately. An agent can distinguish this from flow_account_status and flow_account_logout without reading any schema.

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?

Gives an explicit gate: 'Only call when flow_account_status reports needs_login or when asked to connect/reconnect an account.' This names the sibling whose output triggers the call and the user-intent condition, which is exactly the routing information an agent needs.

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