Skip to main content
Glama

Get ServiceNow Record

servicenow_get_record
Read-onlyIdempotent

Retrieve a single ServiceNow record by sys_id from any table. Select fields and display mode to get exactly the data you need.

Instructions

Retrieve a single ServiceNow record by sys_id from any table.

Args:

  • table (string): Table name (e.g., incident, change_request)

  • sys_id (string): 32-character sys_id GUID of the record

  • fields (string): Comma-separated fields to return. Empty = all fields.

  • display_value ('true'|'false'|'all'): Value display mode (default 'all')

  • response_format: Output format

Returns: The record's field values

Examples:

  • Get a specific incident → table="incident", sys_id="abc123..."

  • Get a CI record → table="cmdb_ci", sys_id="def456..."

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesServiceNow table name (e.g., incident, change_request, sys_user)
fieldsNoComma-separated list of fields to return. Leave empty for all fields.
sys_idYesServiceNow sys_id (32-character GUID) of the record
display_valueNoControls field value display: 'true' returns display values, 'false' returns raw values, 'all' returns bothall
response_formatNoOutput format: 'markdown' (default) for human-readable or 'json' for structured datamarkdown
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the bar is lower. The description adds only minimal behavioral context (e.g., 'Returns: The record's field values') and does not discuss error cases, permissions, or rate limits. This is acceptable given strong annotations, but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured with Args, Returns, and Examples, making it easy to scan. Every sentence is purposeful, though the Args section partially duplicates the schema descriptions, preventing a perfect score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-by-sys_id tool, it includes purpose, parameter explanations, and examples. It lacks explicit output schema or error handling, but given the strong annotations and comprehensive schema, it is sufficiently complete for an agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description largely restates the schema parameter descriptions (e.g., 'table', 'sys_id', 'display_value') and provides examples, but it does not add meaningful extra context beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Retrieve a single ServiceNow record by sys_id from any table,' which is a specific verb+resource+scope. It distinguishes itself from specialized getter tools like servicenow_get_incident by explicitly supporting any table.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage via 'any table' and provides concrete examples for incident and CI records. However, it does not explicitly mention alternatives like the specialized getter tools or when to prefer this generic version over them, so it lacks explicit exclusion guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/kylburns89/servicenow-mcp-server'

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