Skip to main content
Glama
houtini-ai

YubHub MCP Server

by houtini-ai

delete_feed

Remove a structured job feed and all related jobs permanently. This action is irreversible.

Instructions

Delete a feed and all associated jobs. This action cannot be undone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feedIdYesFeed ID to delete

Implementation Reference

  • Main handler function that validates the feed exists via getFeedDetails, then deletes it via the API client, and returns a success message.
      private async deleteFeed({ feedId }: { feedId: string }) {
        await this.apiClient.getFeedDetails(feedId);
        await this.apiClient.deleteFeed(feedId);
    
        return {
          content: [
            {
              type: 'text',
              text: `✅ Feed deleted successfully
    
    **Feed ID**: \`${feedId}\`
    
    All associated jobs have been removed. This action cannot be undone.`,
            },
          ],
        };
      }
  • Switch case in tool execution router that routes 'delete_feed' tool calls to the deleteFeed handler method.
    case 'delete_feed':
      return await this.deleteFeed(args as any);
  • src/index.ts:456-469 (registration)
    Tool registration defining the 'delete_feed' tool with its name, description, and input schema requiring a feedId string parameter.
    {
      name: 'delete_feed',
      description: 'Delete a feed and all associated jobs. This action cannot be undone.',
      inputSchema: {
        type: 'object',
        properties: {
          feedId: {
            type: 'string',
            description: 'Feed ID to delete'
          }
        },
        required: ['feedId'],
        additionalProperties: false
      }
  • API client helper method that makes the HTTP DELETE request to /api/feeds/{feedId} endpoint.
    async deleteFeed(feedId: string): Promise<{ message: string }> {
      return this.request(`/api/feeds/${feedId}`, { method: 'DELETE' });
    }

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/houtini-ai/yub-hub-mcp-server'

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