Skip to main content
Glama

list_executions

View and filter workflow execution history by status, workflow ID, or limit results to monitor automation performance and troubleshoot issues.

Instructions

List workflow executions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowIdNoFilter by workflow ID
statusNoFilter by execution status
limitNoLimit number of results

Implementation Reference

  • Handler logic for the 'list_executions' tool in the CallToolRequestSchema switch statement. It calls main.api.listExecutions(args) and returns the result as JSON text content.
    case "list_executions": return { content: [ { type: "text", text: JSON.stringify(await main.api.listExecutions(args), null, 2) } ] };
  • Input schema definition for the 'list_executions' tool, defining optional parameters for filtering 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" } } }
  • Registration of the 'list_executions' tool in the tools list returned by ListToolsRequestSchema handler.
    { 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" } } } },
  • Helper function listExecutions in apiHelpers, which is called by the tool handler. Currently a stub awaiting implementation.
    listExecutions: async function(args: any = {}) { // ... copy listExecutions 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