Skip to main content
Glama

fetch_sn_records

Query ServiceNow tables with encoded queries and field selection. Ideal for checking staging results, verifying migrations, or retrieving incidents.

Instructions

Query any ServiceNow table — useful for checking staging table results, verifying migrations, or fetching incidents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesServiceNow table name
queryNosysparm_query encoded string (e.g. priority=1^active=true)
fieldsNoComma-separated field names to return
limitNo
display_valueNo
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. While 'query' implies read-only, it does not explicitly state that the tool has no side effects, require permissions, or detail return format. This is a gap for a read tool.

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 a single sentence that efficiently communicates purpose and use cases. It is front-loaded with the action and resource, though structure could be slightly improved with separate guidance clauses.

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

Completeness3/5

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

Given the schema description coverage is high and no output schema exists, the description is adequate for a basic query tool. However, it lacks details about return format or pagination, which would enhance completeness.

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?

The input schema describes all five parameters with descriptions, providing high coverage. The tool description adds context for usage but does not enhance parameter meaning beyond the schema.

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

Purpose4/5

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

The description clearly states the tool queries any ServiceNow table and lists specific use cases. It distinguishes from siblings that target specific records or operations, but does not explicitly differentiate from other query tools.

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

Usage Guidelines3/5

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

The description gives example use cases (staging, migrations, incidents) but lacks explicit guidance on when not to use the tool or alternatives like sn_read for single records. Usage is implied but not comprehensively framed.

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/pinnintisagarSB/ServiceNow-Dev-MCP'

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