Skip to main content
Glama

Create Location

ninjaone_create_location

Add a location or site to an organization, returning the created record. Use when creating a new NinjaOne location with name, address, description, and user data; requires write mode and confirmation.

Instructions

Add a location (site) to an organization. Returns the new location. Body (object) per NinjaOne createLocationForOrganization. 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": {
      "body": "<body>",
      "confirm": "<confirm>"
    },
    "name": "ninjaone_create_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 createLocationForOrganization. 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 readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the write profile is covered. The description adds value beyond them by disclosing the write-mode gate, the confirm requirement, and that the call returns the new location. It says little about failure modes such as duplicate site names, which keeps it from a 5.

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?

Four short sentences, front-loaded with what the tool does and what it returns, followed by the body fields and the gating requirements. Dense and waste-free, if telegraphic in the field list.

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 no output schema, the description usefully states that the new location is returned, and it covers the write-mode and confirm gates the agent must satisfy. For a three-parameter create tool with a fully documented schema, nothing essential is missing, though duplicate-handling behavior is unstated.

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 body parameter is an open additionalProperties object in the schema and the description compensates by enumerating the expected fields (name, address, description, userData) and pointing to createLocationForOrganization. That is genuine meaning beyond the schema, though the field types are only given loosely.

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: 'Add a location (site) to an organization', which is clearly distinct from sibling operations like ninjaone_update_location or ninjaone_create_organization. It does not explicitly name a sibling to route against, but the create-new-site scope 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?

Gives a real prerequisite ('Needs NINJAONE_MODE=write and confirm: true'), which tells the agent when the call will succeed. It stops short of saying when to prefer this over related tools such as ninjaone_update_location (existing site) or how to discover a valid organization up front, leaving that inference to the schema.

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