Skip to main content
Glama

MCP-Ambari-API

get_current_alerts

Retrieve current alerts from an Ambari cluster to monitor health, services, or hosts. Filter alerts by state, definition, or maintenance status for streamlined cluster management. Deprecated; use get_alerts_history with mode="current".

Instructions

Retrieve current alerts from Ambari cluster.

DEPRECATED: This function is deprecated in favor of get_alerts_history with mode="current". This wrapper is maintained for backward compatibility.

Input Schema

NameRequiredDescriptionDefault
cluster_nameNo
definition_nameNo
formatNodetailed
host_nameNo
maintenance_stateNo
service_nameNo
state_filterNo

Input Schema (JSON Schema)

{ "properties": { "cluster_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Cluster Name" }, "definition_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Definition Name" }, "format": { "default": "detailed", "title": "Format", "type": "string" }, "host_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Host Name" }, "maintenance_state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Maintenance State" }, "service_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Service Name" }, "state_filter": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "State Filter" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/call518/MCP-Ambari-API'

If you have feedback or need assistance with the MCP directory API, please join our Discord server