Skip to main content
Glama

AI Deals Sentinel: Free AI API Tiers

check_api_health

Read-onlyIdempotent

The last measured liveness of free public data APIs (weather, geo, finance, knowledge, news, public-health and developer APIs): HTTP status and latency from one read-only GET per API, with the generated_at of that measurement. status SLOW means the API timed out at 10s and answered a 45s re-probe (works, not fast); DOWN means no answer within 45s; SKIP means the API needs a key and was not called. counts.measured excludes SKIP rows, so it is the health denominator, not counts.total. It does not measure AI model provider APIs.

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": "check_api_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
apiNoSubstring match on API name; omit for all

Output Schema

NameRequiredDescriptionDefault
feedYes
countsYes
resultsYes
feed_buildYes
server_buildYes
denominator_noteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "counts": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "AUTH": {
      +          "type": "integer"
      +        },
      +        "DOWN": {
      +          "type": "integer"
      +        },
      +        "HTTP_ERR": {
      +          "type": "integer"
      +        },
      +        "OK": {
      +          "type": "integer"
      +        },
      +        "SKIP": {
      +          "type": "integer"
      +        },
      +        "SLOW": {
      +          "type": "integer"
      +        },
      +        "measured": {
      +          "type": "integer"
      +        },
      +        "total": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [],
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "denominator_note": {
      +      "type": "string"
      +    },
      +    "feed": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "age_hours": {
      +          "type": "number"
      +        },
      +        "generated_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "stale": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "generated_at",
      +        "stale"
      +      ],
      +      "type": "object"
      +    },
      +    "feed_build": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "built_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "commit": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "sources_clean": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "commit",
      +        "built_at",
      +        "sources_clean"
      +      ],
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "auth": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "body_snippet": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "category": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "check_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "content_type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "http": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "latency_ms": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "untrusted_third_party_text": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "fields": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "note": {
      +                "type": "string"
      +              },
      +              "source_url": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "fields",
      +              "source_url",
      +              "note"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "category",
      +          "auth",
      +          "check_url",
      +          "status",
      +          "http",
      +          "latency_ms",
      +          "content_type",
      +          "body_snippet",
      +          "untrusted_third_party_text"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "server_build": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "built_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "commit": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "sources_clean": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "commit",
      +        "built_at",
      +        "sources_clean"
      +      ],
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "feed",
      +    "server_build",
      +    "feed_build",
      +    "counts",
      +    "denominator_note",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the readOnly/idempotent annotations by explaining the measurement mechanism (one read-only GET per API), the exact semantics of status codes (SLOW = 10s timeout then 45s re-probe; DOWN = no answer in 45s; SKIP = needs a key), and the subtle counts.measured vs counts.total denominator distinction. This is exactly the behavioral context an agent needs to interpret results correctly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core purpose, then packs status semantics and the counts caveat efficiently. Dense but every sentence carries information; the status-code definitions are essential for correct interpretation, so they earn their place. Slightly long relative to a one-parameter tool, but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema is present, the description needn't detail return shapes, yet it still explains result semantics (SLOW/DOWN/SKIP, counts.measured denominator) that are crucial for interpreting output. Combined with the measurement method and explicit scope exclusion, an agent has everything needed to call and reason about results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents the api substring-match parameter, establishing a baseline of 3. The description reinforces the substring-match semantics ('omit for all') only implicitly via the overall scope, adding modest but not substantial value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: measuring liveness of free public data APIs via HTTP status and latency. The parenthetical taxonomy (weather, geo, finance, etc.) and the explicit exclusion of AI model provider APIs make the scope unmistakable, distinguishing it from siblings like find_free_inference despite similar domain space.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is clear -- the tool reports measured health from read-only GET probes, implying you call it to gauge API availability. It also names what it does NOT cover (AI model provider APIs), steering the agent elsewhere. However, it doesn't name a specific alternative tool for those cases, keeping it short of 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources