Skip to main content
Glama
punkpeye

HiveFlow MCP Server

get_flow_executions

Retrieve execution history for a specific workflow to monitor performance and track automation results. Use this tool to analyze past runs and identify patterns in your automated processes.

Instructions

Obtiene el historial de ejecuciones de un flujo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesID del flujo
limitNoLímite de resultados

Implementation Reference

  • The handler function that implements the get_flow_executions tool logic. It makes an HTTP GET request to the HiveFlow API endpoint `/api/flows/{flowId}/executions` with optional limit parameter, processes the executions list, formats it as a bullet-point text string, and returns it in the MCP response format.
    private async getFlowExecutions(args: any) { const response = await this.hiveflowClient.get(`/api/flows/${args.flowId}/executions`, { params: { limit: args.limit || 10 } }); const executions = response.data.executions || []; const executionsList = executions.map((exec: any) => `• ${exec.id} - Estado: ${exec.status} - ${exec.createdAt}` ).join('\n'); return { content: [ { type: 'text', text: `📈 Ejecuciones del flujo (${executions.length}):\n\n${executionsList || 'No hay ejecuciones'}` } ] }; }
  • The schema definition for the get_flow_executions tool, including input schema specifying required flowId (string) and optional limit (number, default 10). This is returned in the ListTools response.
    { name: 'get_flow_executions', description: 'Obtiene el historial de ejecuciones de un flujo', inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo' }, limit: { type: 'number', description: 'Límite de resultados', default: 10 } }, required: ['flowId'] } }
  • src/index.ts:239-240 (registration)
    The switch case registration/dispatch in the CallToolRequestSchema handler that calls the getFlowExecutions method when the tool 'get_flow_executions' is invoked.
    case 'get_flow_executions': return await this.getFlowExecutions(args);

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/punkpeye/hiveflow-mcp-server'

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