European Parliament MCP Server API - v1.2.6
    Preparing search index...

    Function buildEmptyFeedResponse

    • Build an empty feed response with a dataQualityWarnings array indicating that the upstream EP API returned 404 — likely no updates in the requested timeframe.

      Returns the same JSON-LD envelope shape (data + @context) as the normal success path so callers do not need to branch on response shape.

      Returns ToolResult