Skip to main content
Glama

buddypress_delete_notification

Remove a specific notification from a BuddyPress community site by providing its ID to manage user alerts and clean up notification lists.

Instructions

Delete a notification

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNotification ID

Implementation Reference

  • src/index.ts:492-501 (registration)
    Registration of the 'buddypress_delete_notification' tool, including its description and input schema.
    name: 'buddypress_delete_notification', description: 'Delete a notification', inputSchema: { type: 'object', properties: { id: { type: 'number', description: 'Notification ID', required: true }, }, required: ['id'], }, },
  • Input schema for the buddypress_delete_notification tool defining the required 'id' parameter.
    inputSchema: { type: 'object', properties: { id: { type: 'number', description: 'Notification ID', required: true }, }, required: ['id'], },
  • Handler logic that executes a DELETE request to the BuddyPress notifications endpoint using the provided notification ID.
    else if (name === 'buddypress_delete_notification') { result = await buddypressRequest(`/notifications/${args.id}`, 'DELETE'); }

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/vapvarun/buddypress-mcp'

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