Skip to main content
Glama

list_webhooks

Retrieve a list of active webhooks registered with the ShipBob API to monitor events like order updates, inventory changes, and fulfillment statuses.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": {}, "type": "object" }

Implementation Reference

  • The handler function that executes the list_webhooks tool logic: fetches webhooks using shipbobClient.getWebhooks() 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 }; }
  • Input schema for the list_webhooks tool (empty, no parameters).
    schema: {},
  • src/server.js:54-54 (registration)
    Registration of webhookTools array (containing list_webhooks) to the MCP server via registerTools function.
    registerTools(webhookTools);
  • Tool name definition within the webhookTools array.
    name: "list_webhooks",

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