Skip to main content
Glama

App repo rollback

servicenow_app_repo_rollback

Roll back a ServiceNow application in the repository using its sys_id, scope, and version to restore a previous release.

Instructions

Rollback an application in the repository based on the provided parameters.

:param app_sys_id: The sys_id of the application to be rolled back. :type app_sys_id: str :param scope: The scope of the application. :type scope: str :param version: The version of the application to be rolled back. :type version: str

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

:raises MissingParameterError: If app_sys_id, scope, or version 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 declare the operation is a non-read (readOnlyHint=false), non-idempotent, open-world write, so the safety profile is largely covered. The description adds one genuinely useful behavioral fact not in the schema: a MissingParameterError is raised when app_sys_id, scope, or version is absent. It does not explain what the rollback actually reverts or what state is discarded, which matters for a mutation tool.

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 docstring is structured and low on redundancy, with params, return, and raises clearly separated. However, the opening line's 'based on the provided parameters' is empty filler, and documenting only 3 of 43 params makes the structure informative for a small fraction of the actual surface.

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 43-parameter, zero-required-schema mutation tool with no output schema and no annotations covering parameters, the description is far too thin. It does not clarify which of the many optional fields are relevant to a rollback versus unrelated operations, leaving an agent without enough to call it correctly.

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 0% across 43 parameters, and the docstring documents only 3 of them (app_sys_id, scope, version) with type hints. That leaves roughly 40 parameters — including booleans like rollback_installs, force_commit, and auto_upgrade_base_app — undocumented in both the schema and the description, 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 ('rollback an application in the repository'), which distinguishes it from install/publish siblings. The trailing phrase 'based on the provided parameters' is filler and adds nothing, and it never names the sibling rollback tools (rollback_plugin, batch_rollback) it could be confused with.

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 indication of when to use this tool versus alternatives such as servicenow_rollback_plugin, servicenow_batch_rollback, or the install/publish siblings in the app_repo family. No prerequisites, ordering constraints, or environment conditions are stated.

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