Skip to main content
Glama

list_workflow_definitions

Retrieve metadata for all registered workflows in Conductor. Filter by access type or tags to find specific workflow definitions.

Instructions

List all registered workflow definitions. Returns metadata about all workflows registered in Conductor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accessNoFilter by access type (READ or CREATE)
tagKeyNoFilter by tag key
tagValueNoFilter by tag value

Implementation Reference

  • The handler function for the 'list_workflow_definitions' tool. It extracts optional parameters (access, tagKey, tagValue) from the input arguments, makes a GET request to the Conductor API endpoint '/metadata/workflow' with these parameters, and returns the response data as a formatted JSON string in the tool response.
    case "list_workflow_definitions": { const params: any = {}; if ((args as any).access) params.access = (args as any).access; if ((args as any).tagKey) params.tagKey = (args as any).tagKey; if ((args as any).tagValue) params.tagValue = (args as any).tagValue; const response = await conductorClient.get("/metadata/workflow", { params }); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
  • The input schema for the 'list_workflow_definitions' tool, defining optional properties for filtering workflow definitions by access type, tag key, and tag value.
    inputSchema: { type: "object", properties: { access: { type: "string", description: "Filter by access type (READ or CREATE)", enum: ["READ", "CREATE"], }, tagKey: { type: "string", description: "Filter by tag key", }, tagValue: { type: "string", description: "Filter by tag value", }, }, },
  • src/index.ts:249-271 (registration)
    The tool registration object added to the 'tools' array, which is returned by the ListToolsRequestSchema handler. This defines the name, description, and input schema for the tool.
    { name: "list_workflow_definitions", description: "List all registered workflow definitions. Returns metadata about all workflows registered in Conductor.", inputSchema: { type: "object", properties: { access: { type: "string", description: "Filter by access type (READ or CREATE)", enum: ["READ", "CREATE"], }, tagKey: { type: "string", description: "Filter by tag key", }, tagValue: { type: "string", description: "Filter by tag value", }, }, }, },

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/opensensor/conductor-mcp'

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