Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Trigger an incident — Flow Trigger form

xmatters_trigger_an_incident_form
Destructive

Trigger an incident by submitting a flow trigger form payload to xMatters, with explicit confirmation for the write operation.

Instructions

Trigger an incident — Flow Trigger form. POST /api/xm/1/forms/{formId}/triggers. Additional path from the official cURL and JavaScript examples; DEFINITION instead describes the custom HTTP Request integration trigger. The Python sample omits /xm/1, so it is not followed. JSON remains open. 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

B3.4/5.0
Behavior4/5

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

Annotations already indicate destructive and non-read-only behavior, but the description adds valuable context: it requires operator write opt-in and confirm:true, clarifies that it may notify recipients or change tenant data, and notes 'JSON remains open' to warn about free-form payloads. This goes beyond the basic annotations without contradiction.

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

Conciseness3/5

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

The description is front-loaded with purpose and endpoint, but includes extraneous details like 'The Python sample omits /xm/1, so it is not followed' which is irrelevant for an agent. The listing of body fields is useful but could be condensed. Overall, it is structured but not tightly concise.

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?

For a destructive mutation with no output schema, the description covers requirements (operator opt-in, confirm) and risks (may notify, change tenant data). It also provides a reference link for details. However, it omits any mention of the response format or status codes, which would be helpful for an agent to validate the call's success. Given the complexity and lack of an output schema, this is a notable gap.

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 parameter is a generic recursive type with no field specificity. The description compensates by enumerating key body fields (incidentDetails, recipients, properties, etc.), giving meaning beyond the schema. It also clarifies the confirm parameter is mandatory and that path requires formId. This adds semantic value where the schema is vague.

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 the tool triggers an incident form via the specific endpoint POST /api/xm/1/forms/{formId}/triggers, distinguishing it from sibling tools like xmatters_trigger_an_incident. The mention of 'Flow Trigger form' and explicit resource adds clarity, though the note about cURL/JavaScript examples introduces minor ambiguity about the exact implementation.

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 does not explicitly state when to use this tool over alternative trigger tools (e.g., xmatters_trigger_an_incident or xmatters_trigger_an_event). It mentions operator opt-in and confirm, but provides no guidance on selection criteria or exclusions. The reference link offers external docs but does not help an agent decide between similar operations.

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