Skip to main content
Glama

health_check

Verify server functionality and resource accessibility to ensure smooth operation and integration with LLM clients for technical content optimization.

Instructions

Check if the server is running and can access its resources

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The health_check tool handler function, decorated with @mcp.tool() for registration. It returns a fixed dictionary confirming the server is healthy, listing resources, and providing the version.
    @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" }

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/open-strategy-partners/osp_marketing_tools'

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