Skip to main content
Glama

list_webhooks

Retrieve all configured webhooks to monitor ShipBob fulfillment events like order status changes and inventory updates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the list_webhooks tool logic: fetches webhooks using shipbobClient and returns formatted JSON or error.
    handler: async () => { try { const webhooks = await shipbobClient.getWebhooks(); return { content: [{ type: "text", text: JSON.stringify(webhooks, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Error listing webhooks: ${error.message}` }], isError: true }; } }
  • The tool definition object for list_webhooks, part of the exported webhookTools array.
    name: "list_webhooks", description: "List all webhooks configured in your ShipBob account", schema: {}, handler: async () => { try { const webhooks = await shipbobClient.getWebhooks(); return { content: [{ type: "text", text: JSON.stringify(webhooks, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Error listing webhooks: ${error.message}` }], isError: true }; } } },
  • src/server.js:54-54 (registration)
    Registers the webhookTools array (including list_webhooks) with the MCP server using the registerTools helper function.
    registerTools(webhookTools);
  • Empty schema indicating no input parameters required for the list_webhooks tool.
    schema: {},

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

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