Skip to main content
Glama

list_workflows

Retrieve and filter workflows from the Automatisch automation platform to manage and monitor automated processes.

Instructions

List all workflows in Automatisch

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoFilter workflows by status
limitNoLimit number of results

Implementation Reference

  • The handler function for the 'list_workflows' tool. It processes the tool call by invoking main.api.listWorkflows with the provided arguments and returns the result as a JSON-formatted text content block.
    case "list_workflows": return { content: [ { type: "text", text: JSON.stringify(await main.api.listWorkflows(args), null, 2) } ] };
  • The schema definition for the 'list_workflows' tool, including input schema for optional status filter and limit, provided during tool registration in the ListToolsRequestHandler.
    { name: "list_workflows", description: "List all workflows in Automatisch", inputSchema: { type: "object", properties: { status: { type: "string", enum: ["active", "inactive", "all"], description: "Filter workflows by status" }, limit: { type: "number", description: "Limit number of results" } } } },
  • src/handlers.ts:7-195 (registration)
    Registration of the 'list_workflows' tool (among others) in the ListToolsRequestHandler, which lists all available tools with their schemas.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: [ { name: "list_workflows", description: "List all workflows in Automatisch", inputSchema: { type: "object", properties: { status: { type: "string", enum: ["active", "inactive", "all"], description: "Filter workflows by status" }, limit: { type: "number", description: "Limit number of results" } } } }, { name: "get_workflow", description: "Get detailed information about a specific workflow", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to retrieve" } }, required: ["workflowId"] } }, { name: "create_workflow", description: "Create a new workflow", inputSchema: { type: "object", properties: { name: { type: "string", description: "Workflow name" }, description: { type: "string", description: "Workflow description" }, active: { type: "boolean", description: "Whether workflow should be active", default: false } }, required: ["name"] } }, { name: "update_workflow", description: "Update an existing workflow", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to update" }, name: { type: "string", description: "New workflow name" }, description: { type: "string", description: "New workflow description" }, active: { type: "boolean", description: "Workflow active status" } }, required: ["workflowId"] } }, { name: "delete_workflow", description: "Delete a workflow", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to delete" } }, required: ["workflowId"] } }, { name: "list_connections", description: "List all app connections", inputSchema: { type: "object", properties: { appKey: { type: "string", description: "Filter by specific app" } } } }, { name: "create_connection", description: "Create a new app connection", inputSchema: { type: "object", properties: { appKey: { type: "string", description: "App identifier (e.g., 'slack', 'github')" }, name: { type: "string", description: "Connection name" }, credentials: { type: "object", description: "App-specific credentials and configuration" } }, required: ["appKey", "name", "credentials"] } }, { name: "list_executions", description: "List workflow executions", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Filter by workflow ID" }, status: { type: "string", enum: ["success", "failure", "running"], description: "Filter by execution status" }, limit: { type: "number", description: "Limit number of results" } } } }, { name: "get_available_apps", description: "Get list of available apps and their capabilities", inputSchema: { type: "object", properties: { category: { type: "string", description: "Filter by app category" } } } }, { name: "test_workflow", description: "Test a workflow with sample data", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to test" }, testData: { type: "object", description: "Sample data for testing" } }, required: ["workflowId"] } } ] }; });
  • Helper function listWorkflows in the API object, called by the tool handler. Currently a stub referencing logic from index.ts.
    listWorkflows: async function(args: any = {}) { // ... copy listWorkflows logic from index.ts ... },

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/milisp/automatisch-mcp-server'

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