Skip to main content
Glama

list_job_runs

Retrieve runs for a specific Databricks job or list runs across all workspace jobs, with limit and offset controls for pagination. Use it to audit job execution history.

Instructions

List all runs for a specific job or all jobs in the workspace.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_job_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of runs to return (default: 25)
job_idNoFilter runs by job ID (optional)
offsetNoOffset for pagination (default: 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 burden, yet it discloses nothing beyond the bare listing action. There is no mention of result ordering, whether limit applies per job or globally, what the default 25 cap means when scanning many jobs, or how pagination terminates.

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?

A single short sentence that front-loads the verb and the two scopes. It is efficient, though the trailing 'or all jobs in the workspace' phrasing is slightly ambiguous rather than precise, and nothing else is included to waste space.

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

Completeness3/5

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

This is a simple read-only list tool with three fully documented optional parameters and no output schema, so the description does not need to explain return values. However, with zero annotations and no pagination or ordering guidance, an agent still lacks enough context to page reliably through large run sets.

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 coverage is 100% and each of the three parameters is documented inline, including defaults for limit and offset. The description adds no semantics beyond that, such as whether job_id must reference an existing job or how offset interacts with a changing run set, so the baseline of 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?

The description names a specific verb and resource ('List all runs') and clarifies the two scopes: a single job or every job in the workspace. That distinguishes it from point-lookup siblings like get_job_run_status and get_job_run_output, though the phrase 'or all jobs' is slightly loose since the tool returns runs, not jobs.

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?

Usage is only implied: passing job_id filters to one job, omitting it lists across the workspace. There is no explicit statement of when to prefer this over list_jobs or the per-run status/output tools, so the agent must infer the boundary from sibling names.

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