Skip to main content
Glama

linear_subscribeToIssue

Subscribe to updates for a specific issue in Linear project management by providing the issue ID, ensuring timely notifications and tracking changes.

Instructions

Subscribe to issue updates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueIdYesID or identifier of the issue to subscribe to (e.g., ABC-123)

Implementation Reference

  • The main handler function for the linear_subscribeToIssue tool. It validates the input arguments using the type guard and calls the LinearService to subscribe to the issue.
    export function handleSubscribeToIssue(linearService: LinearService) { return async (args: unknown) => { try { if (!isSubscribeToIssueArgs(args)) { throw new Error('Invalid arguments for subscribeToIssue'); } return await linearService.subscribeToIssue(args.issueId); } catch (error) { logError('Error subscribing to issue', error); throw error; } }; }
  • The tool definition (schema) for linear_subscribeToIssue, specifying input (issueId) and output schemas.
    export const subscribeToIssueToolDefinition: MCPToolDefinition = { name: 'linear_subscribeToIssue', description: 'Subscribe to issue updates', input_schema: { type: 'object', properties: { issueId: { type: 'string', description: 'ID or identifier of the issue to subscribe to (e.g., ABC-123)', }, }, required: ['issueId'], }, output_schema: { type: 'object', properties: { success: { type: 'boolean' }, message: { type: 'string' }, }, }, };
  • Registration of the handler for linear_subscribeToIssue in the central tool handlers registry.
    linear_subscribeToIssue: handleSubscribeToIssue(linearService),
  • Type guard helper function to validate arguments for the linear_subscribeToIssue tool.
    export function isSubscribeToIssueArgs(args: unknown): args is { issueId: string; } { return ( typeof args === 'object' && args !== null && 'issueId' in args && typeof (args as { issueId: string }).issueId === 'string' ); }

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/tacticlaunch/mcp-linear'

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