Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

upsert_service_dependency

Destructive

Create or update a directed CMDB dependency edge by parent and child service IDs; posting an existing pair updates it, with parent depending on child.

Instructions

Create or update a CMDB dependency edge. Upserts by (parentServiceId, childServiceId) — posting an existing pair updates that edge instead of duplicating it. The edge is directed: parent depends on child. External/Cloud services cannot depend on internal ones.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "parentServiceId": "<parentServiceId>",
      "childServiceId": "<childServiceId>"
    },
    "name": "upsert_service_dependency"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceUrlNoLink to the doc this dependency came from
childServiceIdYesThe depended-upon service
dependencyTypeNoNature of the dependency
confidenceScoreNoConfidence in this dependency, 0 to 1
evidenceSnippetNoText this dependency was inferred from
parentServiceIdYesThe dependent service (the one that depends on the child)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true; the description earns credit on top by explaining why mutation matters — an existing (parent, child) pair is overwritten rather than duplicated. It also discloses a hard validation rule (external/cloud services cannot depend on internal ones). It stops short of saying which fields are replaced on update, or whether untouched fields are preserved.

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?

Three sentences, front-loaded with the operation, then the upsert key, then the direction and constraint. Every sentence carries information an agent needs; nothing is repeated from the schema.

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

Completeness4/5

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

For a mutation tool with no output schema, the definition covers what matters most: what it writes, how keying works, and a validation rule that can block the call. The remaining gap is the return value and the update semantics for optional fields like confidenceScore or evidenceSnippet.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: the (parentServiceId, childServiceId) pair is the natural key determining create-vs-update, and 'parent depends on child' fixes the direction that the schema's prose only weakly conveys.

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?

States a specific verb and resource ('Create or update a CMDB dependency edge') and immediately defines the upsert key pairing, so the operation is unambiguous. It also disambiguates the direction of the edge, which is the main way an agent could get this tool wrong.

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 rather than stated: the upsert note tells an agent that a duplicate create is safe, and the external/cloud constraint tells it when a call will be rejected. However, there is no explicit when-to-use versus alternatives, and no mention of deferring to a dedicated delete/update edge tool for modification or removal.

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