Skip to main content
Glama

Update Org Custom Fields

ninjaone_update_org_custom_fields
Idempotent

Update custom field values for a single organization, changing only fields in the request body and returning before/after values so changes can be reverted. Requires write mode and confirm: true.

Instructions

Set custom field values on one organization. Only the fields in body change. Returns the values before and after, so a change can be put back. Body (object) per NinjaOne updateNodeAttributeValues_1. Body maps custom field names to values, e.g. {"contractTier": "gold"}. Needs NINJAONE_MODE=write and confirm: true.

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": {
      "body": "<body>",
      "confirm": "<confirm>"
    },
    "name": "ninjaone_update_org_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgNoOrganization id, or a unique part of its name (case-insensitive). Overrides NINJAONE_ORG_ID. An ambiguous name is refused with the candidates; call ninjaone_list_organizations to see them all.
bodyYesRequest body as NinjaOne documents it for updateNodeAttributeValues_1. Field names are NinjaOne's (camelCase).
confirmYesMust be exactly true. States that this call changes live data. There is no undo from this server.

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?

Goes beyond the annotations with concrete behavior: partial semantics ("Only the fields in body change"), a write-mode plus confirm gate, and, importantly, that it returns values before and after so a change can be reversed. That rollback capability is not implied by idempotentHint or destructiveHint, and it compensates for the missing output schema. A 5 would require stating what happens with unknown field names or whether extra fields are ignored.

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?

Dense but front-loaded: the operation comes first, then the change semantics, return values, body shape, and prerequisites in that order. Every sentence carries information, though the NinjaOne-doc reference ("updateNodeAttributeValues_1") is jargon that adds little for an agent.

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 nested-body mutation with no output schema, it covers the essentials: what changes, what is returned (before/after), and the safety gate. The remaining gap is discoverability of legal custom field names, which the description defers to external NinjaOne documentation rather than an in-catalog sibling.

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 the baseline is 3, but the description earns extra credit by giving an example body ({"contractTier": "gold"}) that illustrates the name-to-value mapping the schema only gestures at. It does not explain how to discover valid custom field names, which is the main open parameter question.

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 with scope: "Set custom field values on one organization." The phrase "on one organization" implicitly separates it from the device and location custom-field siblings, though no sibling is named explicitly, so it stops short of a 5.

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?

Gives a clear precondition ("Needs NINJAONE_MODE=write and confirm: true") and clarifies the partial-update rule that only body fields change, which is genuinely useful context. But it never says when to prefer it over ninjaone_update_device_custom_fields, ninjaone_update_location_custom_fields, or reading first with ninjaone_get_org_custom_fields, so usage is implied rather than routed.

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