Skip to main content
Glama

Prefect MCP Server

get_flow_runs

Retrieve and filter workflow execution records by criteria like status, flow name, tags, or time range to monitor and analyze Prefect flow runs.

Instructions

Get a list of flow runs with optional filtering.

Args: limit: Maximum number of flow runs to return offset: Number of flow runs to skip flow_name: Filter by flow name state_type: Filter by state type (e.g., "RUNNING", "COMPLETED", "FAILED") state_name: Filter by state name deployment_id: Filter by deployment ID tags: Filter by tags start_time_before: ISO formatted datetime string start_time_after: ISO formatted datetime string

Returns: A list of flow runs with their details

Input Schema

NameRequiredDescriptionDefault
deployment_idNo
flow_nameNo
limitNo
offsetNo
start_time_afterNo
start_time_beforeNo
state_nameNo
state_typeNo
tagsNo

Input Schema (JSON Schema)

{ "properties": { "deployment_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Deployment Id" }, "flow_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Flow Name" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Limit" }, "offset": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Offset" }, "start_time_after": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Start Time After" }, "start_time_before": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Start Time Before" }, "state_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "State Name" }, "state_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "State Type" }, "tags": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Tags" } }, "type": "object" }

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/allen-munsch/mcp-prefect'

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