jobd
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JOBD_URL | No | http://127.0.0.1:8765 | |
| JOBD_API_TOKEN | No |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| jobd_submitA | Submit a job to the jobd broker. Default async; pass wait=true to block up to wait_timeout_s (server clamps to 270). |
| jobd_statusA | Get JobInfo for a job_id. Pass wait=true to block until terminal or wait_timeout_s. |
| jobd_logsA | Tail the captured stdout/stderr of a job (workers stream output to the broker's per-job log as it runs). Returns log_tail (last tail_bytes, default 8 KiB, max 1 MiB) plus size_bytes/returned_bytes/truncated — works for running AND finished jobs. Use to check progress mid-run, diagnose a failure's traceback, or grab a job's final output. |
| jobd_cancelA | Cancel a job (queued → cancelled; running → SIGTERM via worker signal poll, ~2s). |
| jobd_preemptA | Preempt a running/assigned preemptible job (worker SIGTERMs with grace; final state 'preempted'). Refused if not preemptible or not running. |
| jobd_listA | List jobs on the broker with per-state counts. Defaults to the active set (queued/assigned/running); filter by state (e.g. ['failed']) or project to find past runs. Each row is a compact summary: job_id, project, state, host, exit_code, queued_at, started_at — call jobd_job_get for a job's full record. Use to answer 'what is running / queued right now?' or to locate a job id you've lost. |
| jobd_workersA | Fleet snapshot: every registered worker with state (online/stale/offline), live capacity ad (free_vram_gb, unregistered_vram_gb, free_ram_gb, idle_cpus), capability tags (cuda tiers, arch/os), slot usage (running/max_concurrent), and last_heartbeat — plus an overall health rollup (healthy|degraded|empty). Use before submitting GPU work to see what's free, or to diagnose why a job isn't being dispatched. |
| jobd_job_getA | Full JobInfo record for one job_id — everything jobd_status returns plus scheduling internals: depends_on + cascade policy (depends_on_any_exit), pending cancel/preempt signal, resolved profile, requires (gpu/tags/idempotent), host pin, fast_path, timeouts, and termination_reason. Use when debugging WHY a job routed/failed/stalled; prefer jobd_status for a quick state check. |
| jobd_worker_deleteA | Remove a worker from the broker registry. The broker refuses (409) if the worker is still online — caller stops the worker process or waits for the heartbeat sweeper first. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/musharna/jobd'
If you have feedback or need assistance with the MCP directory API, please join our Discord server