Skip to main content
Glama
stream-tools.ts601 B
import { type GetStreamsInput, getStreamsSchema } from "../schemas.js"; import { formatTsvResponse, withTransportClient, type ToolContext } from "./shared.js"; export const getStreamsTool = withTransportClient({ name: "get-streams", description: "Get streams for the user's group (streams are called 'channels' in the Sunsama UI)", parameters: getStreamsSchema, execute: async (_args: GetStreamsInput, context: ToolContext) => { const streams = await context.client.getStreamsByGroupId(); return formatTsvResponse(streams); }, }); export const streamTools = [getStreamsTool];

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/robertn702/mcp-sunsama'

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