- Home
- Skills
- Data & Databases
- ast servicenow
Works with the AI Agents you already use
ast servicenow
Query ServiceNow incidents, users, and CMDB records via CLI and MCP for fast, read-only technical lookups.
$49
ast servicenow
Example session with this skill installed
Who is the owner of the laptop with serial number SN99283-X and what department are they in?
- Read your context and instructions
- Compiled the ast servicenow
I have queried the ServiceNow CMDB and User tables to identify the asset owner.
ServiceNow Asset Lookup
| Field | Value | Source |
|---|---|---|
| Serial Number | SN99283-X | cmdb_ci_computer |
| Asset Owner | Marcus Thorne | cmdb_ci_computer |
| Department | Site Reliability Engineering | sys_user |
| Manager | Sarah Jenkins | sys_user |
| User Status | Active | sys_user |
Evidence
- Queried
sn-search cmdb --serial SN99283-X --jsonto identify ownersys_id. - Queried
sn-search user --id <sys_id> --jsonto retrieve department and manager details.
Gaps
- The search was successful. No truncation or API errors were reported by the ServiceNow Table API.
Next steps
- Verify if the owner's department matches the current physical location of the device.
- If this asset needs to be reassigned, please perform the update manually in the ServiceNow portal as this tool is read-only.
Connects securely to your tools. The creator never sees your data.
About this skill
Manually retrieving hardware ownership, ticket histories, or user details from ServiceNow slows down incident response and asset management. This skill provides a read-only interface to query ServiceNow records directly through the AST sn-search CLI and MCP tools.
What it does
- Incident Lookups retrieves full details for specific
INCnumbers to check status and history. - User Profiling queries the
sys_usertable to find managers, departments, and contact information. - Asset Tracking searches the
cmdb_ci_computertable to identify owners of laptops, hostnames, or serial numbers. - Contextual Search finds all tickets associated with a specific individual for audit or troubleshooting.
- Read-Only Safety ensures no records are created, modified, or closed, maintaining data integrity.
How it works
- Discovery detects mention of ServiceNow or specific incident/asset identifiers in the conversation.
- Read Operations uses the
sn-searchCLI or MCP tools to query the Table API for relevant records. - Data Synthesis parses JSON responses, checking for errors, truncation, or search gaps.
- Structured Reporting delivers a summary, evidence table, and identified gaps in visibility.
Frameworks & tools
This skill uses the Agentic Security Toolkit (AST) sn-search and sectools CLI utilities. It requires Python 3.12+, the ServiceNow Table API, and local credential storage via system keychain or .env files.
Why this beats prompting it yourself
Generic prompts cannot securely authenticate or query live ServiceNow instances. This skill uses a hardened safety model that isolates secrets from the chat and provides structured error handling to distinguish between "no results" and "failed queries."
Use cases
- Identify the manager and department of a user involved in a security alert.
- Verify the serial number and registered owner of a laptop reported as lost.
- Pull the history of recent incidents assigned to a specific service desk agent.
Known limitations
Supports only incident, sys_user, and cmdb_ci_computer tables. It cannot create or update records and is restricted to ServiceNow environments.
Read-only access to incident, sys_user, and cmdb_ci_computer tables only. No write capabilities. Requires Python 3.12 and ServiceNow Table API credentials.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
Requires
Permissions
Allowed Hosts
File Scopes
Terminal/Shell runs `install.sh`, `sn-search` and `sectools`; Read/Write Files cover the venv, your `~/.config/ast/.env` and optional exports; Environment Variables carry `SERVICENOW_INSTANCE` and the OAuth or Basic credentials; Network Access reaches PyPI at install and your instance over HTTPS at run time. Every command is a read (`GET` on `incident`, `sys_user`, `cmdb_ci_computer`); there are no write commands, no confirmation prompts are needed and there are no MCP write gates.