Skip to main content
Glama

reset_unread_notification_count

Reset the unread notification count in Backlog project management to clear all pending notifications and maintain an organized task view.

Instructions

Reset unread notification count

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Factory function defining the 'reset_unread_notification_count' tool, including its name, description, input/output schemas, and the core handler logic that calls `backlog.resetNotificationsMarkAsRead()` to reset unread notifications.
    export const resetUnreadNotificationCountTool = ( backlog: Backlog, { t }: TranslationHelper ): ToolDefinition< ReturnType<typeof resetUnreadNotificationCountSchema>, (typeof NotificationCountSchema)['shape'] > => { return { name: 'reset_unread_notification_count', description: t( 'TOOL_RESET_UNREAD_NOTIFICATION_COUNT_DESCRIPTION', 'Reset unread notification count' ), schema: z.object(resetUnreadNotificationCountSchema(t)), outputSchema: NotificationCountSchema, handler: async () => backlog.resetNotificationsMarkAsRead(), }; };
  • Defines the empty input schema for the tool using buildToolSchema (no parameters required).
    const resetUnreadNotificationCountSchema = buildToolSchema((_t) => ({}));
  • Registers the tool instance within the 'notifications' toolset group returned by the allTools function.
    resetUnreadNotificationCountTool(backlog, helper),

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

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