Skip to main content
Glama
japan08

multi-gmail-mcp

by japan08

Create MCP Gmail sidebar labels if missing

multi_gmail_setup_labels

Creates required Gmail labels for follow-up and review. Run when labels do not appear after connecting your account.

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
Behavior4/5

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

No annotations provided, but description discloses that this tool creates labels and requires certain OAuth scope (gmail.modify). Could mention idempotency or behavior if labels already exist, but overall transparent.

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?

Description is informative but a bit verbose; could be more concise. Front-loaded with main action, but includes troubleshooting details that might be better elsewhere.

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?

For a simple label creation tool, description covers purpose, usage trigger, and parameter pattern. No output schema, but return value may be obvious. Could mention success/failure cues.

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 has 0% description coverage. Description only mentions parameter names (accountAlias, chatScope) without describing their purpose or expected values, relying on 'like other Gmail tools' assumption.

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?

Description clearly states it creates specific Gmail labels (FOLLOW_UP, REVIEW) so they appear under Labels. It distinguishes from sibling setup_labels (non-multi) and other tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says use if labels didn't appear after connect/fetch, and provides troubleshooting for missing gmail.modify scope. Also instructs to pass accountAlias/chatScope like other Gmail tools.

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