Skip to main content
Glama

Get Flow Health Status

get_flow_health_status

Check flow health by reporting invalid processors and services, queues nearing backpressure, and recent WARN or ERROR bulletins for direct children of a process group, returning HEALTHY, DEGRADED, or UNHEALTHY.

Instructions

Health report (HEALTHY | DEGRADED | UNHEALTHY): invalid processors/services, queues close to backpressure, recent WARN/ERROR bulletins. Direct children of the group only.

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": "get_flow_health_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
process_group_idNoroot

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. It does add real value by stating the scope constraint ('direct children of the group only') and the exact checks performed, which tells the agent this is a shallow, non-recursive inspection. It stops short of stating that the operation is read-only, whether results are cached/live, or any permission requirements.

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?

Two compact sentences in fragment style, front-loaded with the status enum so the agent immediately sees the output vocabulary. No wasted words, though the telegraphic phrasing slightly reduces readability.

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 single-optional-parameter read tool with an output schema (so return shape needn't be described), the description covers what is inspected and the non-recursive scope. The main residual gap is the absence of any routing against the get_flow_status / get_flow_summary siblings.

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?

Schema description coverage is 0% for the single optional process_group_id (default 'root'). The phrase 'Direct children of the group only' usefully clarifies that the parameter scopes the report and that traversal does not recurse, which compensates partially. It never explains what 'root' means or how the ID maps to a process group, so the compensation is incomplete.

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?

The description names a concrete deliverable (a health report) and enumerates the possible statuses (HEALTHY | DEGRADED | UNHEALTHY) plus the specific signals checked: invalid processors/services, queues near backpressure, and recent WARN/ERROR bulletins. That is much more specific than a restated title. It does not, however, contrast itself with similarly named siblings such as get_flow_status or get_flow_summary, so an agent must infer the distinction.

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?

The phrase 'health report' and the criteria listed imply the use case (diagnosing flow health rather than listing processors), but no explicit when-to-use/when-not or named alternative is given. With several near-neighbor siblings present, the guidance stays implicit.

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