Skip to main content
Glama

cancel_job_run

Stop EMR Serverless job runs that are stuck, running too long, or started with incorrect parameters. This tool sends an asynchronous cancellation request to transition jobs to CANCELLED state.

Instructions

Cancel a running or pending EMR Serverless job run.

Use this when a Spark job is stuck, taking too long, or was started with incorrect parameters. The cancellation is asynchronous — the job will transition to CANCELLING and then CANCELLED state.

Args: application_id: The EMR Serverless application ID. job_run_id: The job run ID to cancel. env: Target environment — 'dev', 'uat', 'test', or 'prod'. IMPORTANT: Do NOT guess or default. Ask the user which environment if not specified.

Returns confirmation of the cancellation request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
application_idYes
job_run_idYes
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