Skip to main content
Glama

List Org Locations

ninjaone_list_org_locations
Read-onlyIdempotent

List the locations of one NinjaOne organization with id, name, address, and description. Use it to find site details or page through results before running device or policy tasks.

Instructions

List the locations (sites) of one organization, with id, name, address and description.

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_org_locations"
  }
}

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds the shape of returned records (id, name, address, description), which is genuinely useful given there is no output schema, but says nothing about pagination behavior or default result volume beyond what the schema states.

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?

A single front-loaded sentence with no filler; the scope and the returned fields come first. It is efficient, though it is perhaps too terse to carry routing information the agent needs.

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?

With no output schema, the enumeration of return fields is a real contribution, and the schema fully covers the four optional parameters. Still, for a paginated list tool that has a near-identical sibling, the definition omits pagination expectations and any explicit sibling routing, leaving gaps an agent must close by inference.

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

Parameters3/5

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

Schema description coverage is 100%, with org, limit, cursor and fields all documented in detail (including the ambiguous-name refusal and NINJAONE_ORG_ID override). The description adds nothing about parameters — its field list describes the response, not the request — so the baseline 3 applies.

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 locations (sites)") scoped to "one organization", and enumerates the returned fields. The org scoping implicitly separates it from the sibling ninjaone_list_locations, but the description never names that sibling, so the differentiation is left for the agent to infer.

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 phrase "of one organization" implies when to reach for this tool rather than a global locations listing, and the schema's org parameter description explicitly points to ninjaone_list_organizations for resolving names. However, the description itself gives no explicit when-to-use or when-not-to-use guidance against the alternatives.

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