Skip to main content
Glama

Jobs

job
Destructive

Track Ansible apply and long-plan runs: check status, wait, list recent runs, extend a confirmation window, or revert changes while the rollback window is open.

Instructions

Follow an apply or a long plan: status (optionally waiting wait_s), list the recent jobs, extend a confirmation window, or revert (undo the change now, while its window is open). A job whose server stopped shows as interrupted: the host's own timer still restores it.

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": "job"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNothe job id an apply or plan returned
actionNostatus (default), list, extend or revert
wait_sNostatus: seconds to wait for it to finish (up to 70). Default 0
windowNoextend: the new time to confirm, e.g. 20m

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveness and open-world behavior; the description adds operational detail about confirmation windows, revert timing, and interrupted jobs whose host timer restores them. It does not cover permissions or rate limits, but it meaningfully extends the annotation set.

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?

The description front-loads the action list and adds one behavioral note, with no filler. The semicolon-heavy first sentence is dense, but every clause supports invocation or interpretation.

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 four-parameter, multi-action job tool with full schema coverage and strong annotations, the description covers all actions and the key interrupted-job behavior. It does not describe return payloads, but no output schema exists and the invocation guidance is otherwise sufficient.

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 the action enum plus every parameter is already documented in the schema. The description maps options to actions but adds little parameter syntax or edge-case meaning beyond the schema.

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 the resource (jobs from an apply or long plan) and enumerates the four actions (status, list, extend, revert), so an agent can tell what the tool is for. It does not sharply differentiate from the sibling status tool, and 'follow' is less precise than 'manage', but the action list carries the purpose.

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?

It gives per-action context: status can wait, list shows recent jobs, extend changes a confirmation window, and revert undoes the change while its window is open. That is useful selection guidance for the actions within this tool, though it does not name when to prefer a sibling such as status.

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

Deploy Server

Other Tools