Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
system.transcribe.genai.mts787 B
system({ description: "Video transcription tool", }) export default function (ctx: ChatGenerationContext) { const { defTool } = ctx defTool( "transcribe", "Generate a transcript from a audio/video file using a speech-to-text model.", { filename: { type: "string", description: "Audio/video URL or workspace relative filepath", }, }, async (args) => { const { filename } = args if (!filename) return "No filename provided" const { text, srt, error } = await transcribe(filename, { cache: "transcribe", }) if (error) return error.message return srt || text || "no response" } ) }

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/microsoft/genaiscript'

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