Skip to main content
Glama
liveblocks
by liveblocks

delete-all-inbox-notifications

Remove all inbox notifications for a specified user on the Liveblocks MCP server to streamline workspace management and reduce clutter.

Instructions

Delete all Liveblocks inbox notifications

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYes

Implementation Reference

  • The handler function executes the tool by calling the Liveblocks API to delete all inbox notifications for the given userId, wrapped in callLiveblocksApi.
    async ({ userId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteAllInboxNotifications( { userId }, { signal: extra.signal } ) ); } );
  • Input schema defining the required 'userId' parameter as a string.
    { userId: z.string(), },
  • src/server.ts:742-756 (registration)
    The tool is registered using McpServer's tool method, specifying name, description, input schema, and handler function.
    server.tool( "delete-all-inbox-notifications", "Delete all Liveblocks inbox notifications", { userId: z.string(), }, async ({ userId }, extra) => { return await callLiveblocksApi( getLiveblocks().deleteAllInboxNotifications( { userId }, { signal: extra.signal } ) ); } );

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/liveblocks/liveblocks-mcp-server'

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