Skip to main content
Glama
PaddleHQ

Paddle MCP Server

Official
by PaddleHQ

list_notifications

Read-only

Retrieve and filter notification records from Paddle Billing to monitor delivery status, debug issues, and track event-based alerts with pagination and search capabilities.

Instructions

This tool will list notifications in Paddle.

When an event that has a notification destination occurs, Paddle creates a notification entity with information about the notification.

A single event might create multiple notifications. This is common when working with multiple notification destinations that are subscribed to the same events. When an event occurs, Paddle creates a separate notification entity for each notification destination. They'll share the same eventId, but have different notificationId.

Notifications older than 90 days aren't retained and won't be returned.

Use the maximum perPage by default (200) to ensure comprehensive results. Filter notifications by notificationSettingId, search (fuzzy search on the event's type or id), status, filter (pass a transaction, customer, or subscription ID), to, and from as needed. Results are paginated - use the 'after' parameter with the last ID from previous results to get the next page. Sort and order results using the orderBy parameter.

Check the following details to understand the success or failure of the notification delivery according to Paddle and debug issues:

  • status: Status of the notification.

    • notAttempted: Paddle hasn't yet tried to deliver this notification.

    • needsRetry: Paddle tried to deliver this notification, but it failed. It's scheduled to be retried.

    • delivered: Paddle delivered this notification successfully.

    • failed: Paddle tried to deliver this notification, but all attempts failed. It's not scheduled to be retried.

  • origin: Describes how this notification was created.

    • event: Notification created when a subscribed event occurred.

    • replay: Notification created when a notification with the origin event was replayed.

  • deliveredAt: RFC 3339 datetime string of when this notification was delivered. null if not yet delivered successfully.

  • lastAttemptAt: RFC 3339 datetime string of when this notification was last attempted.

  • retryAt: RFC 3339 datetime string of when this notification is scheduled to be retried.

  • timesAttempted: How many times delivery of this notification has been attempted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoReturn entities after the specified Paddle ID when working with paginated endpoints.
notificationSettingIdNoReturn entities related to the specified notification destination. Use a comma-separated list to specify multiple notification destination IDs.
orderByNoOrder returned entities by the specified field and direction.
perPageNoSet how many entities are returned per page. Returns the maximum number of results if a number greater than the maximum is requested.
searchNoReturn entities that match a search query. Pass an exact match for the Paddle ID or event type.
statusNoReturn entities that match the specified status. Use a comma-separated list to specify multiple status values.
filterNoReturn entities that contain the Paddle ID specified. Pass a transaction, customer, or subscription ID.
toNoReturn entities up to a specific time. Pass an RFC 3339 datetime string.
fromNoReturn entities from a specific time. Pass an RFC 3339 datetime string.

Implementation Reference

  • The core handler function `listNotifications` that executes the tool logic by calling `paddle.notifications.list(params)` and returning paginated notifications.
    export const listNotifications = async (
      paddle: Paddle,
      params: z.infer<typeof Parameters.listNotificationsParameters>,
    ) => {
      try {
        const collection = paddle.notifications.list(params);
        const notifications = await collection.next();
        const pagination = paginationData(collection);
        return { pagination, notifications };
      } catch (error) {
        return error;
      }
    };
  • src/tools.ts:757-768 (registration)
    Registration of the 'list_notifications' tool in the tools array, specifying method, name, description, parameters schema reference, and required actions.
    {
      method: "list_notifications",
      name: "List notifications",
      description: prompts.listNotificationsPrompt,
      parameters: params.listNotificationsParameters,
      actions: {
        notifications: {
          read: true,
          list: true,
        },
      },
    },
  • src/api.ts:51-51 (registration)
    Mapping of TOOL_METHODS.LIST_NOTIFICATIONS to the listNotifications handler function in the toolMap used by PaddleAPI to execute tools.
    [TOOL_METHODS.LIST_NOTIFICATIONS]: funcs.listNotifications,
  • src/constants.ts:43-43 (registration)
    Definition of the LIST_NOTIFICATIONS constant string used as the tool method identifier.
    LIST_NOTIFICATIONS: "list_notifications",
Behavior4/5

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

Annotations provide readOnlyHint=true, indicating a safe read operation. The description adds valuable behavioral context beyond this: it explains pagination mechanics, retention limits (90 days), and detailed status/enum explanations (e.g., status values like 'needsRetry', origin types). This enriches the agent's understanding of how the tool behaves in practice, though it could mention rate limits or authentication needs more explicitly.

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

Conciseness3/5

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

The description is front-loaded with the core purpose but becomes verbose with detailed explanations of statuses and other attributes that might be better suited for an output schema. While informative, some sentences (e.g., the lengthy status breakdown) could be trimmed for conciseness without losing essential guidance, making it slightly over-specified in parts.

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

Completeness4/5

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

Given the tool's complexity (9 parameters, no output schema), the description is quite complete. It covers purpose, usage, behavioral details like pagination and retention, and parameter guidance. However, without an output schema, it partially compensates by explaining returned attributes (e.g., status, origin), but could more explicitly structure this as return value documentation to be fully comprehensive.

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%, so the schema already documents all 9 parameters thoroughly. The description adds some semantic context by explaining how to use parameters (e.g., 'use the maximum perPage by default', 'filter notifications by...', 'use the 'after' parameter with the last ID'), but this mostly reinforces rather than significantly extends the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

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

Purpose5/5

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

The description clearly states the tool's purpose with a specific verb ('list') and resource ('notifications in Paddle'), and distinguishes it from siblings by focusing on notification entities rather than other resources like addresses, customers, or transactions. It explains what notifications are and how they relate to events, providing essential context.

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

Usage Guidelines4/5

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

The description provides clear context on when to use this tool by explaining the nature of notifications and their retention policy (older than 90 days aren't returned). It suggests default usage ('Use the maximum perPage by default') and lists filtering parameters. However, it does not explicitly state when to use alternatives like 'get_notification' or 'list_notification_logs', missing explicit sibling differentiation.

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

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