Skip to main content
Glama
ketiil

ServiceNow CMDB MCP Server

by ketiil

describe_ci_class

Read-onlyIdempotent

Get field definitions, descriptions, and suggested relationships for any CMDB class to understand its schema before building queries. Works for all CI classes including inherited fields.

Instructions

Get field definitions, descriptions, and suggested relationships for a CMDB class.

Queries the sys_dictionary table for field metadata and cmdb_rel_type_suggest for relationship suggestions. Includes inherited fields from parent classes by walking the class hierarchy. Results are cached for 1 hour.

Use this tool to understand the schema of a CI class before building queries, or to check what fields and relationships are available.

Prerequisites: Use list_ci_classes to find available class names, or suggest_table to find the right class.

Args: class_name: The CMDB class name to describe (e.g. cmdb_ci_server, cmdb_ci_linux_server). summary: If True (default), return only field_count, mandatory_fields (names only), and suggested_relationships — much lighter for initial exploration. Set False to include the full fields list with all metadata.

Returns: JSON object with "class_name", "field_count", and either a summary or the full "fields" list, plus "suggested_relationships".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_nameYes
summaryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations declare readOnlyHint, destructiveHint, idempotentHint. Description adds: queries sys_dictionary and cmdb_rel_type_suggest, includes inherited fields, results cached for 1 hour.

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?

Well-structured: purpose sentence, internal details, usage guidance, prerequisites, args, returns. No fluff, every 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?

Complete coverage: purpose, how it works, when to use, prerequisites, parameter details, return structure. No gaps given tool complexity and existing output schema.

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 coverage is 0%, but description fully explains class_name with examples and summary parameter with behavior difference between True/False.

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?

Clearly states it gets field definitions, descriptions, and suggested relationships for a CMDB class. Differentiates from siblings like list_ci_classes (lists class names) and suggest_table (finds right class).

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 says when to use: to understand schema before building queries or check available fields/relationships. Provides prerequisites (use list_ci_classes or suggest_table).

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