Skip to main content
Glama

Create cmdb instance

servicenow_create_cmdb_instance

Create a single CMDB configuration item in ServiceNow by defining its class, attributes, discovery source, and inbound or outbound relationships.

Instructions

Creates a single configuration item (CI).

:param className: CMDB class name. :type className: str :param attributes: Data attributes to define in the CI record. :type attributes: dict :param source: Discovery source. :type source: str :param inbound_relations: List of inbound relations. :type inbound_relations: list :param outbound_relations: List of outbound relations. :type outbound_relations: list

:return: Response containing created CI. :rtype: Response

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
sourceNo
sys_idNo
classNameNo
attributesNo
rel_sys_idNo
sysparm_limitNo
sysparm_queryNo
api_parametersNo
sysparm_offsetNo
inbound_relationsNo
outbound_relationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds that a single CI is created and can carry inbound/outbound relations, but it omits whether relations are created as side effects, what permissions are needed, and what happens on duplicate CIs.

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

Conciseness3/5

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

The docstring is short and front-loaded with the purpose, but the :type: lines are pure redundancy with the schema's declared types and consume roughly half the text without adding information. The structure is conventional but not optimized for an agent reader.

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

Completeness2/5

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

For a 12-parameter creation tool with no output schema and no required fields, the description is too thin: seven parameters are unexplained, relation-creation semantics are unstated, and there is no mention of what the response contains beyond ':rtype: Response'.

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

Parameters2/5

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

Schema description coverage is 0% across 12 parameters, and the description documents only 5 of them. Worse, its parameter notes just restate static types already in the schema (str, dict, list) rather than adding meaning like allowed class names or attribute formatting, and it never mentions data, sys_id, rel_sys_id, api_parameters, or the sysparm_* parameters.

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 opening line gives a specific verb and resource: 'Creates a single configuration item (CI).' The word 'single' usefully distinguishes it from bulk ingestion (servicenow_ingest_cmdb_data), but it never explicitly names that or the update/patch/relation siblings as alternatives.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus servicenow_update_cmdb_instance, servicenow_patch_cmdb_instance, servicenow_create_cmdb_relation, or servicenow_ingest_cmdb_data. The docstring merely lists parameters, so an agent must infer the use case entirely.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools