Skip to main content
Glama
houtini-ai

YubHub MCP Server

by houtini-ai

disable_feed_auto_run

Disable automatic feed execution to gain manual control over when job feed updates run, preventing unwanted automated refreshes.

Instructions

Disable automatic runs for a feed. The feed will require manual triggering after this. Use this when you want full control over when a feed runs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feedIdYesFeed ID to disable auto-run for

Implementation Reference

  • The main handler function that disables auto-run for a feed by calling apiClient.updateFeedSchedule with enabled=false
      private async disableFeedAutoRun({ feedId }: { feedId: string }) {
        await this.apiClient.updateFeedSchedule(feedId, false);
    
        return {
          content: [
            {
              type: 'text',
              text: `⚪ Auto-run disabled
    
    **Feed ID**: \`${feedId}\`
    
    This feed will no longer run automatically. Use "Trigger Feed Run" to run it manually.`,
            },
          ],
        };
      }
  • Tool registration including name, description, and input schema defining the feedId parameter
    {
      name: 'disable_feed_auto_run',
      description: 'Disable automatic runs for a feed. The feed will require manual triggering after this. Use this when you want full control over when a feed runs.',
      inputSchema: {
        type: 'object',
        properties: {
          feedId: {
            type: 'string',
            description: 'Feed ID to disable auto-run for'
          }
        },
        required: ['feedId'],
        additionalProperties: false
      }
    },
  • src/index.ts:692-694 (registration)
    Switch case that routes tool calls to the disableFeedAutoRun handler
    case 'disable_feed_auto_run':
      return await this.disableFeedAutoRun(args as any);
  • API client helper method that makes the actual PATCH request to update feed schedule settings
    async updateFeedSchedule(
      feedId: string,
      enabled: boolean,
      intervalDays: number = 7
    ): Promise<{ message: string; feedId: string; intervalDays: number; nextRunAt: string | null }> {
      return this.request(`/api/feeds/${feedId}/schedule`, {
        method: 'PATCH',
        body: JSON.stringify({ enabled, intervalDays }),
      });
    }

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