Skip to main content
Glama

health_check

Return service status, version, wrapped binary availability, HTTP auth prefixes, and NAT64 prefix in a fixed schema so monitoring callers avoid branching on missing keys.

Instructions

Service health: version, wrapped binaries on PATH, the http_get auth prefixes and the NAT64 prefix.

Returns a fixed shape (status/service/version + backend fields) so a monitoring caller never has to branch on missing keys. status is "healthy" when every wrapped binary is found and NETDIAG_HTTP_AUTH and NETDIAG_NAT64_PREFIX (if set) parse, "degraded" otherwise (the affected tools fail at call time). http_auth lists the configured URL prefixes, never the header values. nat64 shows the prefix IPv4 literals are reached through on an IPv6-only host (null when unset).

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

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it states that 'healthy' requires every wrapped binary to be found and the auth/NAT64 settings to parse, that 'degraded' means the affected tools will fail at call time, and that header values are never exposed. The one gap is that it doesn't say whether the check is cheap, cached, or touches the network.

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

Conciseness5/5

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

The first sentence front-loads exactly what is inspected, and the following sentences each cover a distinct point: return-shape stability, status semantics, and the two backend fields. No sentence is filler.

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?

There is no output schema, so the description must explain the return value and it does: the fixed status/service/version shape, the meaning of each status value, and the contents of http_auth and nat64 including the null case. Nothing needed to call or interpret this tool is missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies.

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

Purpose4/5

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

The description names a specific subject (service health) and enumerates exactly what is reported: version, wrapped binaries on PATH, http_get auth prefixes, and the NAT64 prefix. It is unambiguous against the diagnostic siblings (http_get, dns_lookup, ping_host), though it never explicitly contrasts itself with them.

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

Usage Guidelines3/5

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

Usage is implied through the mention of a 'monitoring caller' who should not branch on missing keys, which points at pre-flight/pre-diagnostic checks. There is no explicit when-not guidance and no alternative tool named for any case.

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