Skip to main content
Glama

List Device Jobs

ninjaone_list_device_jobs
Read-onlyIdempotent

Lists currently running jobs for a single device—scripts, patching, and actions—so you can monitor active tasks by device ID.

Instructions

List one device's currently running jobs (scripts, patching, actions). For the same data across many devices, use the matching ninjaone_report_* tool with df.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device_id": "<device_id>"
    },
    "name": "ninjaone_list_device_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNoTime zone for timestamps, e.g. "America/Los_Angeles".
langNoLanguage tag for messages, e.g. "en".
limitNoRows per page, 1 to 500. Default 50.
cursorNoOpaque cursor from next_cursor on the previous page. Omit for the first page.
fieldsNoOmit for the compact field set. "all" returns full records; a list of names returns just those fields.
device_idYesDevice id (from ninjaone_list_devices or ninjaone_search_devices).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so safety is covered. The description adds genuinely new behavioral context by scoping results to *currently running* jobs rather than job history, which materially changes what an agent can infer from a result set. It stops short of describing ordering or pagination behavior.

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?

Two tight sentences with the scope front-loaded and the alternative immediately after — no filler. The unexplained token "df" is the one blemish: it is undefined jargon that costs a moment of interpretation rather than reinforcing the routing guidance.

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 read-only, single-device list tool with 100% schema coverage and no output schema, the description covers scope, subject, and the primary alternative. Nothing essential to correct invocation is missing, though the undefined "df" reference leaves the alternative-routing advice slightly under-specified.

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 tz, lang, limit, cursor, fields and device_id are all already documented in structured data. The description adds no parameter-level meaning beyond the schema; the phrase "with df" gestures at a filter concept but never defines it.

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?

Uses a specific verb ("List") with an explicit resource and scope ("one device's currently running jobs") and enumerates the job categories in parentheses (scripts, patching, actions). An agent can distinguish this from device-scoped siblings like ninjaone_list_device_activities without opening the schema.

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?

Explicitly routes the agent away from this tool when the need is cross-device, naming the class of alternative ("the matching ninjaone_report_* tool"). It does not address when to prefer it over ninjaone_list_jobs, so differentiation is clear for the main fork but not exhaustive.

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