Skip to main content
Glama
tszaks

Gmail Multi-Inbox MCP Server

by tszaks

begin_account_auth

Initiate OAuth authentication for a Gmail account to enable multi-inbox management. Submit credentials JSON or a path to credentials.json to begin the authorization flow.

Instructions

Start OAuth onboarding for an account. Accepts credentials JSON or a path to credentials.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesEmail address for this account.
account_idYesStable id for this inbox account (letters/numbers/_/- only).
display_nameNoOptional display name (e.g., Personal, Work).
credentials_jsonNoOAuth client JSON object or JSON string from Google Cloud.
credentials_pathNoPath to an existing credentials.json file.
Behavior2/5

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

No annotations are provided, so the description must carry the burden. It only states that it starts onboarding and accepts credentials formats, but gives no details on side effects, return values, interactive steps, or failure modes. This is a significant gap for an auth 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?

The description is a single concise sentence that is front-loaded with the action and includes the key input detail. No wasted words.

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

Completeness2/5

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

With five parameters, no annotations, and no output schema, the description should explain the OAuth lifecycle, any prerequisites, and how this relates to finish_account_auth. It only gives a minimal overview, which is inadequate for an unfamiliar agent.

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 coverage is 100% with descriptions for all five parameters. The description adds that credentials can be provided as JSON or path, but this largely duplicates the schema fields. It doesn't clarify precedence or whether any parameter is conditionally required.

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 clearly states 'Start OAuth onboarding for an account' with a specific verb and resource. Accepting credentials JSON or a path adds detail. The name contrasts with the sibling finish_account_auth, making the purpose unambiguous.

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?

The description implies this is the entry point for OAuth authentication by saying 'Start OAuth onboarding,' but it doesn't provide explicit when-to-use instructions or mention alternatives like finish_account_auth. The context is somewhat clear but no exclusions are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tszaks/ghub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server