Skip to main content
Glama

Get Common Metrics Catalog

get_common_metrics_catalog
Read-only

Retrieve exact supported metric names for a specified Ambari app ID, optionally filtered by search terms, to identify valid metrics for monitoring or configuration tasks.

Instructions

List supported metrics per appId (exact names 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_common_metrics_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
app_idNo
searchNo
min_scoreNo
include_descriptionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.9.0

TDQS

C2.6/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 safety is covered. The description adds only the cryptic '(exact names only)' without explaining parameter effects like limit, search, min_score, or include_description, or how the catalog is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is efficiently front-loaded with no wasted words. However, the parenthetical '(exact names only)' is ambiguous and the overall structure is too terse for a five-parameter tool.

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?

The tool has five optional parameters and an output schema, but the description covers only appId and an unclear exact-name constraint. It does not explain the roles of search, limit, min_score, or include_description, leaving the definition incomplete for correct invocation.

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%, so the description must compensate for all five parameters. It mentions appId and an ambiguous 'exact names only' constraint but gives no meaning for limit, search, min_score, or include_description.

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 clear verb ('List') and resource ('supported metrics per appId'), making the core purpose identifiable. It does not explicitly differentiate from sibling tools like get_ambari_metrics or get_ambari_metrics_metadata, so it falls short of a 5.

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 or when-not-to-use guidance, and no alternatives are named. The phrase 'exact names only' hints at matching behavior but does not explain when this catalog tool should be chosen over sibling metric tools.

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