Skip to main content
Glama
PaddleHQ
by PaddleHQ

list_products

Retrieve and manage products from your Paddle catalog with pagination, filtering by status, tax category, and type, and sorting options. Includes related entities like prices for detailed insights.

Instructions

This tool will list products in your Paddle catalog.

Use the maximum perPage by default (200) to ensure comprehensive results. Filter products by status, tax category, and type as needed. Results are paginated - use the 'after' parameter with the last ID from previous results to get the next page. Sort results using orderBy parameter. Include related entities like prices if needed. Amounts are in the smallest currency unit (e.g., cents).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoCursor for use in pagination. Represents the ID of the last entity in the previous page of results.
idNoFilter products by their ID. Accepts multiple values.
includeNoRelated data to include in the response.
orderByNoSort order for returned items.
perPageNoNumber of items to be returned per page (default: 25, maximum: 50).
statusNoFilter products by their status. Accepts multiple values.
taxCategoryNoFilter products by their tax category. Accepts multiple values.
typeNoFilter products by their type. Accepts multiple values.

Implementation Reference

  • The main handler function that executes the list_products tool logic using the Paddle SDK to list products with pagination.
    export const listProducts = async (paddle: Paddle, params: z.infer<typeof Parameters.listProductsParameters>) => { try { const collection = paddle.products.list(params); const products = await collection.next(); const pagination = paginationData(collection); return { pagination, products }; } catch (error) { return error; } };
  • Tool schema definition specifying the method, name, description, Zod parameters schema, and required actions for the list_products tool.
    method: "list_products", name: "List products", description: prompts.listProductsPrompt, parameters: params.listProductsParameters, actions: { products: { read: true, list: true, }, }, },
  • src/api.ts:10-10 (registration)
    Registration of the listProducts handler function in the toolMap under the LIST_PRODUCTS key, used by PaddleAPI to dispatch tool calls.
    [TOOL_METHODS.LIST_PRODUCTS]: funcs.listProducts,
  • Constant defining the tool method string 'list_products' used in schema and registration.
    LIST_PRODUCTS: "list_products",

Other Tools

Related 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