Skip to main content
Glama

Inspect managed application health

get_application_health
Idempotent

Run an on-demand health inspection for a managed application and return current container and service health instead of relying on stale last-reported status.

Instructions

Run an on-demand health inspection of one owned managed application and return the observed container/service health. Use this instead of trusting the last-reported health, which can be stale. If still pending after polling, retain inspection.id and call get_application_inspection with kind=health. This queues an inspection (a POST), so it needs an API key that permits write operations; a read-only key is rejected. Requires applications:read.

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": {
      "orderNo": "<orderNo>",
      "installation_id": "<installation_id>"
    },
    "name": "get_application_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
installation_idYesManaged application installation UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • addedInput schema / properties / installation_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. First observedv2.3.16

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that the tool queues an inspection via POST, that results may come back pending and require polling, and the auth/scope requirements (write-capable key, applications:read). The only gap is that the polling semantics (blocking vs. immediate return) are implied rather than stated, which leaves timing behavior slightly ambiguous.

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?

Five tight sentences, each earning its place: purpose, motivation, fallback path, action semantics, and auth requirements, with the core purpose front-loaded. 'a read-only key is rejected' is mildly redundant with the preceding clause but serves as useful emphasis rather than padding.

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 two-parameter, non-read-only action with no output schema, the definition covers the important unknowns: that it mutates state server-side, what it returns at a high level (health plus inspection.id), and what to do on a pending result. It does not specify failure modes (unknown orderNo/installation) or how long polling should continue, which would complete the picture.

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% and both required parameters (orderNo, installation_id) are fully described in the schema, so the schema carries parameter meaning. The description adds a little context by framing the target as 'one owned managed application' and by naming inspection.id in the response, but it does not clarify how orderNo and installation_id relate to each other.

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 ('Run an on-demand health inspection of one owned managed application') plus the return ('observed container/service health'), scoping to exactly one installation. This is clearly distinguishable from sibling reads like get_application_installation or get_application_events, and from the follow-up get_application_inspection.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use rule ('instead of trusting the last-reported health, which can be stale') and an explicit escalation path when the result is pending ('retain inspection.id and call get_application_inspection with kind=health'). It also states the precondition (write-capable API key, read-only rejected) so an agent can pre-check before calling.

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