Skip to main content
Glama

create_cluster

Create a new Databricks cluster with fixed-size or autoscaling workers, Spark settings, node types, policies, and auto-termination to provision compute for data workloads.

Instructions

Create a new Databricks cluster with custom configuration. Supports both fixed-size and autoscaling clusters with various runtime options.

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": {
      "cluster_name": "<cluster_name>",
      "spark_version": "<spark_version>",
      "node_type_id": "<node_type_id>"
    },
    "name": "create_cluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idNoCluster policy ID to use
spark_confNoSpark configuration properties as key-value pairs
custom_tagsNoCustom tags as key-value pairs
num_workersNoNumber of worker nodes (use this OR autoscale, not both)
cluster_nameYesName for the new cluster
node_type_idYesNode type for worker nodes (e.g., "i3.xlarge", "Standard_DS3_v2")
spark_versionYesSpark version to use (e.g., "13.3.x-scala2.12")
instance_pool_idNoInstance pool ID to use for this cluster
driver_node_type_idNoNode type for driver (optional, defaults to node_type_id)
enable_elastic_diskNoEnable elastic disk scaling
autoscale_max_workersNoMaximum workers for autoscaling
autoscale_min_workersNoMinimum workers for autoscaling
autotermination_minutesNoAuto-terminate cluster after N minutes of inactivity (default: 120)
enable_local_disk_encryptionNoEnable local disk encryption

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and falls well short. It says nothing about cost implications of provisioning a cluster, required permissions, whether creation is asynchronous, or what happens when required parameters are omitted — all material for a 14-parameter create operation.

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?

Two short sentences with the operation stated first and the supported modes second; nothing is padded or buried. The second sentence is largely redundant with the schema but costs little.

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?

For a creation tool with 14 parameters, nested objects, and no output schema, the description omits what the call returns (e.g. a cluster ID needed for follow-up calls) and any note that the cluster begins running and incurring cost. The rich schema offsets some of this, but key behavioral context 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 every parameter already carries its own explanation, including the fixed-size vs. autoscale exclusivity. The description's mention of "fixed-size and autoscaling" and "runtime options" merely restates the schema rather than adding constraints, defaults, or format details.

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?

The description gives a specific verb and resource ("Create a new Databricks cluster") plus a scope hint ("custom configuration"), so an agent knows exactly what operation this is. It does not, however, differentiate itself from the many cluster-related siblings such as edit_cluster, resize_cluster, or start_cluster.

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?

"Supports both fixed-size and autoscaling clusters" implies two valid modes of use, but the choice is already encoded in the schema (num_workers vs. autoscale). There is no explicit when-to-use-this-vs-alternatives guidance, e.g. when to create a new cluster rather than resize or start an existing one.

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