Skip to main content
Glama

Configure app health checks

health_set
Idempotent

Update one app's registry health check in a single transaction, including probe path, status range, timeout, interval, or expected body, while preserving access, tags, routes, and enrollment.

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.

Input Schema

TableJSON 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

TableJSON Schema
NameRequiredDescriptionDefault
appYes
typeYes
healthYes
changedYes
defaultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations (which only declare non-read-only, idempotent, non-destructive). It discloses transactional single-write semantics, precisely what is preserved (access lists, tags, people scope, portal routes, enrolled node, no re-enrollment), how omitted/empty/zero values behave, reset semantics, and an authorization requirement verified in the write transaction.

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?

Tight and front-loaded, leading with the core mutation and transaction scope before edge-case rules. It is information-dense with near-zero waste, though several concepts (defaults, reset, proxy-only fields, auth) are packed into few sentences.

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?

Annotations carry the safety profile and an output schema exists, so return values need not be described. The description fills the remaining behavioral gaps — preservation guarantees, default/reset rules, proxy scoping, and owner auth — leaving nothing an agent needs to call 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?

With 88% schema coverage the baseline is 3, but the description adds real meaning: omitted fields retain stored value, empty/0 selects the default, reset restores defaults, and path/status-range/body_contains are proxy-only. That scoping and default logic is not fully derivable from the schema alone.

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?

States a specific verb and resource — changing one app's health check — and scopes it to a single registry transaction, which contrasts implicitly with the read-only 'health' sibling. It is clear what the tool does, though it never names the sibling explicitly to seal the differentiation.

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 conditions are implied by 'Change only one app's health check' versus the read sibling, and preconditions are present ('Owner scope only', owner required for routed apps). However, it never explicitly says when to reach for this over alternatives like 'health', leaving selection to inference.

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