get_ui_action

Get full details and script of a UI Action (requires SCRIPTING_ENABLED=true)

SERVERServiceNow MCP Server SOURCE@aartiq/servicenow-mcp
Low RISK CLASS
Category Read
Parameters 00 required
Recommended Allowedsee the rule below
Registry record Grade F, identity verified Pull the record →

This record as markdown: /tools/servicenow-mcp-server/get-ui-action.md

What get_ui_action does on ServiceNow MCP Server

AI agents call get_ui_action to retrieve information from ServiceNow MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why get_ui_action is rated Low

The tool retrieves data (UI Action details and associated scripts) without modifying anything, placing it in the Read category. However, severity is elevated to medium rather than low because: (1) UI Action scripts often contain business logic, credentials, or sensitive automation patterns that could inform malicious workflows; (2) the conditional requirement for SCRIPTING_ENABLED suggests this accesses privileged…

From the tool's definition Tool description states 'Get full details and script of a UI Action' - this is a retrieval operation that queries details and scripts from ServiceNow. The presence of 'requires SCRIPTING_ENABLED=true' indicates access to sensitive automation/script content.

Questions about get_ui_action

What does the get_ui_action tool do? +

Get full details and script of a UI Action (requires SCRIPTING_ENABLED=true). It is categorised as a Read tool in the ServiceNow MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_ui_action? +

Register the ServiceNow MCP Server MCP server in PolicyLayer and add a rule for get_ui_action: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches ServiceNow MCP Server. Nothing to install.

What risk level is get_ui_action? +

get_ui_action is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_ui_action? +

Yes. Add a rate_limit block to the get_ui_action rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_ui_action completely? +

Set action: deny in the PolicyLayer policy for get_ui_action. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_ui_action? +

get_ui_action is provided by the ServiceNow MCP Server MCP server (@aartiq/servicenow-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on ServiceNow MCP Server, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of ServiceNow MCP Server's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.