Skip to main content
Glama

Get Location Custom Fields

ninjaone_get_location_custom_fields
Read-onlyIdempotent

Retrieve custom field values configured on a specific organization location, optionally including values inherited from the organization, so agents can read location metadata before updates or reporting.

Instructions

Get the custom field values set on one location of an organization.

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>"
    },
    "name": "ninjaone_get_location_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.
location_idYesLocation id (from ninjaone_list_org_locations).
with_inheritanceNoInclude values inherited from the organization.

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=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that — notably it does not explain the inheritance/merging behavior implied by with_inheritance, which is the one behavioral subtlety an agent would want.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with zero filler, and the resource scope is front-loaded. Nothing redundant or padding-like is present.

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 simple read tool with full schema coverage and rich annotations this is close to sufficient, but there is no output schema and the description does not indicate the return shape (e.g. a map of field names to values) or whether inherited values are merged into the result. Those gaps matter because the tool's entire payload is the return value.

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%, so all three parameters (org, location_id, with_inheritance) are already documented in the schema, including the override precedence and ambiguity-refusal behavior. The description adds no additional parameter meaning, 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 ('Get') and a specific resource ('custom field values set on one location of an organization'), which cleanly distinguishes it from the device- and org-scoped siblings. It stops short of explicitly naming the write counterpart (ninjaone_update_location_custom_fields), so it isn't fully differentiated.

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?

Usage is only implied by the resource scope — an agent can infer this is for reading location-level custom field values rather than device or org values. There is no explicit when-to-use, when-not-to-use, or pointer to a sibling alternative (e.g. use the org variant for org-level fields).

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