Skip to main content
Glama

Prefect MCP Server

get_block_documents

Retrieve block documents from Prefect workflows by specifying a block type, with options to filter by name, limit results, and paginate through large datasets.

Instructions

Get block documents by block type.

Args: block_type_slug: The block type slug limit: Maximum number of block documents to return offset: Number of block documents to skip name: Filter by name pattern

Returns: A list of block documents with their details

Input Schema

NameRequiredDescriptionDefault
block_type_slugYes
limitNo
nameNo
offsetNo

Input Schema (JSON Schema)

{ "properties": { "block_type_slug": { "title": "Block Type Slug", "type": "string" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Limit" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Name" }, "offset": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Offset" } }, "required": [ "block_type_slug" ], "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