Skip to main content
Glama

Sign Out of Google Flow

flow_account_logout
DestructiveIdempotent

Signs out a Google Flow account, closes its browser sessions, and deletes saved profile cookies when an administrator requests disconnecting or resetting it.

Instructions

Sign out a Google Flow account, close its browser sessions, and delete its saved profile cookies. Only call when an administrator explicitly requests disconnecting or resetting 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_logout"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdNoOptional user-defined local account ID (e.g. 'default' or 'work'). Omit to use the active default account.
removeRecordNoSet true to also remove the account entry from accounts.json in addition to clearing cookies.

Output Schema

NameRequiredDescriptionDefault
statusYesConfirms the account session was cleared.
messageYesConcise confirmation message.
accountIdYesLocal account ID that was signed out.
removedRecordYesTrue when the account record itself was removed.
clearedProfileYesTrue when browser profile cookies and session files were deleted.

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 destructiveHint=true and idempotentHint=true, so the description's job is to specify what is actually destroyed. It does that concretely by naming session closure and cookie deletion, which is genuine added context beyond the hint flags. It stops short of saying whether the account record or credentials survive by default, though the removeRecord parameter in the schema partly fills that gap.

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, no filler: the first front-loads effects, the second front-loads the invocation constraint. Every clause carries distinct information.

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 the annotations carry the safety profile. The description covers the destructive effects and the authorization precondition adequately for a two-parameter tool, with only minor residual ambiguity about post-logout account state.

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 both accountId and removeRecord are already fully documented, including the default-account fallback and the accounts.json removal behavior. The description adds no parameter-level meaning beyond that, which is the expected 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 ('Sign out') with a named resource ('Google Flow account') and enumerates the concrete side effects: closing browser sessions and deleting saved profile cookies. This immediately distinguishes it from flow_account_login and flow_account_status even without opening schemas.

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 an explicit gating condition: 'Only call when an administrator explicitly requests disconnecting or resetting an account,' which functions as a when-not-to-use rule for casual or self-initiated logout. It does not name an alternative tool for less destructive inspection (e.g. flow_account_status), but the constraint itself is clear and actionable.

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