Skip to main content
Glama

Update set retrieve

servicenow_update_set_retrieve

Retrieve a ServiceNow update set by sys_id from a remote instance, auto-preview if needed, and optionally remove the existing retrieved copy.

Instructions

Retrieves an update set with a given sys_id and allows you to remove the existing retrieved update set from the instance.

:param update_set_id: Sys_id of the update set on the source instance from where the update set was retrieved. :type update_set_id: str :param update_source_id: Sys_id of the remote instance record. :type update_source_id: str :param update_source_instance_id: Instance ID of the remote instance. :type update_source_instance_id: str :param auto_preview: Flag that indicates whether to automatically preview the update set after retrieval. :type auto_preview: bool :param cleanup_retrieved: Flag that indicates whether to remove the existing retrieved update set from the instance. :type cleanup_retrieved: bool

:return: Response containing parsed Pydantic model with progress information about the retrieval. :rtype: Response

:raises MissingParameterError: If update_set_id is not provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
nameNo
notesNo
scopeNo
sys_idNo
os_nameNo
versionNo
packagesNo
repo_urlNo
dev_notesNo
plugin_idNo
result_idNo
scan_typeNo
app_sys_idNo
os_versionNo
branch_nameNo
descriptionNo
progress_idNo
rollback_idNo
auto_previewNo
browser_nameNo
combo_sys_idNo
force_commitNo
suite_sys_idNo
target_tableNo
target_sys_idNo
update_set_idNo
api_parametersNo
browser_versionNo
test_suite_nameNo
update_set_nameNo
base_app_versionNo
update_source_idNo
app_scope_sys_idsNo
cleanup_retrievedNo
credential_sys_idNo
mid_server_sys_idNo
rollback_installsNo
test_suite_sys_idNo
remote_update_set_idNo
auto_upgrade_base_appNo
remote_update_set_idsNo
update_source_instance_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 supply readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is largely covered. The description adds real value beyond that by documenting the cleanup_retrieved side effect (removing the existing retrieved update set), the auto_preview behavior, the returned progress model, and a MissingParameterError on update_set_id — none of which the annotations disclose. It does not, however, reconcile its 'remove the existing retrieved update set' language with destructiveHint=false, nor explain idempotency or remote-side effects.

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?

It is front-loaded with the purpose sentence and organized into param/return/raises sections, which is easy to scan. The cost is boilerplate: every ':type:' line merely restates the JSON schema types, and the bulk of the text is a partial parameter list rather than added 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?

For a tool with 43 parameters, no output schema, and no required-parameter constraints in the schema, the description covers only a small fraction of the surface area. It does explain the return type (progress information), which helps, but an agent still cannot correctly invoke most of the arguments, and the schema's 'required: 0' is in tension with the description's claim that update_set_id is mandatory.

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 43 parameters with 0% description coverage, and the description documents only 5 of them (update_set_id, update_source_id, update_source_instance_id, auto_preview, cleanup_retrieved). Those five carry useful meaning, but 38 parameters — including oddly named ones like force_commit, rollback_installs, remote_update_set_ids — remain completely unexplained, so the description fails to compensate for the coverage gap.

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 description states a specific verb and resource ('Retrieves an update set with a given sys_id') and even clarifies the scoping of the sys_id ('on the source instance from where the update set was retrieved'). However, it never distinguishes this tool from close siblings such as update_set_preview, update_set_commit, update_set_back_out, or update_set_create, leaving the agent to infer the retrieve-vs-preview-vs-commit distinction.

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 explicit guidance on when to choose this tool over alternatives, nor any stated prerequisites or ordering (e.g., retrieve before preview before commit). The auto_preview and cleanup_retrieved flags imply a workflow but the description never explains it or warns about irreversible follow-up steps.

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