Skip to main content
Glama

Get HDFS DFSAdmin Report

get_hdfs_dfsadmin_report
Read-only

Generates a DFSAdmin-style HDFS capacity and DataNode report from Ambari metrics, helping you check cluster storage usage and node health for a chosen lookback window.

Instructions

Produce a DFSAdmin-style capacity and DataNode report using Ambari metrics.

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

Input Schema

NameRequiredDescriptionDefault
cluster_nameNo
lookback_minutesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.9.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that data is derived from Ambari metrics, but says nothing about how lookback affects the report, whether missing DataNodes degrade the output, or any cost/latency traits. With an output schema present, the return shape need not be restated.

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 front-loaded sentence with no filler or redundancy. It is well formed but leaves the parameter-window semantics unaddressed, so brevity comes at some cost.

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

Completeness2/5

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

An output schema covers the return value, but the two undocumented parameters are material for a time-windowed capacity report: the agent does not know what the lookback window governs or what happens when cluster_name is null. For a report tool whose output depends entirely on those inputs, the description is under-specified.

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

Parameters2/5

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

Both parameters have 0% schema description coverage, so the description must carry the meaning and does not mention cluster_name or lookback_minutes at all. The agent cannot learn that lookback_minutes defaults to 10 and defines the reporting window, nor whether cluster_name is optional.

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: "Produce a DFSAdmin-style capacity and DataNode report." That is clearly distinguishable from raw-metric siblings such as get_ambari_metrics, but no sibling is named to reinforce the difference.

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 "using Ambari metrics" implies this is the aggregated HDFS capacity view rather than raw metric retrieval, which gives implied usage context. There is no explicit when-to-use, when-not-to-use, or named alternative, so the agent must infer routing from context.

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