Skip to main content
Glama
Prototypr

Feedbagel MCP Server

Official
by Prototypr

detach_feed_from_webhook

Stop delivering entries from a specific feed to a webhook subscription. Provide the webhook subscriber UUID and numeric feed ID.

Instructions

[write] Stop delivering a feed's entries to a webhook subscription.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
webhook_idYesWebhook subscriber UUID
feed_idYesNumeric feed id

Implementation Reference

  • The handler function for detach_feed_from_webhook that makes a DELETE request to /api/v1/webhooks/{webhook_id}/feeds/{feed_id} to stop delivering a feed's entries to a webhook subscription.
    name: "detach_feed_from_webhook",
    description: "Stop delivering a feed's entries to a webhook subscription.",
    scope: "write",
    inputSchema: WebhookIdInput.merge(FeedIdInput),
    handler: ({ webhook_id, feed_id }: any, c) =>
      c.request(
        "DELETE",
        `/api/v1/webhooks/${webhook_id}/feeds/${feed_id}`,
      ),
  • Schema definitions: FeedIdInput (z.object with numeric feed_id) and WebhookIdInput (z.object with string webhook_id), which are merged (WebhookIdInput.merge(FeedIdInput)) to form the input schema for detach_feed_from_webhook.
    const FeedIdInput = z.object({
      feed_id: z.number().int().positive().describe("Numeric feed id"),
    });
    
    const WebhookIdInput = z.object({
      webhook_id: z.string().describe("Webhook subscriber UUID"),
    });
  • src/index.ts:37-43 (registration)
    The tool registration via MCP's ListToolsRequestSchema handler, which maps over the TOOLS array (including detach_feed_from_webhook) exposing name, description, and JSON schema to the MCP client.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({
      tools: TOOLS.map((t) => ({
        name: t.name,
        description: `[${t.scope}] ${t.description}`,
        inputSchema: zodToJsonSchema(t.inputSchema, { target: "openApi3" }),
      })),
    }));
  • src/index.ts:45-86 (registration)
    The tool invocation dispatcher (CallToolRequestSchema handler) that looks up the tool by name (including detach_feed_from_webhook), validates input via the schema, and calls the handler with the parsed data.
    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,
              ),
            },
          ],
        };
      }
    });
Behavior2/5

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

No annotations are provided; the description only includes a '[write]' hint and states the action, but does not disclose any behavioral traits such as effect on existing delivery, reversibility, or side effects.

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

Conciseness4/5

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

The description is a single, well-structured sentence with a front-loaded action indicator, but it is very brief and could benefit from additional context.

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

Completeness2/5

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

Given no annotations and no output schema, the description should provide more completeness, such as idempotency or post-action state, but it only states the basic action.

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?

Schema coverage is 100%, and the description does not add meaning beyond the parameter descriptions already present in the schema (webhook_id and feed_id).

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 clearly states the verb 'stop delivering' and the resource 'a feed's entries to a webhook subscription', distinguishing it from sibling tools like attach_feed_to_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 usage when a feed is currently attached to a webhook, but lacks explicit guidance on prerequisites, when-not-to-use, or alternatives beyond the sibling name.

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