Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SN_INSTANCEYesThe ServiceNow instance URL, e.g. https://dev123456.service-now.com
SN_PASSWORDYesThe password for Basic auth against the ServiceNow instance
SN_USERNAMEYesThe username for Basic auth against the ServiceNow instance
BUILDER_MODENoSet to 'true' to enable write tools (create, update, delete, execute_script). Leave unset or set to 'false' to keep them disabled.

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_tableA

Query any ServiceNow table using a sysparm_query filter. Use this to find records — incidents, change requests, hardware assets, anything. Returns human-readable display values for reference fields. Subject to the table + field allowlist; some tables and fields will be denied.

get_recordA

Fetch a single ServiceNow record by its sys_id. Use this when you already know the sys_id from a prior query_table call and need the full details of that specific record. Subject to the table + field allowlist.

search_kbA

Search the ServiceNow knowledge base for published articles matching a text query. Use this when the user is asking how to do something, troubleshooting, or looking for documented procedures. Only returns published articles. Subject to the kb_knowledge field allowlist.

create_recordA

Create a new record on any ServiceNow table. Use this to deploy solutions: Business Rules (sys_script), Script Includes (sys_script_include), Scripted REST APIs (sys_ws_definition + sys_ws_operation), UI Pages, or any other table. No table restrictions — the PDI is the sandbox.

update_recordA

Update an existing record on any ServiceNow table by sys_id. Only the fields you provide will be changed — other fields are untouched.

delete_recordA

Delete a record from any ServiceNow table by sys_id. Returns confirmation. Use for cleanup after testing.

execute_scriptA

Run server-side JavaScript on the ServiceNow PDI. The script runs inside a Scripted REST API resource — use response.setBody({...}) to return data. GlideRecord, GlideDateTime, gs, sn_ws.RESTMessageV2, and all server-side APIs are available. Auto-deploys and auto-cleans up.

count_tableA

Count records in a ServiceNow table matching a sysparm_query filter. Returns ONLY an integer count — no record data. Use this for 'how many' questions: 'how many P1 incidents this week?', 'what % of assets are Dell?'. Subject to the same table + query filter allowlist as query_table.

health_checkA

Check the MCP server's liveness and control state. Returns status (ok|degraded), uptime, ServiceNow reachability, audit log writability, policy load time, phase, and version. Useful for demos and monitoring.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/dadshorts/sn-mcp'

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