Skip to main content
Glama
by microsoft
fs-test.genai.js411 B
script({ title: "fs test", }) def("PDF", await workspace.readText(env.files.find(f => f.filename.endsWith(".pdf")))) def("DOCX", await workspace.readText(env.files.find(f => f.filename.endsWith(".docx")))) def("MD", await workspace.readText(env.files.find(f => f.filename.endsWith(".md")))) // use $ to output formatted text to the prompt $`You are a helpful assistant. Summarize the PDF and DOCX files.`

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