Skip to main content
Glama

Update Organization

ninjaone_update_organization
Idempotent

Updates an organization's name, description, approval mode, or user data and returns before and after values. Use it to change NinjaOne org settings with confirmation.

Instructions

Update an organization's name, description, approval mode or user data. Returns before and after. Body (object) per NinjaOne updateOrganization. Fields: name (string), description (string), userData (object), nodeApprovalMode ("AUTOMATIC"|"MANUAL"|"REJECT"). 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_organization"
  }
}

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 updateOrganization. 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?

Annotations already declare non-read-only, idempotent, non-destructive, so the safety profile is covered. The description adds real value beyond that: 'Returns before and after' discloses response content in the absence of an output schema, and the write-mode/confirm requirement surfaces an authorization gate the annotations don't express.

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?

Front-loaded with the verb and fields, then prerequisites, with no filler sentences. The clause 'Body (object) per NinjaOne updateOrganization' is slightly redundant given the schema, but it usefully points to the authoritative external spec.

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 mutation tool with a nested free-form body and no output schema, the description covers the essential gaps: the writable fields, the approval-mode enum, the return shape, and the write-mode/confirm gate. The only shortfall is absent guidance on partial vs full updates and on the org parameter, whose semantics are already fully documented in the schema.

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%, but the body parameter is an opaque free-form object with no property definitions, so the schema alone leaves the agent guessing at field names. The description compensates by listing name, description, userData and nodeApprovalMode with its literal enum values, which is information found nowhere in the structured data.

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 (Update) plus the resource (organization) and enumerates the four updatable facets: name, description, approval mode, user data. It is clearly distinguishable from create/get/find organization siblings by the verb, though it doesn't explicitly name the closest alternative, ninjaone_update_org_custom_fields.

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?

Provides hard prerequisites (NINJAONE_MODE=write and confirm: true), which tells the agent when the call is permissible. It never says when to prefer this over related update tools such as ninjaone_update_org_custom_fields or ninjaone_update_location, so the choice among update siblings is left 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