Skip to main content
Glama

List Device Custom Field Definitions

ninjaone_list_device_custom_field_definitions
Read-onlyIdempotent

Lists account-wide custom field definitions for devices, locations, and organizations, including names, labels, and types, so agents can discover available fields.

Instructions

List the custom field definitions that apply to devices, locations and organizations (names, labels, types). Account-wide (not organization scoped).

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

Input Schema

NameRequiredDescriptionDefault
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.
scopesNoComma-separated scopes: all, node, location, organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description adds the meaningful behavioral fact that results are account-wide rather than org-scoped, but says nothing about result volume or whether pagination is required for large accounts.

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 no filler; the scoping caveat is placed at the end where it reads as a qualifier rather than being buried mid-sentence. Nothing redundant with the title.

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 listing tool with full schema coverage and complete annotations, the description covers identity, scope and returned content shape (names, labels, types). The only gap is the lack of an explicit contrast with the value-oriented custom field siblings, which an agent might otherwise confuse it with.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description goes slightly beyond by naming the entity dimensions (devices, locations, organizations) that the scopes parameter filters on, giving the agent a mental model before reading the schema's 'all, node, location, organization' enumeration. It does not explain limit/cursor/fields semantics, which the schema already handles.

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 and resource ('List the custom field definitions') and clarifies the content dimensions (names, labels, types), which distinguishes it from the value-returning get_device_custom_fields sibling without naming it. The scope qualifier 'apply to devices, locations and organizations' further pins down the resource.

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?

The 'Account-wide (not organization scoped)' note gives a useful selection hint against organization-scoped reporting siblings, but there is no explicit when-to-use statement and no mention of when to prefer get_device_custom_fields or the get_*_custom_fields tools over this list of definitions.

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