Skip to main content
Glama

Get Ambari Metrics Metadata

get_ambari_metrics_metadata
Read-only

Retrieves metric metadata from Ambari Metrics service, letting you filter by app, host, or metric name and optionally include dimensions to discover available metrics for cluster monitoring.

Instructions

Retrieve metric metadata from Ambari Metrics service with optional filters.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
app_idNo
searchNo
host_filterNo
include_dimensionsNo
metric_name_filterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.9.0

TDQS

C2.7/5.0
Behavior2/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 essentially nothing behavioral beyond that — it does not say what metadata categories are returned, how the default limit of 50 behaves, or what happens when multiple filters are combined.

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 wasted words, and the core action is stated first. It is efficient, though the brevity comes at the cost of substance rather than through disciplined editing.

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?

With six optional parameters at 0% schema coverage and an output schema that only covers return values, the description is far too thin for a filtered metadata-discovery tool. An agent cannot tell which filters to supply or how they interact, though the existence of the output schema means return values need not be explained.

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?

Schema description coverage is 0% across six parameters, so the description must carry the burden and it does not: 'optional filters' gives no meaning for limit, app_id, search, host_filter, include_dimensions, or metric_name_filter, nor whether filters combine with AND/OR semantics. Only 'include_dimensions' behavior and the string-match nature of 'search' are left entirely undocumented.

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 uses a specific verb+resource pair ('Retrieve metric metadata from Ambari Metrics service'), which is clearer than a bare name restatement and implicitly separates metadata discovery from the sibling get_ambari_metrics (actual metric values). However, it never names or contrasts with any sibling, leaving the agent to infer that distinction from tool names alone.

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?

The phrase 'with optional filters' hints that filtering is possible, but there is no statement of when to call this versus get_ambari_metrics, get_ambari_metric_apps, or get_common_metrics_catalog, and no prerequisite or exclusion guidance. The agent gets no explicit usage decision criteria.

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