Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

add_related_resource_by_url

Links a Jira, Notion, Datadog, or Google Drive URL to an incident so related context is attached; returns the existing link if already present.

Instructions

Link a Jira, Notion, Datadog, or Google Drive URL to an incident (POST /v1/incidents/{id}/related-resources/url). Typically used with a url from search_jira_issues or search_notion_pages. If the URL is already linked, the existing link is returned.

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>",
      "url": "<url>"
    },
    "name": "add_related_resource_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesJira, Notion, Datadog, or Google Drive URL to link
incidentIdYesThe UUID of the incident
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

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full load. It usefully discloses idempotency ('If the URL is already linked, the existing link is returned'), which is real behavioral value, but it does not mention permission requirements, failure modes for unsupported URLs, or what the response object contains. The includeDrills drill/exercise semantics are only covered in the schema, not reinforced here.

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?

Three short sentences, front-loaded with the core action, followed by workflow hint and edge case. The inline POST path is largely redundant with the tool name and is the only mild waste.

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?

The tool is a simple 3-parameter mutation with no output schema and no annotations, so the description should ideally cover what the returned link looks like and whether re-linking overwrites anything. It covers idempotency but leaves return shape and permission prerequisites implicit.

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%, so incidentId, url, and includeDrills are all already documented, and the description adds no format or constraint detail beyond them. The idempotency sentence touches on url behavior but is not parameter-level guidance, so baseline 3 is appropriate.

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 (Link) plus the resource (a URL to an incident) and enumerates supported source types (Jira, Notion, Datadog, Google Drive). The endpoint path and the type-specific sibling tools (add_grafana_related_resource, add_sentry_related_resource, etc.) make the scope unambiguous.

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?

Explicitly recommends the upstream flow, noting the URL typically comes from search_jira_issues or search_notion_pages, which is actionable guidance. It stops short of stating when to prefer this tool over the per-provider siblings (e.g. for Grafana use add_grafana_related_resource), so routing between the two families is left to inference.

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