Skip to main content
Glama
hiveflowai

HiveFlow MCP Server

Official
by hiveflowai

get_flow

Retrieve specific automation flow details from the HiveFlow platform by providing the flow ID. This tool enables AI assistants to access and manage workflow information through natural language commands.

Instructions

Obtiene detalles de un flujo específico

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesID del flujo

Implementation Reference

  • The main handler function for the 'get_flow' tool. It fetches the specific flow details from the HiveFlow API using the provided flowId and returns a formatted text response with key flow information.
    async getFlow(args) { const response = await this.hiveflowClient.get(`/api/flows/${args.flowId}`); const flow = response.data.flow; return { content: [ { type: 'text', text: `📊 Detalles del flujo "${flow.name}":\n• ID: ${flow._id}\n• Estado: ${flow.status || 'draft'}\n• Nodos: ${flow.nodes?.length || 0}\n• Descripción: ${flow.description || 'Sin descripción'}\n• Última actualización: ${flow.updatedAt || 'N/A'}` } ] }; }
  • Input schema for the 'get_flow' tool, defining the required 'flowId' parameter as a string.
    inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo' } }, required: ['flowId']
  • src/index.js:90-102 (registration)
    Registration of the 'get_flow' tool in the tools list provided to the MCP server, including name, description, and input schema.
    { name: 'get_flow', description: 'Obtiene detalles de un flujo específico', inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo' } }, required: ['flowId'] }
  • src/index.js:218-219 (registration)
    Dispatch case in the main tool request handler that routes 'get_flow' calls to the getFlow method.
    case 'get_flow': return await this.getFlow(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/hiveflowai/hiveflow-mcp-server'

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