Skip to main content
Glama

list_workflow_schedules

Retrieve scheduled workflows in RAD Security to monitor automated security tasks. Filter by workflow ID to view specific schedules.

Instructions

List workflow schedules with optional filtering by workflow ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYesID of the workflow to list schedules for

Implementation Reference

  • The core handler function that executes the tool logic by calling the RAD Security API to list schedules for a given workflow ID.
    /** * List workflow schedules */ export async function listWorkflowSchedules( client: RadSecurityClient, workflowId: string ): Promise<any> { const response = await client.makeRequest( `/accounts/${client.getAccountId()}/workflows/${workflowId}/schedules` ); return response; }
  • Zod schema defining the input parameters for the tool (workflow_id).
    export const ListWorkflowSchedulesSchema = z.object({ workflow_id: z.string().describe("ID of the workflow to list schedules for"), });
  • src/index.ts:536-542 (registration)
    Registration of the tool in the ListToolsRequest handler, specifying name, description, and input schema.
    name: "list_workflow_schedules", description: "List workflow schedules with optional filtering by workflow ID", inputSchema: zodToJsonSchema( workflows.ListWorkflowSchedulesSchema ), },
  • src/index.ts:1454-1467 (registration)
    Dispatch handler in the CallToolRequest switch statement that validates input with the schema and invokes the listWorkflowSchedules function with the client and workflow_id.
    case "list_workflow_schedules": { const args = workflows.ListWorkflowSchedulesSchema.parse( request.params.arguments ); const response = await workflows.listWorkflowSchedules( client, args.workflow_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