Skip to main content
Glama

List Device Activities

ninjaone_list_device_activities
Read-onlyIdempotent

List a single device's activity log—scripts, patches, alerts, and actions—newest first, with backward paging and filters by type, status, or time range.

Instructions

List one device's activity log (scripts, patches, alerts, actions), newest first, paged backwards in time.

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_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNoTime zone for timestamps, e.g. "America/Los_Angeles".
langNoLanguage tag for messages, e.g. "en".
limitNoRows per page, 1 to 1000. 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.
statusNoActivity status filter.
end_timeNoISO-8601 end.
device_idYesDevice id (from ninjaone_list_devices or ninjaone_search_devices).
series_uidNoOnly activities for this alert series.
start_timeNoISO-8601 start.
activity_typeNoActivity type, e.g. "ACTION", "CONDITION", "PATCH_MANAGEMENT".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile needs no restating. The description adds genuinely new behavior beyond that: results are newest-first and pagination walks backwards in time, which tells an agent how to page and what to expect at page boundaries.

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?

A single sentence with zero filler: scope, content, ordering and pagination direction are all front-loaded. Nothing repeats the title or the schema.

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 an 11-parameter read-only list with a fully documented schema and no output schema, the description covers what is returned at a topical level and how paging works. It stops short of describing the activity record shape, though the enumerated categories give an agent enough to know what to expect.

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 every one of the 11 parameters is already documented, including cursor, limit and fields semantics. The description adds only the temporal direction of paging, not filter or format meaning, so the baseline 3 applies.

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?

"List one device's activity log" gives a specific verb plus scoped resource, and the parenthetical (scripts, patches, alerts, actions) pins down the content type. The "one device" scope implicitly sets it apart from ninjaone_list_activities, but the sibling is never named, so differentiation requires inference.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the per-device variant when a device_id is in hand, but there is no explicit "use this instead of ninjaone_list_activities when..." statement and no prerequisites or exclusions. Adequate but leaves the sibling choice to inference.

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