Skip to main content
Glama
ChrisChoTW

databricks-mcp

by ChrisChoTW

list_jobs

Retrieve and monitor Databricks Jobs to track execution status and manage workflows within the Databricks platform.

Instructions

List Jobs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
expand_tasksNo

Implementation Reference

  • The list_jobs tool handler which uses the workspace client to retrieve a list of jobs, limited by the provided argument.
    @mcp.tool
    def list_jobs(ctx: Context, limit: int = 20, expand_tasks: bool = False) -> List[Dict[str, Any]]:
        """List Jobs"""
        w = get_workspace_client()
        jobs_iter = w.jobs.list(expand_tasks=expand_tasks)
        results = []
        for i, job in enumerate(jobs_iter):
            if i >= limit:
                break
            results.append(job.as_dict())
        return results

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChrisChoTW/databricks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server