Skip to main content
Glama

Search Devices

ninjaone_search_devices
Read-onlyIdempotent

Find devices by name, logged-on user, IP, or MAC address and return matching device IDs for identification and follow-up actions.

Instructions

Find devices by name, logged-on user, IP or MAC address. Returns matching devices with ids.

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": {
      "q": "<q>"
    },
    "name": "ninjaone_search_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch text: device name, user name, IP or MAC.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds that results include ids, which is genuinely useful in the absence of an output schema, but it says nothing about paging behavior, result caps, or what the compact default field set contains.

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 short sentences with zero filler; the searchable attributes and the returned id are front-loaded and nothing is repeated unnecessarily.

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?

With rich annotations and fully documented schema, the definition gives an agent enough to invoke the tool correctly, and it compensates a little for the missing output schema by noting that ids are returned. The gap is routing information — nothing tells the agent how this differs from the sibling list/get device tools.

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 q, limit, cursor, and fields are all documented in the schema itself. The description's enumeration of searchable identifiers restates q's meaning rather than extending it, and it adds nothing about pagination or the 'all'/field-list behavior of fields. 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?

States a specific verb (Find) and resource (devices) plus the exact search keys: name, logged-on user, IP or MAC. An agent knows precisely what the tool retrieves, though the description never names how it differs from sibling listing tools such as ninjaone_list_devices.

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 implied by 'Find devices by name, logged-on user, IP or MAC address' — it is the tool to use when you have a search term. There is no explicit statement of when to prefer it over ninjaone_list_devices or ninjaone_get_device, and no prerequisite or exclusion notes.

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