Skip to main content
Glama
ketiil

ServiceNow CMDB MCP Server

by ketiil

get_transform_errors

Read-onlyIdempotent

Retrieve transform map errors from import set processing to identify and troubleshoot failed data transformations in target CMDB tables.

Instructions

Get recent transform map errors from import set processing.

Transform maps control how staging table rows are mapped to target CMDB tables. This tool returns rows that failed during transformation, showing the error message and which source/target records were involved.

Args: target_table: Filter by target table name (e.g. cmdb_ci_server). Optional. days: How far back to search in days (1-365, default 7). limit: Maximum errors to return (1-1000, default 25). offset: Pagination offset. max_error_length: Truncate error_message fields longer than this (default 500). Set to 0 to return full messages. Truncated messages include an error_message_length field with the original character count.

Returns: JSON object with "count", "days_back", and "transform_errors" list containing sys_id, transform_map, target_table, error message, source and target records, and timestamp.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_tableNo
daysNo
limitNo
offsetNo
max_error_lengthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations indicate read-only, non-destructive, idempotent behavior. The description adds context about truncation behavior and the fields returned, but does not mention side effects or permissions beyond what annotations imply.

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 well-structured with an intro, Args, and Returns sections. It is fairly concise but covers all necessary details 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?

Given the tool has 5 parameters and an output schema, the description is complete enough. It explains the return format and edge cases like truncation, though it could add more about error handling or performance.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully explains all 5 parameters, including default values, ranges, and special behavior for max_error_length (truncation with an extra field). This compensates well.

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 the tool retrieves recent transform map errors from import set processing. It explains the context of transform maps mapping staging to target tables, distinguishing it from siblings like get_discovery_errors and get_import_set_runs.

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 for debugging transformation failures by detailing the error information returned. However, it does not explicitly state when to use this tool versus alternatives or when not to use it.

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/ketiil/mcp-cmdb'

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