Skip to main content
Glama

Create change request ci association

servicenow_create_change_request_ci_association

Associate configuration items with a ServiceNow change request as affected, impacted, or offering, and optionally refresh impacted services.

Instructions

Create associations between a change request and configuration items (CIs).

:param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param cmdb_ci_sys_ids: List of Sys IDs of CIs to associate with the change request. :type cmdb_ci_sys_ids: list or None :param association_type: Type of association (affected, impacted, offering). :type association_type: str or None :param refresh_impacted_services: Flag to refresh impacted services (applicable for 'affected' association). :type refresh_impacted_services: bool or None

:return: Response containing parsed Pydantic model with information about the created associations. :rtype: Response

:raises MissingParameterError: If change_request_sys_id, cmdb_ci_sys_ids, or association_type is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If association_type is not valid. :raises ParameterError: If JSON serialization or deserialization fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
stateNo
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. First observedv2.4.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the three required inputs, the valid association_type values ('affected, impacted, offering'), the conditional relevance of refresh_impacted_services, and the error classes raised. It does not say whether repeated calls duplicate associations, which matters for a non-idempotent write.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the docstring-style block is organized into params/return/raises, which aids scanning. However, the ':type' lines merely restate type information already present in the schema, adding length without adding meaning, and the return/raises sections are somewhat verbose relative to the information conveyed.

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?

For a 22-parameter mutation tool with no output schema and no schema descriptions, the definition leaves most parameters unexplained and does not clarify whether parameters like sysparm_limit, text_search, or state are even relevant here. Return handling is described only as a Pydantic model, which is helpful, but overall coverage is inadequate 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?

The schema has 22 parameters with 0% description coverage, and the description documents only 4 of them (change_request_sys_id, cmdb_ci_sys_ids, association_type, refresh_impacted_services). The remaining 18 — data, state, sysparm_query, sysparm_limit, task_sys_id, and others — are undocumented in either the schema or the description, leaving a large gap the description should have filled.

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?

The first sentence states a specific verb and resource ('Create associations between a change request and configuration items'), which is clear and distinguishable from create_change_request and create_cmdb_relation. It does not, however, explicitly name those siblings or explain how the association differs from a CMDB relation.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as create_cmdb_relation or refresh_change_request_impacted_services. The agent must infer usage entirely from the tool name and the association_type example values.

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