servicenow-api
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug mode (true/false) | false |
| PYTHONUNBUFFERED | No | Set to 1 to unbuffer Python output | 1 |
| SERVICENOW_INSTANCE | Yes | The ServiceNow instance URL (e.g., dev123456.service-now.com) | |
| SERVICENOW_PASSWORD | Yes | The ServiceNow password | |
| SERVICENOW_USERNAME | Yes | The ServiceNow username | |
| SERVICENOW_CLIENT_ID | Yes | The ServiceNow OAuth client ID | |
| SERVICENOW_SSL_VERIFY | No | Whether to verify SSL certificate (true/false) | true |
| SERVICENOW_CLIENT_SECRET | Yes | The ServiceNow OAuth client secret |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| servicenow_ingest_incidentsA | Natively ingest ServiceNow incidents into epistemic-graph as typed :Incident nodes. Lists incidents via the ServiceNow API and pushes them (with their affected
:ConfigurationItem and :Person assignee, via :affects / :assignedTo links) into the
knowledge graph through the fast engine client. Best-effort: returns
|
| servicenow_activate_pluginC | Activate a plugin based on the provided plugin_id. :param plugin_id: The ID of the plugin to be activated. :type plugin_id: str :return: Response containing parsed Pydantic model with information about the activation. :rtype: Response :raises MissingParameterError: If plugin_id is not provided. |
| servicenow_add_ci_lifecycle_actionC | Adds a specified CI action to a specified list of CIs. |
| servicenow_add_table_recordC | Add a new record to the specified table. :param table: The name of the table. :type table: str :param data: Dictionary containing the field values for the new record. :type data: dict :return: Response containing parsed Pydantic model with information about the added record. :rtype: Response :raises MissingParameterError: If table or data is not provided. :raises ParameterError: If JSON serialization fails. |
| servicenow_api_requestD | Invoke the api_request operation. |
| servicenow_app_repo_installC | Install an application from the repository based on the provided parameters. :param app_sys_id: The sys_id of the application to be installed. :type app_sys_id: str :param scope: The scope of the application. :type scope: str :param auto_upgrade_base_app: Flag indicating whether to auto-upgrade the base app. :type auto_upgrade_base_app: bool :param base_app_version: The version of the base app. :type base_app_version: str :param version: The version of the application to be installed. :type version: str :return: Response containing parsed Pydantic model with information about the installation. :rtype: Response :raises MissingParameterError: If app_sys_id or scope is not provided. :raises ParameterError: If auto_upgrade_base_app is not a boolean. |
| servicenow_app_repo_publishC | Publish an application to the repository based on the provided parameters. :param app_sys_id: The sys_id of the application to be published. :type app_sys_id: str :param scope: The scope of the application. :type scope: str :param dev_notes: Development notes for the published version. :type dev_notes: str :param version: The version of the application to be published. :type version: str :return: Response containing parsed Pydantic model with information about the publication. :rtype: Response :raises MissingParameterError: If app_sys_id or scope is not provided. |
| servicenow_app_repo_rollbackC | 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. |
| servicenow_apply_remote_source_control_changesC | 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. |
| servicenow_approve_change_requestC | Approve or reject a change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param state: State to set the change request to (approved or rejected). :type state: str or None :return: Response containing parsed Pydantic model with information about the approval/rejection. :rtype: Response :raises MissingParameterError: If change_request_sys_id or state is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If state is not valid. :raises ParameterError: If JSON serialization or deserialization fails. |
| servicenow_batch_installC | Initiate a batch installation with the provided parameters. :param name: The name of the batch installation. :type name: str :param notes: Additional notes for the batch installation. :type notes: str :param packages: The packages to be installed in the batch. :type packages: str :return: Response containing parsed Pydantic model with information about the batch installation. :rtype: Response :raises MissingParameterError: If name or packages are not provided. :raises ParameterError: If notes is not a string. |
| servicenow_batch_install_resultC | Get the result of a batch installation based on the provided result ID. :param result_id: The ID associated with the batch installation result. :type result_id: str :return: Response containing parsed Pydantic model with batch installation result. :rtype: Response :raises MissingParameterError: If result_id is not provided. |
| servicenow_batch_requestC | Sends multiple REST API requests in a single call. :param batch_request_id: ID that identifies the batch of requests. :type batch_request_id: str :param rest_requests: List of request objects to include in the batch request. :type rest_requests: list :return: Response containing the batch results. :rtype: Response |
| servicenow_batch_rollbackC | Rollback a batch installation based on the provided rollback ID. :param rollback_id: The ID associated with the batch rollback. :type rollback_id: str :return: Response containing parsed Pydantic model with information about the batch rollback. :rtype: Response :raises MissingParameterError: If rollback_id is not provided. |
| servicenow_calculate_standard_change_request_riskC | Calculate and update the risk of a standard change request. :param change_request_sys_id: Sys ID of the standard change request. :type change_request_sys_id: str or None :return: Response containing parsed Pydantic model with information about the calculated risk. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_check_change_request_conflictC | Check for conflicts in a change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :return: Response containing parsed Pydantic model with information about conflicts. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_check_ci_lifecycle_compat_actionsC | Determines whether two specified CI actions are compatible. |
| servicenow_check_ci_lifecycle_lease_expiredC | Determines whether the lease has expired for the requester. |
| servicenow_check_ci_lifecycle_not_allowed_actionC | Determines whether a specified CI action is not allowed. |
| servicenow_check_ci_lifecycle_not_allowed_ops_transitionC | Determines whether an operational state transition is allowed. |
| servicenow_check_ci_lifecycle_requestor_validC | Determines whether the specified user is a valid requester. |
| servicenow_check_devops_change_controlC | Checks if the orchestration task is under change control. |
| servicenow_check_devops_step_mappingC | Verifies that the information being passed is valid for the creation of an orchestration task. |
| servicenow_check_service_qualificationC | Creates a technical service qualification request. |
| servicenow_collect_graph_for_rootsD | Invoke the collect_graph_for_roots operation. |
| servicenow_combo_suite_scanC | Initiate a suite scan for a combo based on the provided combo_sys_id. :param combo_sys_id: The sys_id of the combo to be scanned. :type combo_sys_id: str :return: Response containing parsed Pydantic model with information about the combo suite scan. :rtype: Response :raises MissingParameterError: If combo_sys_id is not provided. |
| servicenow_create_change_requestC | Create a new change request. :param name_value_pairs: Name-value pairs providing details for the new change request. :type name_value_pairs: str or None :param change_type: Type of change (emergency, normal, standard). :type change_type: str or None :param standard_change_template_id: Sys ID of the standard change request template (if applicable). :type standard_change_template_id: str or None :return: Response containing parsed Pydantic model with information about the created change request. :rtype: Response :raises MissingParameterError: If name_value_pairs is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If change_type is specified but not valid. :raises ParameterError: If JSON serialization or deserialization fails. |
| servicenow_create_change_request_ci_associationC | 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. |
| servicenow_create_change_request_taskC | Create a new task 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 data: Name-value pairs providing details for the new task. :type data: dict or None :return: Response containing parsed Pydantic model with information about the created task. :rtype: Response :raises MissingParameterError: If change_request_sys_id or name_value_pairs is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON serialization or deserialization fails. |
| servicenow_create_cmdb_instanceC | Creates a single configuration item (CI). :param className: CMDB class name. :type className: str :param attributes: Data attributes to define in the CI record. :type attributes: dict :param source: Discovery source. :type source: str :param inbound_relations: List of inbound relations. :type inbound_relations: list :param outbound_relations: List of outbound relations. :type outbound_relations: list :return: Response containing created CI. :rtype: Response |
| servicenow_create_cmdb_relationC | Adds an inbound and/or outbound relation to the specified CI. :param className: CMDB class name. :type className: str :param sys_id: Sys_id of the CI. :type sys_id: str :param inbound_relations: List of inbound relations. :type inbound_relations: list :param outbound_relations: List of outbound relations. :type outbound_relations: list :param source: Discovery source. :type source: str :return: Response containing updated CI relations. :rtype: Response |
| servicenow_create_incidentC | Create a new incident record. :param kwargs: Keyword arguments to initialize an IncidentModel instance. :type kwargs: dict :return: Response containing parsed Pydantic model with information about the created incident record. :rtype: Response :raises MissingParameterError: If data for the incident is not provided. :raises ParameterError: If JSON serialization of incident data fails. :raises ParameterError: If validation of parameters fails. |
| servicenow_create_problemC | Create a new problem record. :param kwargs: Keyword arguments to initialize a ProblemModel instance. :type kwargs: dict :return: Response containing parsed Pydantic model with information about the created problem record. :rtype: Response :raises MissingParameterError: If data for the problem is not provided. :raises ParameterError: If validation of parameters fails. |
| servicenow_delete_attachmentD | Invoke the delete_attachment operation. |
| servicenow_delete_change_requestC | Delete a change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param change_type: Type of change (emergency, normal, standard). :type change_type: str or None :return: Response containing parsed Pydantic model with information about the deleted change request. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_delete_change_request_conflict_scanC | 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. |
| servicenow_delete_change_request_taskC | Delete a task 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 task. :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. |
| servicenow_delete_ci_lifecycle_actionC | Removes a configuration item (CI) action for a list of CIs. |
| servicenow_delete_cmdb_relationB | Deletes the relation for the specified configuration item (CI). :param className: CMDB class name. :type className: str :param sys_id: Sys_id of the CI. :type sys_id: str :param rel_sys_id: Sys_id of the relation to remove. :type rel_sys_id: str :return: Response containing the operation result. :rtype: Response :raises MissingParameterError: If className, sys_id, or rel_sys_id is not provided. |
| servicenow_delete_incidentC | Delete an incident record. :param incident_id: The sys_id of the incident record to delete. :type incident_id: str :return: Response containing information about the deletion. :rtype: Response :raises MissingParameterError: If incident_id is not provided. |
| servicenow_delete_problemC | Delete a problem record. :param problem_id: The sys_id of the problem record to delete. :type problem_id: str :return: Response containing information about the deletion. :rtype: Response :raises MissingParameterError: If problem_id is not provided. |
| servicenow_delete_product_inventoryC | Deletes a specified product inventory record. |
| servicenow_delete_table_recordC | Delete a record from the specified table. :param table: The name of the table. :type table: str :param table_record_sys_id: The sys_id of the record to be deleted. :type table_record_sys_id: str :return: Response containing parsed Pydantic model with information about the deletion. :rtype: Response :raises MissingParameterError: If table or table_record_sys_id is not provided. |
| servicenow_extend_ci_lifecycle_leaseC | Extends the specified CI action's lease expiration time. |
| servicenow_full_scanC | Initiate a full instance scan. :return: Response containing parsed Pydantic model with information about the full scan. :rtype: Response |
| servicenow_get_accountD | Invoke the get_account operation. |
| servicenow_get_activity_subscriptionsD | Invoke the get_activity_subscriptions operation. |
| servicenow_get_applicationC | Get information about an application. :param application_id: The unique identifier of the application. :type application_id: str :return: Response containing parsed Pydantic model with information about the application. :rtype: Response :raises MissingParameterError: If the required parameter |
| servicenow_get_attachmentD | Invoke the get_attachment operation. |
| servicenow_get_change_requestC | Retrieve details of a specific change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param change_type: Type of change (emergency, normal, standard). :type change_type: str or None :return: Response containing parsed Pydantic model with information about the change request. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If change_type is specified but not valid. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_change_request_ciC | Retrieve the configuration item (CI) associated with a change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :return: Response containing parsed Pydantic model with information about the associated CI. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_change_request_conflictC | Retrieve conflict 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 :return: Response containing parsed Pydantic model with information about the conflicts. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_change_request_modelsC | Retrieve change request models based on specified parameters. :param order: Ordering parameter for sorting results. :type order: str or None :param name_value_pairs: Additional name-value pairs for filtering. :type name_value_pairs: str or None :param sysparm_query: Query parameter for filtering results. :type sysparm_query: str or None :param text_search: Text search parameter for searching results. :type text_search: str or None :return: Response containing list of parsed Pydantic models with information about change request models. :rtype: Response :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_change_request_nextstateC | Retrieve the next state of a specific change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :return: Response containing parsed Pydantic model with information about the next state. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_change_request_scheduleC | Retrieve the schedule of a change request based on CI sys ID. :param cmdb_ci_sys_id: Sys ID of the CI (Configuration Item). :type cmdb_ci_sys_id: str or None :return: Response containing parsed Pydantic model with information about the change request schedule. :rtype: Response :raises MissingParameterError: If cmdb_ci_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_change_request_tasksC | Retrieve tasks associated with a specific change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param order: Ordering parameter for sorting results. :type order: str or None :param name_value_pairs: Additional name-value pairs for filtering. :type name_value_pairs: str or None :param sysparm_query: Query parameter for filtering results. :type sysparm_query: str or None :param text_search: Text search parameter for searching results. :type text_search: str or None :return: Response containing list of parsed Pydantic models with information about change request tasks. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_change_request_workerC | Retrieve details of a change request worker. :param worker_sys_id: Sys ID of the change request worker. :type worker_sys_id: str or None :return: Response containing parsed Pydantic model with information about the change request worker. :rtype: Response :raises MissingParameterError: If worker_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_change_requestsC | Retrieve change requests based on specified parameters. :param order: Ordering parameter for sorting results. :type order: str or None :param name_value_pairs: Additional name-value pairs for filtering. :type name_value_pairs: str or None :param sysparm_query: Query parameter for filtering results. :type sysparm_query: str or None :param text_search: Text search parameter for searching results. :type text_search: str or None :param change_type: Type of change (emergency, normal, standard, model). :type change_type: str or None :return: Response containing list of parsed Pydantic models with information about change requests. :rtype: Response :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If change_type is specified but not valid. :raises ParameterError: If JSON serialization or deserialization fails. :raises ParameterError: If unexpected response format is encountered. |
| servicenow_get_ci_lifecycle_active_actionsC | Returns a list of active CI actions for the specified CI. |
| servicenow_get_ci_lifecycle_statusC | Returns the current operational state for the specified CI. |
| servicenow_get_cmdbB | Get Configuration Management Database (CMDB) information based on specified parameters. :param cmdb_id: The unique identifier of the CMDB record :type cmdb_id: str :return: Response containing parsed Pydantic model with CMDB information. :rtype: Response :raises ParameterError: If the provided parameters are invalid. |
| servicenow_get_cmdb_instanceC | Returns attributes and relationship information for a specified CI record. :param className: CMDB class name. :type className: str :param sys_id: Sys_id of the CI record to retrieve. :type sys_id: str :return: Response containing parsed Pydantic model with CI information. :rtype: Response |
| servicenow_get_cmdb_instancesB | Returns the available configuration items (CI) for a specified CMDB class. :param className: CMDB class name. :type className: str :param sysparm_limit: Maximum number of records to return. :type sysparm_limit: int or str :param sysparm_offset: Starting record index. :type sysparm_offset: int or str :param sysparm_query: Encoded query used to filter the result set. :type sysparm_query: str :return: Response containing list of CIs. :rtype: Response |
| servicenow_get_data_classificationD | Invoke the get_data_classification operation. |
| servicenow_get_devops_change_infoC | Retrieves change request details for a specified orchestration pipeline execution. |
| servicenow_get_devops_code_schemaC | Returns the schema object for a specified code resource. |
| servicenow_get_devops_onboarding_statusC | Returns the current status of the specified onboarding event. |
| servicenow_get_devops_orchestration_schemaC | Returns the schema object for a specified orchestration resource. |
| servicenow_get_devops_plan_schemaC | Returns the schema object for a specific plan. |
| servicenow_get_featured_knowledge_articleC | Get featured Knowledge Base articles. :param sysparm_fields: Comma-separated list of field names to include in the response. :type sysparm_fields: str :param sysparm_limit: Maximum number of records to return. :type sysparm_limit: int :param sysparm_offset: Number of records to skip before starting the retrieval. :type sysparm_offset: int :param kb: Comma-separated list of knowledge base sys_ids from the Knowledge Bases [kb_knowledge_base] table to restrict results to. :type kb: str :param language: List of comma-separated languages in two-letter ISO 639-1 language code format to restrict results to. Alternatively type 'all' to search in all valid installed languages on an instance. :type language: str :return: Response containing list of parsed Pydantic models with information about the retrieved records. :rtype: Response :raises ParameterError: If input parameters are invalid. |
| servicenow_get_flow_metadataC | Fetch rich metadata for any flow/subflow. |
| servicenow_get_hr_profileD | Invoke the get_hr_profile operation. |
| servicenow_get_import_setB | Get details of a specific import set record. :param table: The name of the table associated with the import set. :type table: str :param import_set_sys_id: The sys_id of the import set record. :type import_set_sys_id: str :return: Response containing parsed Pydantic model with information about the import set record. :rtype: Response :raises ParameterError: If import_set_sys_id or table is not provided. |
| servicenow_get_incidentC | Retrieve details of a specific incident record. :param incident_id: The sys_id of the incident record. :type incident_id: str :return: Response containing list of parsed Pydantic models with information about the retrieved records. :rtype: Response :raises MissingParameterError: If table is not provided. :raises ParameterError: If input parameters are invalid. |
| servicenow_get_incidentsB | Retrieve details of incident records. :param name_value_pairs: Dictionary of name-value pairs for filtering records.
:type name_value_pairs: str
:param sysparm_display_value: Display values for reference fields ('True', 'False', or 'all').
:type sysparm_display_value: str
:param sysparm_exclude_reference_link: Exclude reference links in the response.
:type sysparm_exclude_reference_link: bool
:param sysparm_fields: Comma-separated list of field names to include in the response.
:type sysparm_fields: str
:param sysparm_limit: Maximum number of records to return. Defaults to
:return: Response containing list of parsed Pydantic models with information about the
retrieved records, plus :raises MissingParameterError: If table is not provided. :raises ParameterError: If input parameters are invalid or an unknown argument is passed. |
| servicenow_get_knowledge_articleC | Get Knowledge Base article. :param article_sys_id: The sys_id of the knowledge article. :type article_sys_id: str :param filter: Encoded query to use to filter the result set. :type filter: str :param sysparm_fields: Comma-separated list of field names to include in the response. :type sysparm_fields: str :param sysparm_limit: Maximum number of records to return. :type sysparm_limit: int :param sysparm_search_id: Unique identifier of search that returned this article :type sysparm_search_id: str :param sysparm_search_rank: Article search rank by click-rate :type sysparm_search_rank: str :param sysparm_update_view: Update view count and record an entry for the article :type sysparm_update_view: bool :param sysparm_offset: Number of records to skip before starting the retrieval. :type sysparm_offset: int :param sysparm_query: Encoded query string for filtering records. :type sysparm_query: str :param sysparm_query_category: Category to which the query belongs. :type sysparm_query_category: str :param kb: Comma-separated list of knowledge base sys_ids from the Knowledge Bases [kb_knowledge_base] table to restrict results to. :type kb: str :param language: List of comma-separated languages in two-letter ISO 639-1 language code format to restrict results to. Alternatively type 'all' to search in all valid installed languages on an instance. :type language: str :return: Response containing parsed Pydantic model with information about the retrieved record. :rtype: Response :raises MissingParameterError: If article_sys_id is not provided. :raises ParameterError: If input parameters are invalid. |
| servicenow_get_knowledge_article_attachmentC | Get Knowledge Base article attachment. :param article_sys_id: The Article Sys ID to search attachments for :type article_sys_id: str :param attachment_sys_id: The Attachment Sys ID :type attachment_sys_id: str :return: Response containing parsed Pydantic model with information about the retrieved attachment. :rtype: Response :raises MissingParameterError: If article_sys_id or attachment_sys_id is not provided. :raises ParameterError: If input parameters are invalid. |
| servicenow_get_knowledge_articlesC | Get all Knowledge Base articles. :param filter: Encoded query to use to filter the result set. :type filter: str :param sysparm_fields: Comma-separated list of field names to include in the response. :type sysparm_fields: str :param sysparm_limit: Maximum number of records to return. :type sysparm_limit: int :param sysparm_offset: Number of records to skip before starting the retrieval. :type sysparm_offset: int :param sysparm_query: Encoded query string for filtering records. :type sysparm_query: str :param sysparm_query_category: Category to which the query belongs. :type sysparm_query_category: str :param kb: Comma-separated list of knowledge base sys_ids from the Knowledge Bases [kb_knowledge_base] table to restrict results to. :type kb: str :param language: List of comma-separated languages in two-letter ISO 639-1 language code format to restrict results to. Alternatively type 'all' to search in all valid installed languages on an instance. :type language: str :return: Response containing list of parsed Pydantic models with information about the retrieved records. :rtype: Response :raises MissingParameterError: If table is not provided. :raises ParameterError: If input parameters are invalid. |
| servicenow_get_most_viewed_knowledge_articlesC | Get most viewed Knowledge Base articles. :param sysparm_fields: Comma-separated list of field names to include in the response. :type sysparm_fields: str :param sysparm_limit: Maximum number of records to return. :type sysparm_limit: int :param sysparm_offset: Number of records to skip before starting the retrieval. :type sysparm_offset: int :param kb: Comma-separated list of knowledge base sys_ids from the Knowledge Bases [kb_knowledge_base] table to restrict results to. :type kb: str :param language: List of comma-separated languages in two-letter ISO 639-1 language code format to restrict results to. Alternatively type 'all' to search in all valid installed languages on an instance. :type language: str :return: Response containing list of parsed Pydantic models with information about the retrieved records. :rtype: Response :raises ParameterError: If input parameters are invalid. |
| servicenow_get_problemB | Retrieve details of a specific problem record. :param problem_id: The sys_id of the problem record. :type problem_id: str :return: Response containing parsed Pydantic model with information about the retrieved record. :rtype: Response :raises MissingParameterError: If problem_id is not provided. :raises ParameterError: If input parameters are invalid. |
| servicenow_get_problemsB | Retrieve details of problem records. :param name_value_pairs: Dictionary of name-value pairs for filtering records. :type name_value_pairs: str :param sysparm_display_value: Display values for reference fields ('True', 'False', or 'all'). :type sysparm_display_value: str :param sysparm_exclude_reference_link: Exclude reference links in the response. :type sysparm_exclude_reference_link: bool :param sysparm_fields: Comma-separated list of field names to include in the response. :type sysparm_fields: str :param sysparm_limit: Maximum number of records to return. :type sysparm_limit: int :param sysparm_no_count: Do not include the total number of records in the response. :type sysparm_no_count: bool :param sysparm_offset: Number of records to skip before starting the retrieval. :type sysparm_offset: int :param sysparm_query: Encoded query string for filtering records. :type sysparm_query: str :param sysparm_query_category: Category to which the query belongs. :type sysparm_query_category: str :param sysparm_query_no_domain: Exclude records based on domain separation. :type sysparm_query_no_domain: bool :param sysparm_suppress_pagination_header: Suppress pagination headers in the response. :type sysparm_suppress_pagination_header: bool :param sysparm_view: Display style ('desktop', 'mobile', or 'both'). :type sysparm_view: str :return: Response containing list of parsed Pydantic models with information about the retrieved records. :rtype: Response :raises ParameterError: If input parameters are invalid. |
| servicenow_get_product_inventoryC | Retrieves a list of all product inventories. |
| servicenow_get_service_qualificationC | Retrieves a technical qualification request by ID or list all. |
| servicenow_get_standard_change_request_modelC | Retrieve details of a standard change request model. :param model_sys_id: Sys ID of the standard change request model. :type model_sys_id: str or None :return: Response containing parsed Pydantic model with information about the standard change request model. :rtype: Response :raises MissingParameterError: If model_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_standard_change_request_templateC | Retrieve details of a standard change request template. :param template_sys_id: Sys ID of the standard change request template. :type template_sys_id: str or None :return: Response containing parsed Pydantic model with information about the standard change request template. :rtype: Response :raises MissingParameterError: If template_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_standard_change_request_templatesC | Retrieve standard change request templates based on specified parameters. :param order: Ordering parameter for sorting results. :type order: str or None :param name_value_pairs: Additional name-value pairs for filtering. :type name_value_pairs: str or None :param sysparm_query: Query parameter for filtering results. :type sysparm_query: str or None :param text_search: Text search parameter for searching results. :type text_search: str or None :return: Response containing list of parsed Pydantic models with information about standard change request templates. :rtype: Response :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_get_statsD | Invoke the get_stats operation. |
| servicenow_get_tableB | Get records from the specified table based on provided parameters. :param table: The name of the table. :type table: str :param name_value_pairs: Dictionary of name-value pairs for filtering records. :type name_value_pairs: str :param sysparm_display_value: Display values for reference fields ('True', 'False', or 'all'). :type sysparm_display_value: str :param sysparm_exclude_reference_link: Exclude reference links in the response. :type sysparm_exclude_reference_link: bool :param sysparm_fields: Comma-separated list of field names to include in the response. :type sysparm_fields: str :param sysparm_limit: Maximum number of records to return. :type sysparm_limit: int :param sysparm_no_count: Do not include the total number of records in the response. :type sysparm_no_count: bool :param sysparm_offset: Number of records to skip before starting the retrieval. :type sysparm_offset: int :param sysparm_query: Encoded query string for filtering records. :type sysparm_query: str :param sysparm_query_category: Category to which the query belongs. :type sysparm_query_category: str :param sysparm_query_no_domain: Exclude records based on domain separation. :type sysparm_query_no_domain: bool :param sysparm_suppress_pagination_header: Suppress pagination headers in the response. :type sysparm_suppress_pagination_header: bool :param sysparm_view: Display style ('desktop', 'mobile', or 'both'). :type sysparm_view: str :return: Response containing list of parsed Pydantic models with information about the retrieved records. :rtype: Response :raises MissingParameterError: If table is not provided. :raises ParameterError: If input parameters are invalid. |
| servicenow_get_table_recordC | Get a specific record from the specified table. :param table: The name of the table. :type table: str :param table_record_sys_id: The sys_id of the record to be retrieved. :type table_record_sys_id: str :return: Response containing parsed Pydantic model with information about the retrieved record. :rtype: Response :raises MissingParameterError: If table or table_record_sys_id is not provided. |
| servicenow_import_repositoryC | Import a repository based on the provided parameters. :param credential_sys_id: The sys_id of the credential to be used for the import. :type credential_sys_id: str :param mid_server_sys_id: The sys_id of the MID Server to be used for the import. :type mid_server_sys_id: str :param repo_url: The URL of the repository to be imported. :type repo_url: str :param branch_name: The name of the branch to be imported. :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 repository import. :rtype: Response :raises MissingParameterError: If repo_url is not provided. :raises ParameterError: If auto_upgrade_base_app is not a boolean. |
| servicenow_ingest_cmdb_dataC | Inserts records into the Import Set table associated with the data source. :param data_source_sys_id: Sys_id of the data source record. :type data_source_sys_id: str :param records: Array of objects to ingest. :type records: list :return: Response containing ingestion result. :rtype: Response |
| servicenow_insert_cost_plansD | Creates cost plans. |
| servicenow_insert_import_setC | Insert a new record into the specified import set. :param table: The name of the table associated with the import set. :type table: str :param data: Dictionary containing the field values for the new import set record. :type data: dict :return: Response containing parsed Pydantic model with information about the inserted import set record. :rtype: Response :raises ParameterError: If data or table is not provided. :raises ParameterError: If JSON serialization fails. |
| servicenow_insert_multiple_import_setsB | Insert multiple records into the specified import set. :param table: The name of the table associated with the import set. :type table: str :param data: Dictionary containing the field values for multiple new import set records. :type data: dict :return: Response containing list of parsed Pydantic models with information about the inserted import set records. :rtype: Response :raises ParameterError: If data or table is not provided. :raises ParameterError: If JSON serialization fails. |
| servicenow_insert_project_tasksC | Creates a project and associated project tasks. |
| servicenow_instance_scan_progressC | Get progress information for an instance scan based on the provided progress ID. :param progress_id: The ID associated with the instance scan progress. :type progress_id: str :return: Response containing parsed Pydantic model with instance scan progress. :rtype: Response :raises MissingParameterError: If progress_id is not provided. |
| servicenow_metricbase_insertD | Invoke the metricbase_insert operation. |
| servicenow_patch_cmdb_instanceC | Replaces attributes in the specified CI record (PATCH). :param className: CMDB class name. :type className: str :param sys_id: Sys_id of the CI. :type sys_id: str :param attributes: Data attributes to replace. :type attributes: dict :param source: Discovery source. :type source: str :return: Response containing updated CI. :rtype: Response |
| servicenow_patch_table_recordC | Partially update a record in the specified table. :param table: The name of the table. :type table: str :param table_record_sys_id: The sys_id of the record to be updated. :type table_record_sys_id: str :param data: Dictionary containing the fields to be updated. :type data: dict :return: Response containing parsed Pydantic model with information about the updated record. :rtype: Response :raises MissingParameterError: If table, table_record_sys_id, or data is not provided. :raises ParameterError: If JSON serialization fails. |
| servicenow_point_scanC | Initiate a point instance scan based on the provided parameters. :param target_sys_id: The sys_id of the target instance. :type target_sys_id: str :param target_table: The table of the target instance. :type target_table: str :return: Response containing parsed Pydantic model with information about the point scan. :rtype: Response :raises MissingParameterError: If target_sys_id or target_table is not provided. |
| servicenow_process_service_qualification_resultD | Processes a technical service qualification result. |
| servicenow_progressC | Get progress information based on the provided progress ID. :param progress_id: The ID associated with the progress. :type progress_id: str :return: Response containing parsed Pydantic model with progress information. :rtype: Response :raises MissingParameterError: If progress_id is not provided. |
| servicenow_refresh_auth_tokenA | Refresh the authentication token :return: Response with new refreshed token. :raises MissingParameterError: If the client was authenticated without OAuth client credentials (e.g. basic auth or a bearer token), so there is no client_id/client_secret to refresh with. |
| servicenow_refresh_change_request_impacted_servicesC | Refresh impacted services for a change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :return: Response containing parsed Pydantic model with information about the refreshed impacted services. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_register_ci_lifecycle_operatorC | Registers an operator for a non-workflow user. |
| servicenow_register_devops_artifactC | Enables orchestration tools to register artifacts into a ServiceNow instance. |
| servicenow_rollback_pluginC | Rollback a plugin based on the provided plugin_id. :param plugin_id: The ID of the plugin to be rolled back. :type plugin_id: str :return: Response containing parsed Pydantic model with information about the rollback. :rtype: Response :raises MissingParameterError: If plugin_id is not provided. |
| servicenow_run_test_suiteC | Run a test suite based on the provided parameters. :param test_suite_sys_id: The sys_id of the test suite to be run. :type test_suite_sys_id: str :param test_suite_name: The name of the test suite to be run. :type test_suite_name: str :param browser_name: The name of the browser for the test run. :type browser_name: str :param browser_version: The version of the browser for the test run. :type browser_version: str :param os_name: The name of the operating system for the test run. :type os_name: str :param os_version: The version of the operating system for the test run. :type os_version: str :return: Response containing parsed Pydantic model with information about the test run. :rtype: Response :raises MissingParameterError: If test_suite_sys_id or test_suite_name is not provided. :raises ParameterError: If browser_name is not a valid string. |
| servicenow_send_emailD | Invoke the send_email operation. |
| servicenow_set_ci_lifecycle_statusC | Sets the operational state for a specified list of CIs. |
| servicenow_suite_scanC | Initiate a suite scan based on the provided suite_sys_id and sys_ids. :param suite_sys_id: The sys_id of the suite to be scanned. :type suite_sys_id: str :param sys_ids: List of sys_ids representing app_scope_sys_ids for the suite scan. :type sys_ids: list :param scan_type: Type of scan to be performed (default is "scoped_apps"). :type scan_type: str :return: Response containing parsed Pydantic model with information about the suite scan. :rtype: Response :raises MissingParameterError: If suite_sys_id or sys_ids is not provided. :raises ParameterError: If JSON serialization fails. |
| servicenow_unregister_ci_lifecycle_operatorC | Unregisters an operator for non-workflow users. |
| servicenow_update_change_requestC | Update details of a change request. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param name_value_pairs: New name-value pairs providing updated details for the change request. :type name_value_pairs: str or None :param change_type: Type of change (emergency, normal, standard, model). :type change_type: str or None :return: Response containing parsed Pydantic model with information about the updated change request. :rtype: Response :raises MissingParameterError: If change_request_sys_id or name_value_pairs is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If change_type is specified but not valid. :raises ParameterError: If JSON serialization or deserialization fails. |
| servicenow_update_change_request_first_availableC | Update the schedule of a change request to the first available slot. :param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :return: Response containing parsed Pydantic model with information about the updated schedule. :rtype: Response :raises MissingParameterError: If change_request_sys_id is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON deserialization fails. |
| servicenow_update_change_request_taskC | Update details of a task 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 change_request_task_sys_id: Sys ID of the change request task. :type change_request_task_sys_id: str or None :param name_value_pairs: New name-value pairs providing updated details for the task. :type name_value_pairs: str or None :return: Response containing parsed Pydantic model with information about the updated task. :rtype: Response :raises MissingParameterError: If change_request_sys_id, change_request_task_sys_id, or name_value_pairs is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If JSON serialization or deserialization fails. |
| servicenow_update_cmdb_instanceC | Updates the specified CI record (PUT). :param className: CMDB class name. :type className: str :param sys_id: Sys_id of the CI. :type sys_id: str :param attributes: Data attributes to replace. :type attributes: dict :param source: Discovery source. :type source: str :return: Response containing updated CI. :rtype: Response |
| servicenow_update_incidentC | Update an existing incident record. :param incident_id: The sys_id of the incident record to update. :type incident_id: str :param data: Dictionary of field values to update. :type data: dict :return: Response containing parsed Pydantic model with information about the updated incident record. :rtype: Response :raises MissingParameterError: If incident_id or data is not provided. :raises ParameterError: If validation of parameters fails. |
| servicenow_update_problemC | Update an existing problem record. :param problem_id: The sys_id of the problem record to update. :type problem_id: str :param data: Dictionary of field values to update. :type data: dict :return: Response containing parsed Pydantic model with information about the updated problem record. :rtype: Response :raises MissingParameterError: If problem_id or data is not provided. :raises ParameterError: If validation of parameters fails. |
| servicenow_update_set_back_outC | Backs out an installation operation that was performed on an update set with a given sys_id. :param update_set_id: Sys_id of the update set. :type update_set_id: str :param rollback_installs: Flag that indicates whether to rollback the batch installation performed during the update set commit. :type rollback_installs: bool :return: Response containing parsed Pydantic model with progress information about the back out. :rtype: Response :raises MissingParameterError: If update_set_id is not provided. |
| servicenow_update_set_commitC | Commits an update set with a given sys_id. :param remote_update_set_id: Sys_id of the update set to commit. :type remote_update_set_id: str :param force_commit: Flag that indicates whether to force commit the update set. :type force_commit: str :return: Response containing parsed Pydantic model with progress information about the commit. :rtype: Response :raises MissingParameterError: If remote_update_set_id is not provided. |
| servicenow_update_set_commit_multipleB | Commits multiple update sets in a single request according to the order that they're provided. :param remote_update_set_ids: List of sys_ids associated with any update sets to commit. Sys_ids are committed in the order given in the request. :type remote_update_set_ids: str :param force_commit: Flag that indicates whether to force commit the update set. :type force_commit: str :return: Response containing parsed Pydantic model with progress information about the multiple commits. :rtype: Response :raises MissingParameterError: If remote_update_set_ids is not provided. |
| servicenow_update_set_createB | Creates a new update set and inserts the new record in the Update Sets [sys_update_set] table. :param update_set_name: Name to give the update set. :type update_set_name: str :param description: Description of the update set. :type description: str :param scope: The scope name of the application in which to create the new update set. :type scope: str :param sys_id: Sys_id of the application in which to create the new update set. :type sys_id: str :return: Response containing parsed Pydantic model with information about the created update set. :rtype: Response :raises MissingParameterError: If update_set_name is not provided or both sys_id and scope are not provided. |
| servicenow_update_set_previewC | Previews an update set to check for any conflicts and retrieve progress information about the update set operation. :param remote_update_set_id: Sys_id of the update set to preview. :type remote_update_set_id: str :return: Response containing parsed Pydantic model with progress information about the preview. :rtype: Response :raises MissingParameterError: If remote_update_set_id is not provided. |
| servicenow_update_set_retrieveC | 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. |
| servicenow_update_table_recordC | Fully update a record in the specified table. :param table: The name of the table. :type table: str :param table_record_sys_id: The sys_id of the record to be updated. :type table_record_sys_id: str :param data: Dictionary containing the fields to be updated. :type data: dict :return: Response containing parsed Pydantic model with information about the updated record. :rtype: Response :raises MissingParameterError: If table, table_record_sys_id, or data is not provided. :raises ParameterError: If JSON serialization fails. |
| servicenow_upload_attachmentA | Upload a file as an attachment on a table record. Accepts either a server-local :param file_path: Path to a file on disk to upload. Mutually exclusive with
:raises MissingParameterError: If table_name, table_sys_id, or file_name is missing, or if neither file_path nor data is provided. |
| servicenow_workflow_to_mermaidA | Generates a Mermaid diagram representing the relationships between ServiceNow flows and subflows. :param flow_identifiers: List of flow names or sys_ids to use as roots. If None, fetches all active flows. :param max_depth: Maximum recursion depth for subflow discovery. :param save_to_file: Whether to save the result to a markdown file. :param output_dir: Directory to save the report. Defaults to project/servicenow_flow_reports. :param mermaid_name: Base name for the generated file (used if destination_file is not provided). :param segment_by_root: If True, generates a separate diagram for each root flow. :param destination_file: Explicit full path to save the markdown report. |
| servicenow_sdk_authC | Configure instance authentication ( A |
| servicenow_sdk_buildB | Compile Fluent sources into an installable package ( |
| servicenow_sdk_dependenciesB | Download configured dependencies + type defs ( |
| servicenow_sdk_deployC | Install/update the app on the target instance ( |
| servicenow_sdk_initB | Scaffold a new scoped app / Fluent project ( |
| servicenow_sdk_transformC | Download + convert XML records into Fluent source ( |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| connector-status | Ask for this connector server's current operational status. |
| create_incident_prompt | Generates a prompt for creating a ServiceNow incident. |
| get_incident_with_fields_prompt | Generates a prompt for getting ServiceNow Incidents with certain fields |
| get_incident_by_number_prompt | Generates a prompt for getting a ServiceNow Incident by number |
| get_change_by_number_prompt | Generates a prompt for getting a ServiceNow Change by number |
| query_table_prompt_prompt | Generates a prompt for querying a ServiceNow table. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| _connector_status_resource | Native resource exposing this server's static status payload. |
TDQS
Scored across 133 tools
Many tools overlap heavily: generic table CRUD tools (add/get/patch/update/delete_table_record) duplicate entity-specific incident, problem, and change request operations, while servicenow_api_request and servicenow_batch_request are broad escape hatches. Numerous tools such as 'Invoke the ... operation' lack enough description to distinguish their boundaries, making misselection likely despite some clearly distinct domains.
Most tool names use the servicenow_ prefix and snake_case verb_noun structure (e.g., get_incident, create_change_request, delete_problem), which is readable. However, there are notable deviations such as noun-only or vague names (servicenow_progress, servicenow_full_scan, servicenow_metricbase_insert) and inconsistent singular/plural/alias patterns that reduce predictability.
133 tools is an extreme mismatch for a coherent MCP server surface; the recommended well-scoped range is typically 3-15 tools. The count is inflated by many redundant wrappers, generic table operations, and fine-grained SDK/administrative actions that likely belong in fewer, more parameterized tools.
The surface covers a broad range of ServiceNow domains: incidents, problems, change management, CMDB, knowledge, DevOps, app repository, plugins, update sets, import sets, scanning, attachments, and SDK lifecycle. Some entity-specific gaps remain, such as knowledge article write operations and CI instance deletion, but the generic table CRUD and api_request tools provide workarounds for many missing operations.