Upload a file as an attachment to a ServiceNow record. Args: - table_name (string): Table of the parent record (e.g., incident, change_request) - table_sys_id (string): sys_id of the parent record - file_name (string): Name for the file (e.g.,
AI agents use servicenow_upload_attachment to create or update resources in Servicenow — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Servicenow environment.
This tool creates and stores new data (file attachments) within ServiceNow records. While it modifies state, the operation is reversible and does not irreversibly destroy data or execute arbitrary code. It fits the Write category (creates or modifies data reversibly).
From the tool's definition Tool performs 'Upload a file as an attachment to a ServiceNow record' - this creates new attachment data linked to an existing record, modifying the record's state by adding content. The action is reversible (attachments can be deleted).
Attacks that exploit this kind of access
Upload a file as an attachment to a ServiceNow record. Args: - table_name (string): Table of the parent record (e.g., incident, change_request) - table_sys_id (string): sys_id of the parent record - file_name (string): Name for the file (e.g.,. It is categorised as a Write tool in the Servicenow MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Servicenow MCP server in PolicyLayer and add a rule for servicenow_upload_attachment: 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. Nothing to install.
servicenow_upload_attachment is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the servicenow_upload_attachment 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.
Set action: deny in the PolicyLayer policy for servicenow_upload_attachment. 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.
servicenow_upload_attachment is provided by the Servicenow MCP server (kylburns89/servicenow-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →