Skip to main content
Glama

create_job

Create a new Databricks job with tasks, schedules, and dependencies; supports notebook, JAR, Python, and SQL tasks for automated workflow orchestration.

Instructions

Create a new job with tasks, schedules, and dependencies. Supports notebook, JAR, Python, and SQL tasks.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName of the job
tagsNoCustom tags as key-value pairs
cluster_idNoExisting cluster ID to run the job on (use this OR new_cluster config)
max_retriesNoMaximum number of retries on failure
python_fileNoPath to Python file for Python tasks
notebook_pathNoPath to notebook for notebook tasks
schedule_cronNoQuartz cron expression for scheduling (e.g., "0 0 0 * * ?" for daily at midnight)
timeout_secondsNoJob timeout in seconds
email_on_failureNoEmail addresses to notify on failure
email_on_successNoEmail addresses to notify on success
python_parametersNoParameters for Python tasks
schedule_timezoneNoTimezone for the schedule (e.g., "America/Los_Angeles")
max_concurrent_runsNoMaximum number of concurrent runs (default: 1)
notebook_parametersNoParameters to pass to the notebook

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It says what is created but not whether the job is immediately scheduled or run, what permissions are required, whether creation is idempotent, or what happens when both cluster_id and a new cluster are relevant. For a 14-parameter mutation tool with zero annotation coverage this is a significant gap.

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 core action and followed by the task-type scope. Nothing is redundant or padded.

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 complex mutation tool with 14 parameters, no annotations, and no output schema, the description is too thin. It omits permission/prerequisite context, whether the job starts running, and how the mentioned dependencies are expressed, leaving real gaps for an agent to guess at.

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 the baseline is 3. The description adds context by mapping task types (notebook, Python) to the relevant parameters, but it also claims JAR and SQL task support that the schema does not expose as parameters, and it mentions dependencies without a corresponding field.

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 and resource: 'Create a new job' and lists supported task types (notebook, JAR, Python, SQL), which is far more informative than a tautology. It does not explicitly distinguish itself from siblings like update_job or run_job, 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 Guidelines2/5

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

There is no guidance on when to use this versus update_job, run_job, or create_cluster, and no stated prerequisites such as permissions or cluster availability. The only implied usage is that this is the creation entry point for jobs.

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