Skip to main content
Glama

MCP-Ambari-API

stop_service

Stop a specified service in the Ambari cluster using the MCP-Ambari-API. Initiates a monitored shutdown, returns request details for progress tracking, and provides clear success or error messages for automation.

Instructions

Stops a specific service in the Ambari cluster.

[Tool Role]: Dedicated tool for automated stop of Ambari services, ensuring safe and monitored shutdown.

[Core Functions]:

  • Stop the specified service and initiate Ambari request
  • Return request information for progress tracking
  • Provide clear success or error message for LLM automation

[Required Usage Scenarios]:

  • When users request to "stop" a service (e.g., "stop HDFS", "stop YARN")
  • When maintenance or troubleshooting requires a service shutdown
  • When users mention service stop, shutdown, or automated stop

Args: service_name: Name of the service to stop (e.g., "HDFS", "YARN", "HBASE")

Returns: Stop operation result (success: request info, failure: error message) - Success: Multi-line string with request ID, status, monitor URL, and instructions for progress tracking - Failure: English error message describing the problem

Input Schema

NameRequiredDescriptionDefault
service_nameYes

Input Schema (JSON Schema)

{ "properties": { "service_name": { "title": "Service Name", "type": "string" } }, "required": [ "service_name" ], "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