Skip to main content
Glama
japan08

multi-gmail-mcp

by japan08

Create MCP Gmail sidebar labels if missing

setup_labels

Creates configured Gmail user labels so they appear in your label list. Use when labels are missing after connecting or due to insufficient permissions.

Instructions

Calls the Gmail API to create the configured user labels (FOLLOW_UP_GMAIL_LABEL_*, GMAIL_REVIEW_GMAIL_LABEL_*) so they appear under Labels in Gmail—no manual label setup. Use this if labels did not appear after connect or fetch (e.g. old OAuth token missing gmail.modify — re-run npm run auth -- --alias ... then reconnect). Pass accountAlias / chatScope like other Gmail tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountAliasNo
chatScopeNo
Behavior3/5

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

With no annotations provided, the description must fully disclose behavior. It conveys that the tool creates labels and implies it is safe to run even if labels exist (by saying 'create... if missing'). It mentions potential auth issues but does not discuss idempotency, rate limits, or exact permissions needed beyond gmail.modify.

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?

The description is reasonably concise, with two sentences explaining purpose and a second paragraph for usage guidance. However, the second paragraph includes a npm command and additional details that slightly reduce conciseness. Overall efficient.

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?

Given no annotations, output schema, or parameter descriptions, the description covers main use and a specific troubleshooting case. It lacks information about return values, error handling, or what happens when labels already exist. It is minimally complete for a simple setup tool but has clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must add meaning. It only states 'Pass accountAlias / chatScope like other Gmail tools,' which provides no independent explanation of what these parameters represent or their format. This is insufficient for an agent to understand parameter usage without external context.

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 the tool creates specific Gmail user labels (FOLLOW_UP_GMAIL_LABEL_*, GMAIL_REVIEW_GMAIL_LABEL_*) using the Gmail API. It distinguishes from sibling tools by focusing on label setup, not fetch, send, or other operations.

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?

The description explicitly states when to use the tool: if labels did not appear after connect or fetch, and even provides troubleshooting for missing gmail.modify scope. It does not, however, compare directly to sibling tools or state when not to use it.

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/japan08/MCP-server'

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