tailtest_ping
Check server health by verifying the MCP server is reachable and retrieving its version.
Instructions
Health check. Returns server version and confirms the MCP server is reachable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler/dispatch logic for tailtest_ping. When the tool is called with name 'tailtest_ping', it returns a TextContent response containing the server version string.
if name == "tailtest_ping": return [ TextContent( type="text", text=f"tailtest-mcp v{__version__} reachable. V14.1 scenario_plan tool live.", ) ] - Tool definition/schema for tailtest_ping declared in list_tools(). It has an empty inputSchema (no parameters) and a description explaining it's a health-check ping.
Tool( name="tailtest_ping", description="Health check. Returns server version and confirms the MCP server is reachable.", inputSchema={ "type": "object", "properties": {}, "additionalProperties": False, }, ), - mcp_server/src/tailtest_mcp/server.py:28-36 (registration)The tool is registered as part of the list_tools() function decorated with @server.list_tools(), returning a Tool object with name 'tailtest_ping'.
Tool( name="tailtest_ping", description="Health check. Returns server version and confirms the MCP server is reachable.", inputSchema={ "type": "object", "properties": {}, "additionalProperties": False, }, ), - The __version__ constant used by the ping handler to include the version in its response.
__version__ = "1.0.1"