Skip to main content
Glama

stop_emr_application

Stop an EMR Serverless application by first canceling any running jobs, then halting the application. Provides step-by-step execution reports.

Instructions

Stop an EMR Serverless application. If jobs are running, cancels them first.

Smart flow:

  1. Tries to stop the application directly.

  2. If it fails because jobs are still running — automatically finds and cancels ALL running/pending jobs, then retries the stop.

  3. Reports every step taken so the user knows exactly what happened.

Use force=True to skip the initial stop attempt and go straight to cancelling all jobs first (useful when you know jobs are running).

Args: application_id: The EMR Serverless application ID. force: If True, cancel all running jobs first without trying to stop. env: Target environment — 'dev', 'uat', 'test', or 'prod'. IMPORTANT: Do NOT guess or default. Ask the user which environment if not specified.

Returns a step-by-step report of what was done.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
application_idYes
forceNo
envNo

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/SrujanReddyKallu2024/MCP'

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