Skip to main content
Glama

Apply remote source control changes

servicenow_apply_remote_source_control_changes

Apply remote source control changes to a ServiceNow application using its app ID, scope, and branch name, with optional base app auto-upgrade.

Instructions

Apply remote source control changes based on the provided parameters.

:param app_sys_id: The sys_id of the application for which changes should be applied. :type app_sys_id: str :param scope: The scope of the changes. :type scope: str :param branch_name: The name of the branch containing the changes. :type branch_name: str :param auto_upgrade_base_app: Flag indicating whether to auto-upgrade the base app. :type auto_upgrade_base_app: bool

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

:raises MissingParameterError: If app_sys_id or scope is not provided. :raises ParameterError: If auto_upgrade_base_app is not a boolean.

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.6/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnly=false, openWorld=true, idempotent=false, destructive=false). The description does add genuinely useful behavior beyond that: it discloses that app_sys_id and scope are effectively required (via MissingParameterError) even though the schema marks all 43 params optional, and it documents a type-validation error. It does not, however, explain what actually happens on the target instance when changes are applied, so it stops short of rich behavioral context.

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 reST docstring layout is orderly (purpose, params, return, raises) and front-loads the purpose, but the opening sentence wastes words on "based on the provided parameters" and the parameter block is thin relative to the schema's size.

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, no-output-schema mutation tool, the description is far too sparse: it documents a small fraction of inputs and only vaguely characterizes the return as "a parsed Pydantic model with information about the applied changes." An agent could not reliably assemble a correct invocation from this.

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, so the description carries the full burden and only discharges it for four fields (app_sys_id, scope, branch_name, auto_upgrade_base_app). The other ~39 parameters, including many plausibly meaningful ones (repo_url, update_set_id, credential_sys_id, force_commit), are left entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Apply remote source control changes"), but the qualifier "based on the provided parameters" is filler that adds nothing, and it does nothing to distinguish this from siblings like servicenow_app_repo_rollback, servicenow_batch_install, or the update_set_* family. The core purpose is inferable but not sharpened against near-neighbors.

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 any alternative tool. With a large set of source-control/deployment siblings available, the agent gets no routing signal for choosing this one over them.

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