Skip to main content
Glama

stop_service

Stop a specific service in an Ambari cluster to initiate maintenance, troubleshooting, or shutdown procedures. Returns request information for tracking progress.

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

TableJSON Schema
NameRequiredDescriptionDefault
service_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden and does well by describing behavioral traits: it's for 'automated stop', ensures 'safe and monitored shutdown', initiates an Ambari request, returns request info for tracking, and provides success/error messages. It doesn't mention permissions, rate limits, or irreversible effects, keeping it from a perfect score.

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 description is appropriately sized but not optimally structured: it uses sections like '[Tool Role]' and '[Core Functions]' which add clarity but could be more streamlined. Sentences earn their place, but the formatting is slightly verbose compared to a single cohesive paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (a destructive operation with 1 parameter, no annotations, but has output schema), the description is complete: it explains purpose, usage, behavior, parameters, and return values. The output schema existence means the description doesn't need to detail return formats, and it adequately covers all aspects for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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. It adds meaning by explaining 'service_name' as the name of the service to stop with examples like 'HDFS', 'YARN', 'HBASE', which clarifies usage beyond the schema's basic string type. However, it doesn't detail constraints like valid service names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose as stopping a specific service in the Ambari cluster with the verb 'stops' and resource 'service'. It distinguishes from siblings like 'stop_all_services', 'restart_service', and 'start_service' by specifying it's for a single service.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The '[Required Usage Scenarios]' section explicitly lists when to use this tool: when users request to stop a service, during maintenance/troubleshooting requiring shutdown, or when service stop is mentioned. It distinguishes from alternatives by not being for all services or restart operations.

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

Install Server

Other Tools

Latest Blog Posts

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