Skip to main content
Glama

strale_ping

Check server health status, verify connection, and monitor response time with tool and capability counts.

Instructions

Health check. Returns server status, tool count, capability count, and response time. Verifies the connection is working.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool handler for 'strale_ping' which performs a health check.
    async () => {
      return {
        content: [
          {
            type: "text" as const,
            text: JSON.stringify({
              status: "ok",
              server: "strale-mcp",
              version: "0.1.4",
              tools_registered: 8, // UPDATE if tools are added/removed
              capabilities_available: capabilities.length,
              solutions_available: solutions.length,
              timestamp: new Date().toISOString(),
            }, null, 2),
          },
        ],
      };
    },
  • Registration of the 'strale_ping' tool within the McpServer.
    server.registerTool(
      "strale_ping",
      {
        description:
          "Health check. Returns server status, tool count, capability count, and response time. Verifies the connection is working.",
        inputSchema: z.object({}),
      },
      async () => {
        return {
          content: [
            {
              type: "text" as const,
              text: JSON.stringify({
                status: "ok",
                server: "strale-mcp",
                version: "0.1.4",
                tools_registered: 8, // UPDATE if tools are added/removed
                capabilities_available: capabilities.length,
                solutions_available: solutions.length,
                timestamp: new Date().toISOString(),
              }, null, 2),
            },
          ],
        };
      },
    );

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/strale-io/strale'

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