Skip to main content
Glama

account_add

DestructiveIdempotent

Add a new Google account: pass alias + email directly (plus optional bundles/allBundles/admin), or pass nothing for an interactive form where the client supports elicitation. Writes the registry and runs Google consent in the browser.

Instructions

Add a new Google account: pass alias + email directly (plus optional bundles/allBundles/admin), or pass nothing for an interactive form where the client supports elicitation. Writes the registry and runs Google consent in the browser. No file editing or restart needed to use the account (tools of a service it newly enables register at the next restart). Requires GOOGLE_CLIENT_ID/SECRET (run the setup prompt first if missing).

Input Schema

NameRequiredDescriptionDefault
adminNoGrant Workspace admin scopes (super-admin accounts only)
aliasNoAccount alias (letters, digits, _ or -). Pass with email to add directly, skipping the form.
emailNoThe account's Google address (used as the login hint)
accountNoAlias for the new account (same as `alias`; every other tool spells it `account`)
bundlesNoOptional scope bundles, comma-separated (e.g. "forms,chat"); blank = base scopes only
allBundlesNoGrant every optional bundle (biggest consent screen); overrides bundles

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.4.1

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: it writes the registry, launches Google consent in the browser, needs no file edit or restart, but services newly enabled only register at the next restart. The destructiveHint=true/write profile is consistent and further explained by 'writes the registry'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action and keeps everything in a tight, dense paragraph; each clause (modes, side effects, restart caveat, credential prerequisite) carries information. Parenthetical asides add minor length but not waste.

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

Completeness5/5

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

For an OAuth-flow tool with no output schema, it covers the necessary operational context: two invocation modes, side effects, restart timing, and credential prerequisites. Nothing an agent needs to call it correctly is missing.

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 all six parameters, including the alias/account aliasing. The description adds only the alias+email pairing rule and the bundles/allBundles/admin options, which is marginal over structured data, so the baseline 3 applies.

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+resource ('Add a new Google account') and immediately distinguishes itself from siblings like account_list and account_reauth by describing the add/registry-write behavior. An agent can tell what this does without opening the schema.

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 explicit invocation conditions: pass alias+email to add directly, or pass nothing for the interactive form on elicitation-capable clients, plus the GOOGLE_CLIENT_ID/SECRET prerequisite ('run the `setup` prompt first'). It does not explicitly contrast against account_reauth, so it falls just short of a 5.

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