Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Trigger an event

xmatters_trigger_an_event
Destructive

Trigger an xMatters event by posting a JSON payload to an integration function, initiating notifications or workflows. Use to escalate incidents or alert recipients when issues occur.

Instructions

Trigger an event. 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: attachments, bypassPhoneIntro, conference, escalationOverride, expirationInMinutes, otherResponseCountThreshold, overrideDeviceRestrictions, priority, properties, recipients, requirePhonePassword, responseOptions, senderOverrides, targetAllDevices, targetDeviceNames, voicemailOptions. Reference: https://help.xmatters.com/xmapi/#trigger-an-event 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-event
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

A4.3/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: authentication is server-configured rather than model-supplied, payloads are tenant-defined open JSON, and the operation may notify recipients or change tenant data. It reinforces destructiveHint and idempotentHint=false without contradicting them.

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 but well organized, with the core action and endpoint first, followed by auth, body fields, reference, and safety caveats. The long field list is justified because the body schema is otherwise opaque. Minor redundancy exists between the opening sentence and the endpoint statement.

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 write operation with no output schema, the description covers auth, confirmation, body structure, side effects, and a documentation reference. It does not describe the response or what happens after a successful trigger, which would be useful but is not strictly necessary for correct invocation.

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?

The schema only loosely defines body as arbitrary JSON, so the description compensates by listing the expected top-level body fields and clarifying that custom payloads remain open JSON. It also explains the auth parameter absence and confirms the exact payload shape. Path and confirm are already adequately described in the schema.

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 clearly identifies the action ('Trigger an event'), the exact REST endpoint, and the mechanism ('Posts JSON to the configured integration function'). It also distinguishes this tool from nearby siblings like xmatters_trigger_an_incident by focusing specifically on events and integration functions.

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

Usage Guidelines3/5

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

The description gives important preconditions: operator write opt-in, confirm:true, and server-configured authentication. However, it never explicitly tells an agent when to choose this tool over alternatives such as xmatters_trigger_an_incident or xmatters_trigger_an_incident_form, so the usage guidance is implied rather than explicit.

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