Skip to main content
Glama
ausper-tech

servicenow-mcp

by ausper-tech

Get one record by sys_id

servicenow_get_record
Read-onlyIdempotent

Fetch a single record by its 32-character sys_id from a specified table. Returns a clear 'no such record' message if the ID does not match any entry.

Instructions

Fetch a single record by its 32-character sys_id. Use this after a query has given you an id, or when the user supplies one. Returns a clear 'no such record' message rather than an error if nothing matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesSystem name of the table, not its UI label: 'sys_user' rather than 'User', 'incident' rather than 'Incidents'. Use servicenow_list_tables to find it.
fieldsNoColumns to return. Naming the few you need is markedly cheaper than the default of every column, and keeps results readable. Omit for all columns.
sys_idYesThe record's 32-character hexadecimal sys_id.
display_valueNo'true' (the default here) resolves references to human-readable names, so assigned_to reads 'Alice Smith'. 'false' returns raw sys_ids, which you want when feeding a value into another query. 'all' returns both.
Behavior4/5

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

Annotations already provide read-only, idempotent, non-destructive hints. Description adds the valuable detail that missing records return a 'no such record' message instead of an error, which is beyond the annotations.

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

Conciseness5/5

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

Two sentences cover purpose, usage, and behavior. Every word earns its place; no fluff or redundancy.

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

Completeness5/5

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

Given the simple operation and rich schema/annotations, description fully covers what the agent needs to know: when to invoke, what input format is expected, and how missing records are handled.

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 describes all parameters thoroughly (100% coverage). Description adds no additional parameter-specific meaning, meeting baseline without exceeding it.

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?

Description clearly states it fetches a single record by sys_id, specifies the 32-character format, and contrasts with sibling tools (e.g., servicenow_query_table) by focusing on one record at a time.

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?

Explicitly says to use after a query gives an id or when user supplies one, providing clear context. Does not explicitly exclude scenarios like querying without known id, but the guidance is strong.

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/ausper-tech/servicenow-mcp'

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