Skip to main content
Glama

Valid next states of a change

change_next_states
Read-onlyIdempotent

List the states a change request can move to right now for its ServiceNow type and current state, then pass one to change_update as the state field.

Instructions

List the states a change request can move to now, as ServiceNow allows them for its type and current state. Pass one of them to change_update as the state field.

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": {
      "id": "<id>"
    },
    "name": "change_next_states"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record sys_id (32 hex characters) or its number, e.g. INC0010001.
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?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds genuinely non-redundant behavior: the result set is dynamic and depends on the change's type and current state, which an agent could not infer from the annotations or schema.

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?

Two sentences, zero filler: the first defines the output and its dynamic nature, the second states the downstream action. The most important information (what you get and what to do with it) is front-loaded.

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?

For a simple read-only lookup with no output schema, the description conveys enough — the return is a set of candidate state values, one of which is fed to change_update. Only a hint about the return shape (bare strings vs. labeled states) is missing, which is minor.

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 coverage is 100%, so both the id (sys_id or number) and instance alias parameters are already fully documented in the schema. The description adds no further meaning about which identifier form is expected or how instance resolution affects results, so the 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 states a specific verb and resource — listing the states a change request can move to — and qualifies the scope as what ServiceNow permits for that record's type and current state. That distinguishes it from record-fetching siblings like change_get and from state-mutating tools.

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 gives a clear usage context: call this first, then pass one of the returned values to change_update as the state field. It stops short of explicit exclusions (e.g., don't guess state values from table_schema or choice_list), but the intended workflow is unambiguous.

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