Servers that return their result only as structuredContent (no TextContent block) reached the agent as an empty result. Serialize StructuredContent to JSON in that case; when text is present it still wins, since the MCP spec has tools send the same data as text.