Skip to main content
Glama

Delete change request conflict scan

servicenow_delete_change_request_conflict_scan
DestructiveIdempotent

Deletes conflict scan data from a ServiceNow change request or task using their sys IDs; confirm the destructive deletion when prompted.

Instructions

Delete conflict scan information associated with a change request.

:param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param task_sys_id: Sys ID of the task associated with the change request. :type task_sys_id: str or None

:return: Response containing parsed Pydantic model with information about the deleted conflict scan. :rtype: Response

:raises MissingParameterError: If either change_request_sys_id or task_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails.

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

Input Schema

NameRequiredDescriptionDefault
dataNo
stateNo
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
change_typeNo
task_sys_idNo
text_searchNo
model_sys_idNo
sysparm_limitNo
sysparm_queryNo
worker_sys_idNo
api_parametersNo
cmdb_ci_sys_idNo
sysparm_offsetNo
cmdb_ci_sys_idsNo
response_lengthNo
template_sys_idNo
association_typeNo
name_value_pairsNo
change_model_sys_idNo
change_request_sys_idNo
refresh_impacted_servicesNo
change_request_task_sys_idNo
standard_change_template_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.5.0
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "description": "Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.",
      +  "type": "boolean"
      +}
  2. First observedv2.4.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=true, so safety and idempotency are covered structurally. The description adds independent value by naming what is removed (conflict scan information tied to a change request), describing the returned model, and enumerating the failure modes (MissingParameterError, ParameterError on bad params or JSON deserialization). It says nothing about irreversibility of the deletion or behavior when no conflict scan exists.

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 opening sentence is front-loaded and clear, and the error list is useful. The RST :param:/:type:/:rtype: scaffolding is docstring boilerplate that largely restates the parameter names and adds bulk without meaning.

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

Completeness2/5

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

A destructive, 23-parameter tool with no output schema needs more than two documented parameters and a one-line return note. The agent has no guidance on the confirm flag, how the scan is identified among the many task/model/CI identifiers, or what happens on a no-op delete, so the definition is materially incomplete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 4% across 23 parameters, and the description documents just two of them (change_request_sys_id, task_sys_id) with type hints that the schema already implies. Its one genuine addition is revealing that one of those two is required despite the schema marking nothing required. The remaining 21 parameters, including confirm, response_length, and sysparm_* filters, receive no explanation in either place.

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+resource: "Delete conflict scan information associated with a change request." An agent can tell this removes a conflict scan rather than retrieving or checking one. It does not explicitly differentiate itself from sibling conflict tools such as servicenow_get_change_request_conflict or servicenow_check_change_request_conflict, so it falls short of a 5.

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?

No explicit when-to-use statement and no named alternatives, but it does disclose a real precondition: a MissingParameterError is raised if either change_request_sys_id or task_sys_id is absent, which tells the agent at least one identifier is mandatory. That is implied usage guidance rather than deliberate routing between siblings.

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