Skip to main content
Glama
ketiil

ServiceNow CMDB MCP Server

by ketiil

get_import_set_runs

Read-onlyIdempotent

Retrieve recent import set run records to monitor data load batches, including completion status, row counts, and errors, with optional filters by table and state.

Instructions

Get recent import set run records.

Each import set run represents a batch of data loaded into a staging table. Shows whether the import completed, how many rows were processed, and any errors encountered.

Args: table_name: Filter by import set table name (STARTSWITH match). Optional. state: Filter by run state. Common values include "Loaded", "Processed", "Error", "Complete", "Complete with errors", "Cancelled". Values may vary by instance configuration. Optional. days: How far back to search in days (1-365, default 7). limit: Maximum runs to return (1-1000, default 25). offset: Pagination offset.

Returns: JSON object with "count", "days_back", and "import_set_runs" list containing sys_id, table_name, state, row counts, and timestamps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
table_nameNo
stateNo
daysNo
limitNo
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, indicating safe, read-only behavior. The description adds valuable context: it explains the returned fields (completion status, row counts, errors) and notes that state values 'may vary by instance configuration'. No contradictions.

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 a brief overview followed by a clear list of parameters. It is efficient, though the parameter details could be slightly more integrated. However, it remains easy to read and front-loaded with purpose.

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?

With annotations covering safety and idempotency, and an output schema existing, the description adequately covers the tool's behavior. It explains the return structure and parameter constraints. Minor omission: no mention of pagination behavior beyond offset or time range limitations, but overall sufficient for the tool's complexity.

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?

The input schema has 0% description coverage, but the description's 'Args' section fully compensates by explaining each parameter: table_name (STARTSWITH match), state (common values with caveat), days (range 1-365, default 7), limit (1-1000, default 25), and offset (pagination). This adds meaning far beyond the schema's titles and defaults.

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 'Get recent import set run records' and explains what an import set run represents, along with the information returned (completion status, row counts, errors). This verb+resource combination is specific and distinguishes it from sibling tools, which focus on other aspects like CI details or errors.

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 does not explicitly state when to use this tool versus alternatives, nor does it provide 'when-not-to-use' guidance. While the resource is unique among siblings, the lack of explicit usage context limits the score to average.

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