Skip to main content
Glama
IBM watsonx.data MCP Server

IBM watsonx.data MCP Server

Official
by IBM

List Spark Applications

list_spark_applications

Lists Spark applications on a specified Spark engine, allowing optional filters by application state and limits on returned results.

Instructions

List Spark applications on a Spark engine.

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>"
    },
    "name": "list_spark_applications"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo(optional) Maximum number of applications to return (1-1000). Recommended to use smaller values (e.g., 10-50) to avoid exhausting tokens.
stateNo(optional) Filter by application state (e.g., ["running", "finished", "failed"])
engine_idYes(required) Spark engine identifier

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.5
    • addedInput schema / properties / engine_id / description
      Added value: +"(required) Spark engine identifier"
    • addedInput schema / properties / limit / description
      Added value: +"(optional) Maximum number of applications to return (1-1000).\n   Recommended to use smaller values (e.g., 10-50) to avoid exhausting tokens."
    • addedInput schema / properties / state / description
      Added value: +"(optional) Filter by application state (e.g., [\"running\", \"finished\", \"failed\"])"
  2. First observedv0.1.4

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about pagination, default result size, ordering, or permission requirements. The word "List" implies a read-only operation, but that is an inference rather than a disclosed trait.

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

Conciseness4/5

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

It is a single front-loaded sentence with zero filler, which is structurally clean. Its brevity is efficient, though the space saved is not reinvested in routing or behavioral detail.

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

Completeness2/5

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

The tool is simple, has a full output schema, and the parameters are fully documented in the schema, which lowers the bar. Even so, for a list tool with a sibling that reports a single application's status, the description should indicate result ordering, default limit behavior, or when this is preferred over status lookups; none of that is present.

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 limit, state, and engine_id are already fully documented in the schema, including the token-exhaustion advice for limit. The description adds no additional semantics such as state value conventions or how engine_id is obtained, so the baseline of 3 applies.

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

Purpose3/5

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

The description names a specific verb and resource ("List Spark applications") and adds engine scoping ("on a Spark engine"), which is slightly more than the title. However, it does nothing to distinguish this from siblings such as get_spark_application_status or the other list_* tools, so it remains near-tautological.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus get_spark_application_status, list_engines, or other list tools, and no prerequisites or exclusions. The only implied usage is 'you want a list,' which the agent could infer from the name alone.

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