status
Check RSpace server connectivity and operational status to verify system health before performing data operations.
Instructions
System health check - determines if RSpace server is accessible and running
Usage: Call this first to verify connectivity before other operations Returns: Status message from RSpace server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:101-110 (handler)The handler function for the 'status' MCP tool. Decorated with @mcp.tool for automatic registration. Performs RSpace server health check via eln_cli.get_status() and returns the status message.@mcp.tool(tags={"rspace"}) def status() -> str: """ System health check - determines if RSpace server is accessible and running Usage: Call this first to verify connectivity before other operations Returns: Status message from RSpace server """ resp = eln_cli.get_status() return resp['message']
- main.py:101-101 (registration)The @mcp.tool decorator registers the 'status' function as an MCP tool with tag 'rspace'.@mcp.tool(tags={"rspace"})
- tools/example-tool-snippet.py:1-12 (handler)Example implementation snippet of the 'status' tool handler, identical to main.py version.# ==================== SYSTEM STATUS AND HEALTH ==================== @mcp.tool(tags={"rspace"}) def status() -> str: """ System health check - determines if RSpace server is accessible and running Usage: Call this first to verify connectivity before other operations Returns: Status message from RSpace server """ resp = eln_cli.get_status() return resp['message']