Skip to main content
Glama

aistudio_browser_login

Opens a visible Chrome window for a one-time Google sign-in and saves the session to a local profile, letting AI Studio tools run with your account without an API key.

Instructions

Open Google AI Studio (https://aistudio.google.com) in a visible Chrome window to sign in once with your Google account.

Saves your sign-in in ~/.google-ai-studio-mcp/chrome-profile so all AI Studio tools can run using your account without an API key.

Args: wait_seconds: Seconds to wait for you to finish signing in (default 180).

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

Input Schema

NameRequiredDescriptionDefault
wait_secondsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that a visible browser window is opened, that a human must interact, and that credential state is persisted to a specific path (`~/.google-ai-studio-mcp/chrome-profile`) enabling keyless auth elsewhere. It doesn't say what happens if the wait elapses before sign-in completes, which is the main remaining gap for a blocking, side-effecting tool.

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?

Three compact sentences plus a single arg line; the core action and its payoff are front-loaded, and the filesystem path and default are the only extra details, both of which earn their place.

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 needn't be described. For a tool that blocks on human interaction, the description covers the window, the wait budget, and the persisted profile; only timeout/failure semantics are left unaddressed.

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?

Schema coverage is 0% and the schema exposes only a title and default for `wait_seconds`, so the description must supply the meaning — and it does, explaining the parameter as the time allowed for the user to finish signing in, with the 180s default restated. It doesn't state the behavior on expiry, leaving one edge case ambiguous.

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 states a specific verb (open) and resource (Google AI Studio in a visible Chrome window) along with the intent (sign in once with a Google account), and it clarifies the downstream effect ('so all AI Studio tools can run'), which distinguishes it from the generation/inspection siblings as a one-time setup step.

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?

'Sign in once' makes clear this is a prerequisite/setup action rather than a per-request tool, implying when to reach for it. It stops short of explicit exclusions (e.g. what to do if already signed in, or whether re-running refreshes the session), so guidance is clear but not exhaustive.

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