Skip to main content
Glama

check-health

Monitor AgentOracle API availability and retrieve service status details including uptime, model information, and current pricing.

Instructions

Check if the AgentOracle API is online and get service status including uptime, model info, and pricing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool 'check-health' is defined and its handler implemented here, performing a fetch to the HEALTH_ENDPOINT.
    server.tool(
      "check-health",
      "Check if the AgentOracle API is online and get service status including uptime, model info, and pricing.",
      {},
      async () => {
        try {
          const response = await fetch(HEALTH_ENDPOINT);
          const data = await response.json();
          return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
        } catch (error) {
          return {
            content: [{ type: "text", text: `AgentOracle health check failed: ${error instanceof Error ? error.message : String(error)}` }],
            isError: true,
          };
        }
      }
    );

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/TKCollective/agentoracle-mcp'

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