Skip to main content
Glama

Get System Diagnostics

get_system_diagnostics

Retrieve NiFi system health details including heap, CPU load, uptime, and repository usage to monitor diagnostics.

Instructions

NiFi system health: heap, CPU load, uptime and repository utilisation.

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_system_diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden; the 'get_' verb plus 'diagnostics' reasonably implies a non-mutating read, and the enumerated metrics describe what is surfaced. It says nothing about cost, permissions, or whether values are point-in-time snapshots versus averaged, which matters for interpreting load numbers.

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?

A single compact clause with zero filler, and the metric list is front-loaded. It is slightly under-structured as a bare fragment rather than a statement of what the tool does, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and there are no parameters, so the description does not need to document return shape, and it is nearly sufficient for this simple tool. The remaining gap is routing context — nothing tells an agent why to pick this over the flow-health siblings when diagnosing a problem.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly spends no words on inputs.

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 the concrete resources returned — heap, CPU load, uptime, repository utilisation — so an agent knows this is host/JVM-level NiFi health rather than flow health, which usefully separates it from siblings like get_flow_health_status. It is a noun-phrase fragment with no verb, so the action (retrieve) is only implied by the name.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus alternatives such as get_flow_health_status, get_flow_status, or check_configuration. An agent must infer from the listed metrics alone that this is the system-level diagnostic and not a flow-level one.

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