Skip to main content
Glama

undismiss

Re-enable notifications for a previously dismissed GitHub issue by providing its URL, restoring issue tracking and alerts.

Instructions

Undismiss a previously dismissed issue, re-enabling notifications.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull GitHub issue URL to undismiss

Implementation Reference

  • The handler function runUndismiss that manages the undismiss logic by calling the state manager.
    export async function runUndismiss(options: { url: string }): Promise<UndismissOutput> {
      validateUrl(options.url);
      validateGitHubUrl(options.url, ISSUE_URL_PATTERN, 'issue');
    
      const stateManager = getStateManager();
      const removed = stateManager.undismissIssue(options.url);
    
      return { undismissed: removed, url: options.url };
    }
  • Output interface for the undismiss operation.
    export interface UndismissOutput {
      undismissed: boolean;
      url: string;
    }
  • Tool registration for 'undismiss' within the MCP server tools configuration.
    // 19. undismiss — Undismiss an issue
    server.registerTool(
      'undismiss',
      {
        description: 'Undismiss a previously dismissed issue, re-enabling notifications.',
        inputSchema: {
          url: z.string().describe('Full GitHub issue URL to undismiss'),
        },
        annotations: { readOnlyHint: false, destructiveHint: false },
      },
      wrapTool(runUndismiss),

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/costajohnt/oss-autopilot'

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