Skip to main content
Glama

Test Connection

ninjaone_test_connection
Read-onlyIdempotent

Verifies NinjaOne API credentials by requesting an OAuth token and making one low-cost call, returning the base URL, granted scopes, an organization count sample, and round-trip time.

Instructions

Prove the credential works: requests an OAuth token and makes one cheap call (the first organization). Returns the base URL, the scopes granted, an organization count sample, and the round-trip time. A token error here means the client id, secret or region is wrong.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare it read-only, idempotent and non-destructive, so the bar is lower, yet the description still adds real substance: the tool performs two network round-trips, exercises a specific endpoint (first organization), and reports back the base URL, granted scopes, an organization count sample, and round-trip time. It also discloses failure semantics — what a token error implies about misconfiguration — which annotations do not cover.

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?

Three tight sentences: capability first, then what is returned, then the diagnostic interpretation. Every clause carries information an agent needs and nothing is repeated from the annotations.

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

Completeness5/5

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

There is no output schema, so the description carries the return-value burden and does so explicitly (base URL, scopes, org count sample, round-trip time). For a zero-parameter read-only diagnostic tool, nothing an agent needs in order to call or interpret it is missing.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. Schema coverage is 100% with an empty properties object, matching the description's implication that it needs no input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb-and-outcome pair ('Prove the credential works') and then spells out the exact mechanics: an OAuth token request plus one cheap call against the first organization. This is unmistakably a diagnostic/connection-test tool and cannot be confused with data siblings like ninjaone_get_organization or ninjaone_find_organization.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly conveys the situation to invoke it (verifying that credentials work) and gives a diagnostic rule: a token error means the client id, secret or region is wrong. It stops short of explicit exclusions or sequencing advice such as 'call this before attempting any other tool', so it is clear context without full when/when-not guidance.

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