health_check
Verify server status and resource accessibility to ensure operational readiness for marketing content optimization workflows.
Instructions
Check if the server is running and can access its resources
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "health_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/osp_marketing_tools/server.py:21-28 (handler)The health_check tool handler function, decorated with @mcp.tool() which registers it with the FastMCP server. It returns a simple health status dictionary.
@mcp.tool() async def health_check() -> dict: """Check if the server is running and can access its resources""" return { "status": "healthy", "resources": ["osp://marketing-tools"], "version": "0.1.0" }