Skip to main content
Glama
ketiil

ServiceNow CMDB MCP Server

by ketiil

refresh_metadata_cache

Idempotent

Clears the in-memory metadata cache to force fresh schema data from ServiceNow on next access. Use after making schema changes like adding fields or CI classes.

Instructions

Clear the in-memory metadata cache, forcing fresh data on next access.

Clears all cached schema data including class hierarchies, field definitions, relationship types, and instance metadata. The next tool or resource access will re-fetch from ServiceNow automatically.

Use this after making schema changes in ServiceNow (e.g., adding fields, creating new CI classes, or modifying relationship types) to ensure the MCP server reflects the latest state.

Returns: JSON object confirming the cache was cleared.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description details behavioral traits beyond annotations: it clears cached data, forces re-fetch on next access, and specifies what is cleared (class hierarchies, field definitions, etc.). No contradiction with annotations (idempotentHint=true, destructiveHint=false).

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 and well-structured: first sentence states action, second details scope, third provides use case, and final line mentions return value. 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?

For a zero-parameter tool with an output schema, the description is complete. It explains the return value ('JSON object confirming the cache was cleared') and the effect on future operations. No gaps.

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

Parameters4/5

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

There are no parameters, so the description does not need to add parameter guidance. Baseline score of 4 is appropriate as schema coverage is 100% and no params exist.

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 uses a specific verb 'Clear' and identifies the resource as 'in-memory metadata cache'. It is distinct from sibling tools, which include various retrieval and analysis tools, none of which share this cache-clearing function.

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

Usage Guidelines4/5

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

The description explicitly states when to use this tool: 'after making schema changes in ServiceNow'. It does not list exclusions or alternatives, but given the unique purpose, this is sufficient context.

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