Skip to main content
Glama
ketiil

ServiceNow CMDB MCP Server

by ketiil

explain_duplicate

Read-onlyIdempotent

Compares identification fields of two CIs side-by-side to determine if they are true duplicates or false positives, showing which rule matched or failed.

Instructions

Explain why two CIs might be duplicates by comparing their identification fields.

Fetches both CIs and the identification rules for their class, then compares the identifier fields side-by-side. This helps determine whether two CIs are true duplicates or false positives, and which identification rule matched (or failed to match).

Prerequisites: Use find_duplicate_cis to identify the duplicate pair first.

Example: explain_duplicate(sys_id_a="abc123...", sys_id_b="def456...", table="cmdb_ci_server")

Args: sys_id_a: sys_id of the first CI. sys_id_b: sys_id of the second CI. table: The CMDB table both CIs belong to (default cmdb_ci).

Returns: JSON object with both CIs' key fields, the applicable identification rules, and a field-by-field comparison showing matches and mismatches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sys_id_aYes
sys_id_bYes
tableNocmdb_ci

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds context: it fetches both CIs and identification rules, compares fields, and returns a JSON with key fields, rules, and comparison. 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.

Conciseness5/5

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

The description is concise, front-loaded with purpose, then covers behavior, prerequisites, example, and parameters. Each sentence adds value without redundancy.

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

Completeness5/5

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

Given the tool's complexity, the description covers prerequisites, parameters, process, and return value summary. Output schema exists, so detailed return fields are not needed. Complete for effective use.

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 provides a detailed 'Args:' section documenting each parameter (sys_id_a, sys_id_b, table) and their purpose, adding meaning beyond the input schema's titles and types.

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 purpose: 'Explain why two CIs might be duplicates by comparing their identification fields.' It then details the process, distinguishing it from sibling tools like find_duplicate_cis.

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

Usage Guidelines5/5

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

Explicitly states: 'Prerequisites: Use find_duplicate_cis to identify the duplicate pair first.' This tells when to use the tool and when not to. Also provides an example and argument list.

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