Skip to main content
Glama
quick_tell.ts1.05 kB
/** * Iris MCP Module: quick_tell * Convenience wrapper for tell with timeout=-1 (async) */ import type { IrisOrchestrator } from "../iris.js"; import { tell, type TellOutput } from "./tell.js"; import { getChildLogger } from "../utils/logger.js"; const logger = getChildLogger("action:quick_tell"); export interface QuickTellInput { /** Team to send message to */ toTeam: string; /** Message content */ message: string; /** Team sending the message */ fromTeam: string; } /** * Send a message with timeout=-1 (async) * Returns immediately after queuing the message */ export async function quickTell( input: QuickTellInput, iris: IrisOrchestrator, ): Promise<TellOutput> { const { fromTeam, toTeam, message } = input; logger.info( { from: fromTeam, to: toTeam, messageLength: message.length, }, "Quick tell (async mode, timeout=-1)", ); // Call tell with hardcoded timeout=-1 return tell( { fromTeam, toTeam, message, timeout: -1, }, iris, ); }

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/jenova-marie/iris-mcp'

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