Skip to main content
Glama

Configure app health checks

health_set
Idempotent

Change one app's health-check settings in a single registry transaction without re-enrolling its node; omitted fields keep stored values.

Instructions

Change only one app's health check in a single registry transaction. Keeps access lists, tags, people scope, portal routes and the enrolled node; never re-enrolls. Omitted fields keep their stored value; empty or 0 selects the default; reset returns to defaults (GET / accepting 200-399). path, status range and body_contains apply to proxy apps only. HTTP MCP requires the current portal owner for a routed app, checked in the write transaction. Owner scope only. Over HTTP MCP, a change to a public app (open Funnel, a lapsed Funnel that keeps its public acknowledgement, or guest links), including one that makes an app public or removes it, needs the current portal owner when one is configured or a home gateway is on, checked in the write transaction (access_request_owner_required).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app": "<app>"
    },
    "name": "health_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
pathNoHTTP probe path joined to the backend base path; empty means /.
resetNoDiscard stored settings before applying the other fields.
timeoutNo100ms..30s; empty means 5s.
intervalNo10s..1d and at least timeout; empty means 1m.
status_maxNoHighest accepted status; 0 means the default (399 when status_min is also unset, otherwise 299).
status_minNoLowest accepted status; 0 means the default.
body_containsNoExpected substring in the first 64 KiB; empty removes the check.

Output Schema

NameRequiredDescriptionDefault
appYes
typeYes
healthYes
changedYes
defaultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses transaction semantics, preservation of access lists/tags/people scope/portal routes/enrolled node, no re-enrollment, omitted/empty/zero/reset behavior, proxy-only fields, and owner-check requirements. This is substantial behavioral context for a mutation tool.

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?

The description is front-loaded with purpose and key constraints, and every sentence conveys operational rules. It is dense and repeats owner-check wording, but the length is largely justified by the tool's complexity.

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?

With annotations covering safety hints, an output schema present, and 88% schema description coverage, the description fills the remaining gaps around transaction behavior, defaults, proxy-only fields, and authorization. It is complete enough for an agent to invoke it correctly.

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 description coverage is high at 88%, so individual parameter syntax is already documented. The description adds important cross-parameter semantics: omitted fields keep stored values, empty or 0 selects defaults, reset restores defaults, and path/status/body_contains apply only to proxy apps.

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?

The opening sentence states a precise verb and resource: "Change only one app's health check in a single registry transaction." It also narrows scope to one app, distinguishing it from read-oriented siblings such as health and status.

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?

The description makes clear when to use it: changing one app's health check, with owner-scope and HTTP MCP authorization constraints. It does not explicitly name read-only alternatives, but the usage context is clear enough to select it correctly.

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