Skip to main content
Glama

get_health

Check the health status of Browserless MCP Server instances to ensure operational readiness for browser automation tasks, web scraping, and performance audits.

Instructions

Get health status of Browserless instance

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'get_health': calls client.getHealth(), formats and returns the health status response or throws error.
    case 'get_health': { const result = await this.client!.getHealth(); if (result.success && result.data) { return { content: [ { type: 'text', text: `Health status: ${result.data.status}`, }, { type: 'text', text: JSON.stringify(result.data, null, 2), }, ], }; } else { throw new Error(result.error || 'Failed to get health status'); } }
  • Tool schema definition for 'get_health' including name, description, and empty input schema.
    { name: 'get_health', description: 'Get health status of Browserless instance', inputSchema: { type: 'object', properties: {}, }, },
  • Core implementation of getHealth() in BrowserlessClient: performs HTTP GET to /health endpoint and returns wrapped response.
    async getHealth(): Promise<BrowserlessResponse<HealthResponse>> { try { const response: AxiosResponse<HealthResponse> = await this.httpClient.get('/health'); return { success: true, data: response.data, }; } catch (error) { return this.handleError(error); } }

Other Tools

Related Tools

Latest Blog Posts

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/Lizzard-Solutions/browserless-mcp'

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