Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by aaronsb

manage_accounts

Manage Google Workspace account lifecycle by listing, authenticating, checking status, refreshing credentials, updating scopes, or removing accounts.

Instructions

Manage Google Workspace account lifecycle: list, authenticate, check status, refresh credentials, update scopes, or remove accounts.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "operation": "<operation>"
    },
    "name": "manage_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoRequired for remove, status, refresh, scopes
accessNoHow much this account may do. 'readwrite' (default) is full access. 'read' asks Google for read-only permissions instead, so the account can look things up but cannot send, edit or delete. Some services have no read-only option — you will be told which before the browser opens, and nothing is authorized until you confirm.
categoryNoFor authenticate (default: personal)
servicesNoFor scopes (required) and authenticate (optional, default: all services) — comma-separated service names (e.g. gmail,drive,calendar,sheets)
operationYeslist: show all accounts | authenticate: add new account (opens browser) | remove: delete account and credentials | status: check token validity and scopes | refresh: renew credentials | scopes: re-auth with different services | capabilities: show available services, safety policies, and workspace status
descriptionNoFor authenticate — optional label
confirmWriteAccessNoSet true to go ahead when 'read' was asked for but some services can only be granted full access. Only needed after a first call has told you which ones.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.9.1
    • changedInput schema / properties / services / description
      Previous value: -"For scopes — comma-separated service names (e.g. gmail,drive,calendar,sheets)"New value: +"For scopes (required) and authenticate (optional, default: all services) — comma-separated service names (e.g. gmail,drive,calendar,sheets)"
  2. First observedv4.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It does convey that this is a mutating, credential-touching lifecycle tool ('refresh credentials', 'remove accounts'), which is meaningful behavioral context. But it omits key traits an agent needs: that remove is destructive and irreversible, that authenticate requires an interactive browser step and user confirmation, and what permission level changes imply.

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?

A single front-loaded sentence opens with the resource and scope, then enumerates the operations compactly. There is no filler and no redundancy with the title, and an agent gets the full operation surface in one read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has seven parameters and no output schema, so the description should ideally characterize what list, status, and capabilities return. It does not. Parameters are well covered by the schema, but return-value expectations and the multi-operation dispatch model are left entirely implicit, which is a real gap for a tool of this complexity.

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 the schema already documents every parameter including the operation enum, access levels, and confirmWriteAccess semantics. The description adds no parameter meaning beyond that baseline — it merely restates the operation list. A 3 is the correct baseline when the schema does the explanatory work.

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 names a specific resource (Google Workspace accounts) and enumerates the concrete operations it performs: list, authenticate, status, refresh, scopes, remove. That makes the tool's domain clearly separable from siblings like manage_email or manage_drive, which operate on services rather than the accounts themselves. It stops short of a 5 only because it never explicitly frames itself as the account-administration tool relative to those siblings.

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 implied by the verb list — an agent can infer authenticate is for adding an account and remove is for deleting one. However, the description gives no explicit when-to-use versus when-not-to-use guidance, no prerequisites (e.g. that authenticate opens a browser flow), and names no alternative tool. The richer per-operation guidance lives in the schema's operation enum, not the description.

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