Skip to main content
Glama

ServiceNow MCP Server

MIT License

update_catalog_item_variable

Modify catalog item variable attributes such as label, mandatory status, help text, default value, and display order in ServiceNow using this API tool.

Instructions

Update a catalog item variable

Input Schema

NameRequiredDescriptionDefault
default_valueNoDefault value for the variable
descriptionNoDescription of the variable
help_textNoHelp text to display with the variable
labelNoThe display label for the variable
mandatoryNoWhether the variable is required
maxNoMaximum value for numeric fields
max_lengthNoMaximum length for string fields
minNoMinimum value for numeric fields
orderNoDisplay order of the variable
reference_qualifierNoFor reference fields, the query to filter reference options
variable_idYesThe sys_id of the variable to update

Input Schema (JSON Schema)

{ "description": "Parameters for updating a catalog item variable.", "properties": { "default_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Default value for the variable", "title": "Default Value" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Description of the variable", "title": "Description" }, "help_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Help text to display with the variable", "title": "Help Text" }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "The display label for the variable", "title": "Label" }, "mandatory": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Whether the variable is required", "title": "Mandatory" }, "max": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Maximum value for numeric fields", "title": "Max" }, "max_length": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Maximum length for string fields", "title": "Max Length" }, "min": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Minimum value for numeric fields", "title": "Min" }, "order": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Display order of the variable", "title": "Order" }, "reference_qualifier": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "For reference fields, the query to filter reference options", "title": "Reference Qualifier" }, "variable_id": { "description": "The sys_id of the variable to update", "title": "Variable Id", "type": "string" } }, "required": [ "variable_id" ], "title": "UpdateCatalogItemVariableParams", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vparlapalli490/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server