Skip to main content
Glama
Opsgenie MCP Server

Opsgenie MCP Server

by HainanZhao

opsgenie_close_alert

Close an Opsgenie alert by ID, tiny ID, or alias, with optional note, user, and source details. Use it to resolve alerts and record who closed them and why.

Instructions

Close an alert

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": {
      "identifier": "<identifier>"
    },
    "name": "opsgenie_close_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoAdditional note for closing the alert
userNoUser who is closing the alert
sourceNoSource of the action
identifierYesIdentifier of the alert to close
identifierTypeNoType of the identifier (default: id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing beyond "close". It does not disclose that this is a state-changing mutation, whether closing is reversible or terminal, whether it resolves the alert for all responders, or what permissions are needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is technically free of waste but is under-specified rather than concise, containing no front-loaded scope or operational context. It reads as a placeholder rather than a deliberate summary.

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

Completeness2/5

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

This is an unannotated mutation tool with no output schema and five parameters, one of which is an enum-typed identifier selector. Given that complexity, a three-word description leaves the agent without the information needed to invoke it confidently or predict its effect.

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%, with each of the five parameters (identifier, identifierType, note, user, source) individually documented in the schema, so the baseline is 3. The description adds no meaning about how note/user/source affect the close operation, so no credit above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Close an alert" restates the tool name opsgenie_close_alert almost verbatim, adding no distinguishing detail. It does not differentiate closing from sibling operations like acknowledge, unacknowledge, snooze, or add_note, all of which also act on a single alert.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no mention of the sibling tools that represent alternative state transitions on an alert. The only implied usage is the bare verb itself, which an agent must interpret on its own.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.