Skip to main content
Glama

jobd_worker_delete

Remove an offline worker from the broker registry by its host identifier. Use after stopping the worker process or confirming the heartbeat sweeper has marked it offline, since the broker rejects deletion while the worker is still online.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesWorker host identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.47
    • addedInput schema / additionalProperties
      Added value: +false
  2. Addedv0.5.36
  3. Removedv0.5.35
  4. First observedv0.5.5

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals the 409 conflict behavior, the online/offline prerequisite, and the need to stop the worker or wait for the sweeper. This is substantive context beyond what the schema alone provides.

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 sentences, each earning its place: the first states the action, the second explains the key precondition and failure mode. No filler or repetition.

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

Completeness4/5

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

For a single-parameter, no-output-schema tool, the description covers the action, prerequisite, and error condition. It could optionally mention the success response shape or idempotency, but nothing essential to invoking it correctly 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 the parameter 'host' is already documented as 'Worker host identifier.' The tool description adds no further meaning about the host parameter, so a baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Remove') with a specific resource ('worker from the broker registry'), making the action unmistakable. It clearly differentiates from siblings like jobd_workers or jobd_submit without needing to compare schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description provides clear context: the worker must not be online, and the broker will return 409 otherwise. It also tells the caller how to proceed ('stops the worker process or waits for the heartbeat sweeper first'), though it does not explicitly mention alternative tools for inspecting workers before deletion.

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