Skip to main content
Glama

Check instance connection

instance_check
Read-onlyIdempotent

Check a ServiceNow instance live: confirm sign-in, report the signed-in user, roles, and round-trip time. Use when calls fail with AUTH_FAILED, AUTH_REQUIRED, or SN_UNAVAILABLE.

Instructions

Checks one instance live: confirms switchboard can reach it and sign in, and reports the signed-in user (user name, sys_id), that identity's roles and the round-trip time. Read-only. Use it when calls fail with AUTH_FAILED, AUTH_REQUIRED or SN_UNAVAILABLE, or to see which roles ServiceNow applies.

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": "instance_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceNoInstance alias from the config (see instance_list). Defaults to the default instance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds that this is a *live* network round trip that performs an actual sign-in and measures latency — context the annotations cannot convey. It also enumerates the reported identity fields, so an agent knows to expect diagnostic output. It does not mention auth prerequisites, cost, or failure-mode behavior beyond the error codes.

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 densely packed sentences, front-loaded with the action and its results, followed by the trigger conditions — no filler. The only friction is the unexplained internal term 'switchboard', which an agent must infer means the MCP server itself.

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?

With no output schema, the description compensates by listing the exact return values (user name, sys_id, roles, round-trip time). Combined with the fully documented single parameter and the explicit trigger conditions, an agent has everything needed to call and interpret this diagnostic tool.

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?

The single parameter has 100% schema description coverage, including the config-alias semantics and the default-instance fallback. The description only implies the parameter through 'one instance' and adds no further syntax or selection guidance, so baseline 3 applies.

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 resource ('Checks one instance live') and enumerates what the check verifies and returns (reachability, sign-in, signed-in user name and sys_id, roles, round-trip time). That level of specificity clearly separates it from instance_list, which handles configured aliases rather than a live connection probe.

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?

Usage is triggered explicitly: 'Use it when calls fail with AUTH_FAILED, AUTH_REQUIRED or SN_UNAVAILABLE, or to see which roles ServiceNow applies.' This gives an agent concrete error codes and a secondary diagnostic purpose. It does not state when not to use it or name an alternative diagnostic tool, so it falls short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.