Skip to main content
Glama
Incident Lake MCP

Incident Lake MCP

Official
by sigq-io

add_sentry_related_resource

Link a Sentry issue to an incident as a related resource; the server builds the click-through URL from tenant Sentry settings and returns any existing link if already linked.

Instructions

Link a Sentry issue (from search_sentry_issues) to an incident as a related resource. The click-through URL is built server-side from the tenant's Sentry integration settings. If this issue was 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>",
      "issueId": "<issueId>"
    },
    "name": "add_sentry_related_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoIssue title, used as the resource title
issueIdYesSentry issue id (numeric)
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

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does well: it discloses that the click-through URL is generated server-side from integration settings (so no URL param is expected) and that the operation is idempotent, returning the existing link on a repeat call. It omits permission/scoping requirements and does not restate the drill/404 behavior that lives in the schema.

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 short sentences, front-loaded with the action and target, followed by the useful server-side URL detail and the idempotency note. No filler or restatement of the tool name.

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 write tool with no annotations and no output schema, the description covers the essential unknowns: no URL needed, idempotent return, and source of the issue id. Missing only auth/permission expectations and a hint that a Sentry integration must be configured for the tenant.

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 every parameter, including the optional 'name' and the 'includeDrills' drill flag, is already documented in the schema. The description adds context about where issueId originates but no additional meaning for individual parameters, making the baseline 3 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?

The description names a specific verb ('Link') and a specific resource ('a Sentry issue ... to an incident as a related resource'), and points to the upstream tool search_sentry_issues where the issue comes from. This clearly separates it from the other provider-specific add_*_related_resource siblings and from add_related_resource_by_url.

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 tells the agent where the input originates (issues from search_sentry_issues) and states the precondition implicitly by naming the tenant's Sentry integration. It does not state when to prefer add_related_resource_by_url or another provider variant, so the routing guidance is clear but not exhaustive.

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