Skip to main content
Glama

update_stream_settings

Modify your live stream's title, description, or privacy settings to control visibility and content across multiple platforms.

Instructions

Update settings for the current stream such as title, description, or privacy settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoThe stream title
descriptionNoThe stream description
privacyNoThe stream privacy setting

Implementation Reference

  • Core handler function that performs the PATCH request to '/user/stream' endpoint with the provided StreamSettings to update the stream.
    async updateStreamSettings(settings: StreamSettings): Promise<Stream> { try { const response = await this.axiosInstance.patch<Stream>('/user/stream', settings); return response.data; } catch (error) { throw this.handleError(error, 'Failed to update stream settings'); } }
  • MCP server request handler for CallToolRequest of 'update_stream_settings', validates args and delegates to RestreamClient.
    case 'update_stream_settings': { if (!args) { throw new Error('At least one setting is required'); } const stream = await restreamClient.updateStreamSettings(args); return { content: [ { type: 'text', text: JSON.stringify(stream, null, 2), }, ], }; }
  • src/index.ts:101-122 (registration)
    Registers the 'update_stream_settings' tool with the MCP server, providing name, description, and input schema.
    { name: 'update_stream_settings', description: 'Update settings for the current stream such as title, description, or privacy settings', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'The stream title', }, description: { type: 'string', description: 'The stream description', }, privacy: { type: 'string', enum: ['public', 'private', 'unlisted'], description: 'The stream privacy setting', }, }, }, },
  • TypeScript interface defining the structure of stream settings used by the handler.
    export interface StreamSettings { title?: string; description?: string; privacy?: 'public' | 'private' | 'unlisted'; }

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/shaktech786/restream-mcp-server'

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