Skip to main content
Glama

Search change requests

change_search
Read-onlyIdempotent

Find ServiceNow change requests newest-first, filtering by type, state, assignment group, planned start date, or text. Add encoded queries and page results.

Instructions

Find change requests, newest first. type is normal, standard or emergency; state is a label (e.g. "Scheduled"); assignmentGroup is a name or sys_id; plannedAfter is YYYY-MM-DD. text matches short description or number. query adds an encoded query (ANDed).

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

Input Schema

NameRequiredDescriptionDefault
textNoWords to find in the short description or number.
typeNoChange type.
limitNoMaximum records to return. Defaults to the configured default, capped at maxRecords.
queryNoExtra encoded query, ANDed with the rest.
stateNoState label, e.g. "Scheduled". See choice_list.
fieldsNoField names to return (dot-walking allowed, e.g. caller_id.name). Default: all.
offsetNoRecords to skip (paging). Use nextOffset from the previous result.
instanceNoInstance alias from the config (see instance_list). Defaults to the default instance.
displayValueNoraw = stored values, display = labels, both (default) = value and label when they differ.
plannedAfterNoOnly changes with a planned start on or after this date (YYYY-MM-DD).
assignmentGroupNoGroup name or sys_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds behavioral detail not in the annotations: results come back newest first, and an encoded query is ANDed rather than replacing other filters. It does not mention result caps or paging behavior, which the schema handles separately.

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?

The scoping sentence is front-loaded and the per-parameter clauses are terse and semicolon-delimited, so it scans quickly with no filler. The only mild redundancy is restating the type enum values, which the schema already lists.

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?

Eleven parameters with no output schema, but the description covers the semantically ambiguous ones while limit, offset, fields, instance and displayValue are fully documented in the schema. An agent can call this correctly from the combined description and schema; only pagination expectations for a large result set go unstated.

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?

With 100% schema coverage the baseline is 3, and the description goes beyond it: it explains that text matches short description or number, that state is a label with a pointer to choice_list, that assignmentGroup accepts a name or sys_id, and that plannedAfter uses YYYY-MM-DD. That meaningfully clarifies the fuzzy string parameters that the schema alone leaves vague.

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?

"Find change requests, newest first" gives a specific verb plus resource and adds result ordering. It does not name siblings such as change_get or table_query, so the agent must infer that this is the multi-record search path, but the resource is unambiguous.

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 implied by the verb 'Find' and the filter parameters, and the description notes that query is ANDed with the rest, which clarifies combination semantics. There is no explicit guidance on when to prefer this over change_get, table_query, or change_templates_list, and no stated exclusions.

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