Skip to main content
Glama

stop_mail_watch

Disable push notifications for a Gmail mailbox to manage email alerts and reduce interruptions.

Instructions

Stop receiving push notifications for the given user mailbox

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:1315-1324 (registration)
    Registration of the 'stop_mail_watch' MCP tool using McpServer.tool(). Includes inline handler function that calls Gmail API's users.stop() via the shared handleTool utility to stop mailbox push notifications.
    server.tool("stop_mail_watch", "Stop receiving push notifications for the given user mailbox", {}, async () => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.stop({ userId: 'me' }) return formatResponse(data) }) } )
  • Inline handler function for 'stop_mail_watch' tool. Uses handleTool to authenticate and execute Gmail API call to stop watching the mailbox for changes.
    async () => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.stop({ userId: 'me' }) return formatResponse(data) }) }
  • Input schema for 'stop_mail_watch' tool: no parameters required.
    {},

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/nk900600/gmail-mcp'

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