Skip to main content
Glama

get_workflow_run

Retrieve detailed information about a specific security workflow run to analyze execution status, results, and security insights in Kubernetes and cloud environments.

Instructions

Get detailed information about a specific workflow run

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYesID of the workflow
run_idYesID of the workflow run

Implementation Reference

  • The core handler function that makes an API request to retrieve details of a specific workflow run using the RAD Security client.
    export async function getWorkflowRun( client: RadSecurityClient, workflowId: string, runId: string ): Promise<any> { const response = await client.makeRequest( `/accounts/${client.getAccountId()}/workflows/${workflowId}/runs/${runId}` ); return response; }
  • Zod schema defining the input parameters for the get_workflow_run tool: workflow_id and run_id.
    export const GetWorkflowRunSchema = z.object({ workflow_id: z.string().describe("ID of the workflow"), run_id: z.string().describe("ID of the workflow run"), });
  • src/index.ts:525-528 (registration)
    Tool registration in the ListTools handler, defining the tool name, description, and input schema.
    name: "get_workflow_run", description: "Get detailed information about a specific workflow run", inputSchema: zodToJsonSchema(workflows.GetWorkflowRunSchema),
  • src/index.ts:1423-1437 (registration)
    Tool handler dispatch in the CallToolRequest switch statement, which parses args with the schema and calls the workflows.getWorkflowRun function.
    case "get_workflow_run": { const args = workflows.GetWorkflowRunSchema.parse( request.params.arguments ); const response = await workflows.getWorkflowRun( client, args.workflow_id, args.run_id ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2) }, ], }; }

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/rad-security/mcp-server'

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