Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

delete_related_resource

Destructive

Removes a related-resource link from an incident using the top-level link ID from list_related_resources, not the resource ID. Use it to unlink incorrect or outdated resources.

Instructions

Remove a related-resource link from an incident. Use the top-level link id (from list_related_resources), not the resource id.

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": {
      "incidentId": "<incidentId>",
      "resourceId": "<resourceId>"
    },
    "name": "delete_related_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
incidentIdYesThe UUID of the incident
resourceIdYesThe link UUID (top-level id from list_related_resources)
includeDrillsNoSet true to read or change a drill (exercise) incident. Omit to keep the default: drill incidents are hidden and return 404.

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 destructiveHint=true and readOnlyHint=false, so the mutation risk is covered. The description adds meaningful context beyond that by framing the operation as removing only the link, not the underlying resource, which prevents an agent from assuming the referenced resource is deleted; it stops short of stating permanence or recoverability.

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?

Two short sentences, front-loaded with the action, followed by the one operational hazard an agent is most likely to get wrong. Nothing is wasted and nothing essential is deferred.

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 simple destructive delete with fully described parameters and no output schema, the description plus structured fields cover what an agent needs to invoke it correctly. It could go further on irreversibility or on what happens when the link is absent, but nothing critical is missing.

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 coverage is 100%: incidentId, resourceId, and includeDrills are all documented in the schema, including the drill/404 behavior. The description restates the link-id nuance already present in the schema's resourceId description, adding only emphasis ("not the resource id"), so the baseline 3 applies.

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 and resource ("Remove a related-resource link from an incident") and implicitly scopes it to link removal only, so an agent can distinguish it from add_related_resource_* siblings and from deleting the incident or the underlying resource itself.

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?

It explicitly routes the agent to list_related_resources as the source of the correct identifier and warns against using the resource id, which is exactly the prerequisite an agent needs before calling. It does not spell out when to use this versus the delete_* siblings, though those target entirely different resources, so the gap is minor.

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