Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Trigger an incident

xmatters_trigger_an_incident
Destructive

Trigger an xMatters incident by posting JSON to an integration function, notifying recipients and escalating as configured. Requires explicit write approval.

Instructions

Trigger an incident. POST /api/integration/1/functions/{id}/triggers. Posts JSON to the configured integration function. The documented apiKey query authentication is not exposed as a model argument; use server-configured authentication. Tenant-defined custom trigger payloads remain open JSON. Body fields: incidentDetails, recipients, properties, expirationInMinutes, overrideDeviceRestrictions, escalationOverride, bypassPhoneIntro, requirePhonePassword, voicemailOptions, senderOverrides, targetAllDevices, targetDeviceNames, priority. Reference: https://help.xmatters.com/xmapi/#trigger-an-incident Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesComplete API JSON payload (including nested fields). See https://help.xmatters.com/xmapi/#trigger-an-incident
pathYes
queryNoAPI query parameters; arrays are comma-joined. Documented names: none. Pagination is explicit using offset and limit; results are not automatically combined.
confirmYesExplicit approval of this exact mutation. Operator must also enable XMATTERS_ALLOW_WRITES.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description adds meaningful behavioral context: the apiKey query authentication is not exposed, server-configured authentication must be used, custom payloads remain open JSON, and the call may notify recipients or change tenant data. This complements rather than contradicts the annotations.

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?

The description is dense and front-loaded, starting with the action and endpoint before moving into authentication, payload flexibility, body fields, and safety requirements. The body field list is long but useful, and the reference link provides an external escape hatch. Minor redundancy exists with the title, but overall it is efficiently structured.

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 destructive, non-idempotent trigger with open JSON payloads, the description covers authentication, required confirmation, tenant impact, body field names, and a documentation reference. It does not describe the response format, but no output schema exists and the reference link partially covers that gap. Overall it gives an agent enough to call the tool safely and correctly.

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 75%, but the body schema is just a generic open JSON ref. The description compensates by enumerating the relevant body fields (incidentDetails, recipients, properties, expirationInMinutes, etc.) and clarifying that path id is the integration function id via the endpoint template. The confirm parameter's const true requirement is also reinforced.

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

Purpose4/5

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

The description clearly states a specific action ('Trigger an incident') and the exact endpoint ('POST /api/integration/1/functions/{id}/triggers'), so an agent understands the operation and resource. It does not explicitly contrast with sibling tools like xmatters_trigger_an_event or xmatters_trigger_an_incident_form, so it stops short of full sibling differentiation.

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?

The description gives important safety context ('Requires operator write opt-in and confirm:true; may notify recipients or change tenant data') but provides no explicit guidance on when to choose this tool over alternatives such as xmatters_trigger_an_event or xmatters_trigger_an_incident_form. Usage is only implied through the endpoint and trigger semantics.

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