Skip to main content
Glama

Servicenow Ingest Incidents

servicenow_ingest_incidents

Ingests ServiceNow incidents into a knowledge graph as typed Incident nodes, linking affected configuration items and assignees. Use it to populate graph data from filtered ServiceNow incident queries.

Instructions

Natively ingest ServiceNow incidents into medulla as typed :Incident nodes.

Lists incidents via the ServiceNow API and pushes them (with their affected :ConfigurationItem and :Person assignee, via :affects / :assignedTo links) into the knowledge graph through the fast engine client. Best-effort: returns {"ingested": None} when no engine is reachable. CONCEPT:AU-KG.ingest.enterprise-source-extractor.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "servicenow_ingest_incidents"
  }
}

Input Schema

NameRequiredDescriptionDefault
params_jsonNoJSON string of get_incidents filters (e.g. sysparm_limit, sysparm_query, sysparm_display_value).{}

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it does disclose the best-effort contract, the degradation return of {"ingested": None} when no engine is reachable, and the side effect of creating typed nodes plus links. It does not state whether re-running duplicates incidents (idempotency/upsert semantics), how many records are ingested per call, or any auth/rate-limit constraints on the ServiceNow listing step — significant omissions for a graph-mutating tool.

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?

The core action and destination are front-loaded, and the sentences each carry information: mechanics, link semantics, and the failure mode. The trailing CONCEPT tag is internal taxonomy noise that does not help an agent invoke the tool, which keeps it just short of a 5.

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

Completeness3/5

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

An output schema exists, so return-value explanation is not required, and the description usefully flags the one degenerate return case. For a tool that mutates a knowledge graph with zero annotation coverage, though, it should say more about scope of side effects — duplicate handling on repeat runs, batching/limits, and what an agent should do when the engine is unreachable.

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

Parameters3/5

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

Schema description coverage is 100% and the single params_json parameter is documented in-schema as a JSON string of get_incidents filters with example keys. The description adds nothing beyond that, but with one well-documented optional parameter, the baseline 3 applies since the schema already does the work.

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 description pairs a specific verb with a specific resource and destination: ingest ServiceNow incidents into medulla as typed :Incident nodes, further spelling out that :ConfigurationItem and :Person nodes are linked via :affects / :assignedTo. It is clearly distinct from a plain listing tool, though it never names servicenow_get_incidents as the read-only sibling, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is implied by 'natively ingest ... into the knowledge graph' — an agent can infer this is the write-to-graph path rather than a read path. However, there is no explicit when-to-use/when-not guidance, no stated prerequisite (e.g., that an engine/medulla endpoint must be reachable and what to do if not), and no pointer to servicenow_get_incidents for agents that only want to inspect records.

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