Skip to main content
Glama

load-routines

Load and execute pre-configured routines by stitching together actions from MCP tools, enabling efficient automation and custom workflows on the fly.

Instructions

Load routines

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:57-73 (registration)
    Registration of the 'load-routines' MCP tool, including empty input schema, description, and inline handler function.
    server.tool( "load-routines", "Load routines", {}, async () => { const routines = await loadRoutines(routineFilename) return { content: [ { type: "text", text: JSON.stringify(routines, null, 2) } ] } } )
  • The handler function for the 'load-routines' tool. It loads the routines from the JSON file using the imported loadRoutines function and returns them formatted as a JSON string in the tool response.
    async () => { const routines = await loadRoutines(routineFilename) return { content: [ { type: "text", text: JSON.stringify(routines, null, 2) } ] } }
  • Input schema for the 'load-routines' tool, which accepts no parameters (empty object).
    {},

Other Tools

Related Tools

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/mquan/routine'

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