Skip to main content
Glama

Update Location

ninjaone_update_location
Idempotent

Updates a NinjaOne location's name, address, or description in a single confirmed write call. Use it to correct or refresh location details; requires NINJAONE_MODE=write and confirm: true.

Instructions

Update a location's name, address or description. Body (object) per NinjaOne updateLocation. Fields: name (string), address (string), description (string), userData (object). 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": {
      "location_id": "<location_id>",
      "body": "<body>",
      "confirm": "<confirm>"
    },
    "name": "ninjaone_update_location"
  }
}

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 updateLocation. Field names are NinjaOne's (camelCase).
confirmYesMust be exactly true. States that this call changes live data. There is no undo from this server.
location_idYesLocation id (from ninjaone_list_org_locations).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the update semantics and safety profile are partially covered structurally. The description adds the write-mode gate, but the confirm requirement and "no undo from this server" warning already live in the schema, and nothing explains partial-update behavior on the opaque body object.

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?

Two short sentences, front-loaded with the verb and mutable fields, then the operational gate. The phrase "Body (object) per NinjaOne updateLocation" leans on external documentation, but the sentence still earns its place by carrying the field list and the write-mode precondition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write tool with a nested open-object body and no output schema, the definition covers the essentials but leaves a meaningful gap: whether this is a partial merge or a full replacement, and what happens to fields not supplied. The preconditions are covered, so it is adequate rather than complete.

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 open object (additionalProperties only, no documented properties), so the schema alone cannot tell the agent which keys to send. The description enumerates the actual body fields — name, address, description, userData — which is genuinely additive information unavailable in structured form.

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 plus the mutable fields: "Update a location's name, address or description." It does not name siblings such as ninjaone_update_location_custom_fields or ninjaone_update_organization, so the agent must infer that this tool only touches core location fields, but the operation itself is unambiguous.

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 description supplies a real operational precondition (NINJAONE_MODE=write and confirm: true), which tells the agent when the call will succeed. It gives no guidance on choosing this tool over sibling mutations of the same org or location, and does not say whether omitted fields are left untouched or cleared.

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