Skip to main content
Glama

Get application health checks

get_application_health
Read-onlyIdempotent

Get the application health checks a monitored site reports back to Oh Dear, such as queue depth, disk space, database connectivity or Horizon status, with each one's current status and message. This is the check that surfaces problems inside the application rather than on the network. Also returns the health report URL Oh Dear reads the results from, and whether a secret is stored, also when the check is turned off. See https://ohdear.app/docs/api/application-health.

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

Input Schema

NameRequiredDescriptionDefault
monitor_idYesThe ID of the monitor to get application health checks for
only_with_issuesNoOnly return checks that are not currently OK

Output Schema

NameRequiredDescriptionDefault
messageNo
monitorYes
settingsNoWhere Oh Dear reads the results: result_url, and whether a secret is stored. The secret itself is never returned.
view_urlYes
check_typeNo
check_enabledNo
application_health_checksNoApplication health checks and current results.
application_health_checks_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / settings
      Added value: +{
      +  "description": "Where Oh Dear reads the results: result_url, and whether a secret is stored. The secret itself is never returned.",
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the helpful annotations, the description adds crucial behavioral context by detailing the nature of the returned data, such as the health report URL, secret storage status, and check lifecycle information. No contradiction was found between the description and annotations.

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

Conciseness3/5

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

While highly informative, the description is somewhat verbose. It blends the core function (getting health checks) with detailed metadata about the returned report (URL, secrets), leading to a lack of tight structure.

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?

The definition is exceptionally complete. It covers not only what is checked but also what is returned, the tool's operational scope, and the specific data points provided, making it comprehensive for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the description's primary role is to provide high-level context rather than deep semantic meanings for the individual parameters. It successfully clarifies the target of the query but doesn't add syntax or formatting advice to the inputs.

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 tool clearly defines its resource (application health checks), providing highly specific examples of what it monitors (queue depth, disk space, DB connectivity). It successfully distinguishes its scope by stating it surfaces internal problems rather than network issues.

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 offers strong conceptual guidance on when to use this tool by establishing its functional boundary: it addresses problems *inside* the application rather than on the network. This effectively directs the user based on the problem's domain.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources