Skip to main content
Glama
IBM watsonx.data MCP Server

IBM watsonx.data MCP Server

Official
by IBM

Stop Spark Application

stop_spark_application

Terminate a running Spark application and delete it from the engine history using the engine and application identifiers.

Instructions

Stop and remove a Spark application.

This will terminate a running application and remove it from the engine's history.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "engine_id": "<engine_id>",
      "application_id": "<application_id>"
    },
    "name": "stop_spark_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
engine_idYesSpark engine identifier
application_idYesApplication identifier to stop

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.5
    • addedInput schema / properties / application_id / description
      Added value: +"Application identifier to stop"
    • addedInput schema / properties / engine_id / description
      Added value: +"Spark engine identifier"
  2. First observedv0.1.4

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the key destructive trait: the application is terminated and removed from the engine's history, which signals irreversibility. It omits other important behavior such as permission requirements, effect on in-flight jobs, idempotency, or what happens if the application is already stopped.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and followed by the consequence; every sentence earns its place with no filler.

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

Completeness4/5

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

An output schema exists and both parameters are fully documented, so the description only needs to convey the destructive semantics, which it does. Minor gaps remain around failure modes and side effects on running work, but nothing essential to invoking the tool is missing.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both engine_id and application_id are already documented in the schema. The description adds no additional meaning about parameter formats, constraints, or interactions, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb+resource pair ("Stop and remove a Spark application") that is clearly distinct from siblings like submit_spark_application or get_spark_application_status. It does not explicitly name a sibling to contrast with, so it stops short of a 5.

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

Usage Guidelines3/5

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

The phrase "terminate a running application" implies the situation in which to use it, but there is no explicit when-to-use/when-not-to-use guidance, no mention of alternatives (e.g., pausing an engine), and no stated prerequisites such as the application needing to be in a running state.

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