Skip to main content
Glama
PaddleHQ
by PaddleHQ

get_notification_setting

Retrieve notification settings and webhook verification details from Paddle by ID to manage webhook destinations securely.

Instructions

This tool will retrieve a notification setting (notification destination) from Paddle by its ID.

The endpointSecretKey is returned for webhook signature verification, but is a secure value and should never be shared, never be made publicly-accessible, and should only be stored securely.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notificationSettingIdYesPaddle ID of the notification setting (destination).

Implementation Reference

  • The handler function that executes the tool logic: retrieves a notification setting by ID using the Paddle SDK's notificationSettings.get method.
    export const getNotificationSetting = async ( paddle: Paddle, params: z.infer<typeof Parameters.getNotificationSettingParameters>, ) => { try { const { notificationSettingId } = params; const notificationSetting = await paddle.notificationSettings.get(notificationSettingId); return notificationSetting; } catch (error) { return error; } };
  • src/tools.ts:709-720 (registration)
    Tool definition and registration in the tools array, including method name, description from prompts, parameters schema, and required actions for notificationSettings.
    { method: "get_notification_setting", name: "Get a notification setting", description: prompts.getNotificationSettingPrompt, parameters: params.getNotificationSettingParameters, actions: { notificationSettings: { read: true, get: true, }, }, },
  • src/api.ts:47-47 (registration)
    Mapping of the tool method constant to the handler function in the toolMap for execution.
    [TOOL_METHODS.GET_NOTIFICATION_SETTING]: funcs.getNotificationSetting,
  • Constant definition for the tool method name used in registrations.
    GET_NOTIFICATION_SETTING: "get_notification_setting",
  • Reference to the Zod schema for input parameters (getNotificationSettingParameters). Note: Actual schema definition not found in searchable files.
    parameters: params.getNotificationSettingParameters,

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