Skip to main content
Glama
sonisoft-cnanda

now-sdk-ext-mcp

Import Records from XML

import_records_xml

Import ServiceNow unload XML to create or update records on a target table.

Instructions

Import XML records into a ServiceNow instance via the sys_upload.do processor. Accepts ServiceNow unload XML format (the output of export_record_xml or update set XML exports).

IMPORTANT: This is a mutative operation that creates or updates records on the instance. Always verify the XML content and target table before importing. Use this for restoring configurations, migrating records between instances, or applying exported record definitions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceNoThe ServiceNow instance auth alias to use. This is the alias configured via `now-sdk auth --add` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable.
xml_contentYesThe XML content to import in ServiceNow unload format. This is typically the output from export_record_xml or an XML update set export.
target_tableYesThe target table to import the records into (e.g., 'sys_script_include', 'sys_script', 'incident'). Must match the table in the XML content.
Behavior3/5

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

With no annotations, the description carries the full burden. It states the operation is mutative (creates/updates) and advises caution, but lacks details on error handling, permissions required, idempotency, or what happens if the XML is malformed. It adds some value beyond a simple label but remains incomplete.

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?

The description is concise at two sentences plus a bold warning. It front-loads the core purpose and uses structure effectively with an important note. Every sentence serves a clear purpose without redundancy.

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 mutative tool with no output schema, the description covers purpose, input format, mutative behavior, and use cases. It lacks details on what the operation returns (e.g., success message, record count) and error conditions, but is fairly complete given the parameter descriptions already handle details.

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 has 100% coverage with parameter descriptions, so the schema already explains the parameters well. The description adds only the processor detail (sys_upload.do) and doesn't further clarify parameter meaning beyond what's in the schema.

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 it imports XML records into a ServiceNow instance, specifies the format (ServiceNow unload XML), and gives concrete use cases like restoring configurations and migrating records. It distinguishes itself from sibling tools like batch_create_records by focusing on XML format and the sys_upload.do processor.

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 provides specific use cases ('restoring configurations, migrating records between instances, or applying exported record definitions') and warns about the mutative nature and need to verify content. However, it does not explicitly contrast with alternatives like batch_create_records or export_record_xml, nor does it state when not to use this tool.

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/sonisoft-cnanda/now-sdk-ext-mcp'

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