Skip to main content
Glama

Health Check

health_check
Read-onlyIdempotent

Verify server liveness and return its name and version; optionally check GitLab reachability, credential authentication, and the responding GitLab version.

Instructions

Return server liveness, name, and version. Set check_gitlab=true to also verify that GitLab is reachable, that the configured credential authenticates, and which GitLab version answers.

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
check_gitlabNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / check_gitlab
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  2. First observedv1.6.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld. The description adds real value on top by disclosing that check_gitlab performs outbound reachability, credential authentication, and version probing against GitLab, which explains the openWorldHint. It omits what happens on failure (error vs. a liveness-ok/GitLab-unreachable result), which is the one meaningful gap.

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?

Two sentences, zero filler. The default behavior is stated first and the opt-in extension second, matching the order an agent needs to reason about the call.

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

Completeness4/5

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

For a one-parameter, annotation-rich tool with no output schema, the description covers what is returned and what the flag adds, which is sufficient to call it correctly. Only the failure/degraded-state outcome is left unspecified.

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 0% and the single parameter has no schema description, so the description must carry the load — and it does, naming the flag, its boolean semantics, the implied default of omitting it (server check only), and precisely what enabling it verifies. It could still note that the parameter is optional, but that is minor.

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 and resource ("Return server liveness, name, and version") and immediately scopes the optional mode. Against a sibling catalog composed entirely of gitlab_* mutation tools, it is unmistakably the diagnostic/liveness entry point.

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?

"Set check_gitlab=true to also verify..." gives a clear condition for choosing the heavier mode versus the default lightweight check. It stops short of explicit when-not guidance (e.g., avoiding the GitLab probe in tight loops or when credentials are known to be absent), so it lands at 4 rather than 5.

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

Deploy Server

Other Tools