# Function handleDataUnavailable

- handleDataUnavailable(toolName: string, message: string): ToolResult

  Build a structured data-unavailable response for tools that cannot compute meaningful results due to missing upstream data.

  #### Parameters

  - toolName: string

    Name of the tool reporting unavailability

  - message: string

    Human-readable explanation of why data is unavailable

  #### Returns ToolResult

  MCP-compliant ToolResult

  - Defined in tools/shared/errorHandler.ts:191