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');
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden. While 'Delete' implies a destructive mutation, the description doesn't disclose critical behavioral traits such as whether deletion is permanent, requires specific permissions, affects related data, or provides confirmation. This leaves significant gaps for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero wasted words. It's front-loaded with the core action and resource, making it immediately scannable and appropriately sized for its simple function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given this is a destructive mutation tool with no annotations and no output schema, the description is incomplete. It lacks essential context such as behavioral implications (e.g., irreversibility, side effects), success/failure responses, or error conditions, which are critical for safe tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with the single parameter 'id' documented as 'Notification ID'. The description adds no additional meaning beyond this, but the schema adequately covers the parameter. With high coverage and only one parameter, the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Delete') and resource ('a notification'), making the purpose immediately understandable. It doesn't explicitly differentiate from sibling tools like 'buddypress_delete_activity' or 'buddypress_delete_message', but the resource specificity provides adequate clarity.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. There's no mention of prerequisites (e.g., needing an existing notification ID), when not to use it, or how it differs from related tools like 'buddypress_update_notification' or 'buddypress_list_notifications'.

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

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