Skip to main content
Glama

Get Ambari Metric Apps

get_ambari_metric_apps
Read-only

Retrieve AMS application IDs discovered by Apache Ambari, optionally with metric counts, to inventory monitored apps and guide cluster metric analysis.

Instructions

Return discovered AMS appIds, optionally with metric counts.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
refreshNo
include_countsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.9.0

TDQS

B3/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 counts are optional, but omits meaningful behavior: that limit defaults to 200 and may truncate results, and that refresh=true appears to trigger re-discovery (a side effect worth flagging on a 'read-only' tool).

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 efficient, though the brevity comes at the cost of the parameter detail noted elsewhere.

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, so return values need not be described. However, for a tool with three undocumented parameters and a re-discovery flag, the definition is thinner than the complexity warrants, leaving the agent unable to reason about pagination or refresh cost.

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 three parameters, so the description must compensate and largely does not. It only implicitly covers include_counts via 'optionally with metric counts'; limit and refresh have no explanation of range, truncation, or cost anywhere.

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 states a specific verb and resource: it returns discovered AMS appIds, optionally with metric counts. An agent can tell this is a discovery/list operation, though it never contrasts itself with get_ambari_metrics or get_ambari_metrics_metadata, so sibling differentiation is left to inference.

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 explicit when-to-use guidance, no prerequisites, and no named alternative. The word 'discovered' faintly implies a lookup-before-metrics workflow, but the agent must guess that rather than being told.

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