Skip to main content
Glama

meta_get_webhook_subscriptions

List active webhook subscriptions for Meta apps to monitor API events and manage notifications.

Instructions

List current webhook subscriptions for the Meta App.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the meta_get_webhook_subscriptions tool, which calls the Meta API to list current subscriptions.
    // ─── meta_get_webhook_subscriptions ──────────────────────────
    server.tool(
      "meta_get_webhook_subscriptions",
      "List current webhook subscriptions for the Meta App.",
      {},
      async () => {
        try {
          const { data, rateLimit } = await client.meta("GET", `/app/subscriptions`);
          return { content: [{ type: "text", text: JSON.stringify({ ...data as object, _rateLimit: rateLimit }, null, 2) }] };
        } catch (error) {
          return { content: [{ type: "text", text: `Get webhooks failed: ${error instanceof Error ? error.message : String(error)}` }], isError: true };
        }
      }
    );

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/mikusnuz/meta-mcp'

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