Skip to main content
Glama
Prototypr

Feedbagel MCP Server

Official
by Prototypr

resume_webhook

Resume a paused webhook subscription to continue receiving RSS feed updates.

Instructions

[write] Resume deliveries for a paused webhook subscription.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
webhook_idYesWebhook subscriber UUID

Implementation Reference

  • Handler for resume_webhook: sends a POST request to /api/v1/webhooks/{webhook_id}/resume using the FeedbagelClient, with input schema WebhookIdInput (requires webhook_id string).
      name: "resume_webhook",
      description: "Resume deliveries for a paused webhook subscription.",
      scope: "write",
      inputSchema: WebhookIdInput,
      handler: ({ webhook_id }: any, c) =>
        c.request("POST", `/api/v1/webhooks/${webhook_id}/resume`),
    },
  • Compiled handler for resume_webhook (same logic as src/tools.ts).
        name: "resume_webhook",
        description: "Resume deliveries for a paused webhook subscription.",
        scope: "write",
        inputSchema: WebhookIdInput,
        handler: ({ webhook_id }, c) => c.request("POST", `/api/v1/webhooks/${webhook_id}/resume`),
    },
  • WebhookIdInput schema: requires a webhook_id string (UUID). Used as the inputSchema for resume_webhook.
    const WebhookIdInput = z.object({
      webhook_id: z.string().describe("Webhook subscriber UUID"),
    });
  • src/index.ts:45-86 (registration)
    MCP CallToolRequestSchema handler that looks up tools by name (including resume_webhook) from the TOOLS array, parses input, and invokes the handler.
    server.setRequestHandler(CallToolRequestSchema, async (req) => {
      const tool = TOOLS.find((t) => t.name === req.params.name);
      if (!tool) {
        return {
          isError: true,
          content: [{ type: "text", text: `Unknown tool: ${req.params.name}` }],
        };
      }
      const parsed = tool.inputSchema.safeParse(req.params.arguments ?? {});
      if (!parsed.success) {
        return {
          isError: true,
          content: [
            {
              type: "text",
              text: `Invalid arguments: ${parsed.error.message}`,
            },
          ],
        };
      }
      try {
        const result = await tool.handler(parsed.data, client);
        return {
          content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
        };
      } catch (err) {
        const e = err as Error & { status?: number; body?: unknown };
        return {
          isError: true,
          content: [
            {
              type: "text",
              text: JSON.stringify(
                { error: e.message, status: e.status, body: e.body },
                null,
                2,
              ),
            },
          ],
        };
      }
    });
  • FeedbagelClient class with request() method that performs the actual HTTP call for resume_webhook's handler.
    export class FeedbagelClient {
      private apiKey: string;
      private baseUrl: string;
    
      constructor(opts: ClientOptions) {
        if (!opts.apiKey) throw new Error("FEEDBAGEL_API_KEY is required");
        this.apiKey = opts.apiKey;
        this.baseUrl = (opts.baseUrl ?? DEFAULT_BASE).replace(/\/$/, "");
      }
    
      async request(
        method: string,
        path: string,
        body?: unknown,
      ): Promise<unknown> {
        const res = await fetch(`${this.baseUrl}${path}`, {
          method,
          headers: {
            Authorization: `Bearer ${this.apiKey}`,
            ...(body !== undefined ? { "content-type": "application/json" } : {}),
          },
          body: body !== undefined ? JSON.stringify(body) : undefined,
        });
    
        const text = await res.text();
        let json: unknown = undefined;
        try {
          json = text ? JSON.parse(text) : undefined;
        } catch {
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It labels the action as a write operation with '[write]' but fails to disclose side effects, permissions, or state requirements beyond the minimal action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no unnecessary words, efficiently conveying the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one parameter and no output schema, the description is adequate but lacks detail on what happens after resuming or error conditions, making it minimally complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter 'webhook_id' is fully described in the schema (100% coverage). The description adds no additional meaning beyond the schema, warranting the baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Resume' and clearly identifies the resource as a 'paused webhook subscription', distinguishing it from sibling tools like pause_webhook and create_webhook.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool should be used on paused webhook subscriptions but does not explicitly mention when to use it versus alternatives or provide exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other 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/Prototypr/feedbagel-mcp'

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