Skip to main content
Glama
ketiil

ServiceNow CMDB MCP Server

by ketiil

cmdb_health_summary

Read-onlyIdempotent

Aggregates CMDB health metrics for a CI class, including total count, operational status breakdown, stale CIs, missing fields, and discovery source distribution.

Instructions

Produce an overall CMDB health summary with key metrics.

Aggregates several health indicators into a single overview:

  • Total CI count and breakdown by operational status

  • Count of stale CIs (not updated in N days)

  • Count of CIs missing key fields (name, sys_class_name)

  • Breakdown by discovery source

This is an efficient summary using only Aggregate API calls — no record fetches. Use the specific tools (find_orphan_cis, find_duplicate_cis, find_stale_cis) for detailed record-level results.

Args: ci_class: CMDB table to summarize (e.g. cmdb_ci_server). Defaults to cmdb_ci. stale_days: Number of days threshold for staleness (default 90).

Returns: JSON object with "ci_class", "total_count", "by_operational_status", "stale_count", "missing_name_count", and "by_discovery_source".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ci_classNocmdb_ci
stale_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already declare readOnlyHint, destructiveHint, and idempotentHint. Description adds that it uses Aggregate API calls (no record fetches), which is a key behavioral trait beyond annotations.

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?

Well-structured with a summary line, bullet list of metrics, usage guidance, and args/returns sections. Slightly verbose but each sentence adds value.

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 output schema exists (not shown), the description adequately covers the return format by listing keys. It explains the tool's purpose, parameters, and behavioral traits completely.

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 has no descriptions (0% coverage). Description explains both parameters: ci_class as the CMDB table to summarize, stale_days as the threshold for staleness, with defaults and examples, fully compensating for the schema gap.

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 'Produce an overall CMDB health summary with key metrics' and lists specific indicators. It distinguishes itself from sibling tools like find_orphan_cis by noting that it provides a summary, not detailed records.

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 tells when to use the tool: for efficient overview using aggregate calls, and when to use alternative tools for detailed results. Provides parameter guidance with defaults.

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