Skip to main content
Glama
liveblocks

Liveblocks

Official
by liveblocks

delete-inbox-notification

Remove specific notifications from a user's Liveblocks inbox to manage real-time collaboration alerts and maintain organized communication channels.

Instructions

Delete a Liveblocks inbox notification

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYes
inboxNotificationIdYes

Implementation Reference

  • The handler function for the 'delete-inbox-notification' tool that calls the Liveblocks API to delete the specified inbox notification for a user.
    async ({ userId, inboxNotificationId }, extra) => {
      return await callLiveblocksApi(
        getLiveblocks().deleteInboxNotification(
          { userId, inboxNotificationId },
          { signal: extra.signal }
        )
      );
    }
  • Zod schema defining the input parameters for the tool: userId (string) and inboxNotificationId (string).
    {
      userId: z.string(),
      inboxNotificationId: z.string(),
    },
  • src/server.ts:725-740 (registration)
    Registration of the 'delete-inbox-notification' tool using McpServer.tool(), including name, description, input schema, and inline handler function.
    server.tool(
      "delete-inbox-notification",
      "Delete a Liveblocks inbox notification",
      {
        userId: z.string(),
        inboxNotificationId: z.string(),
      },
      async ({ userId, inboxNotificationId }, extra) => {
        return await callLiveblocksApi(
          getLiveblocks().deleteInboxNotification(
            { userId, inboxNotificationId },
            { signal: extra.signal }
          )
        );
      }
    );
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Delete' implies a destructive operation, it doesn't specify whether this is permanent, reversible, requires specific permissions, or has side effects. No information about rate limits, error conditions, or response format is included.

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 that states the core purpose without unnecessary words. It's appropriately sized for a simple deletion operation and front-loads the essential information.

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?

For a destructive operation with 2 required parameters, 0% schema coverage, no annotations, and no output schema, the description is inadequate. It doesn't explain what happens after deletion, error conditions, permissions needed, or how to identify the correct notification to delete given the sibling tools available.

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

Parameters2/5

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

Schema description coverage is 0%, and the description provides no information about the two required parameters (userId, inboxNotificationId). No context about parameter formats, validation rules, or relationships between parameters is given, leaving significant gaps in understanding how to properly invoke this tool.

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 action ('Delete') and resource ('a Liveblocks inbox notification'), providing specific verb+resource pairing. However, it doesn't differentiate from the sibling tool 'delete-all-inbox-notifications' which handles bulk deletion, leaving some ambiguity about when to use each.

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?

No guidance is provided about when to use this tool versus alternatives like 'delete-all-inbox-notifications' or 'delete-notification-settings'. The description lacks context about prerequisites, permissions needed, or typical scenarios for single notification deletion.

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

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