Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Create an integration

xmatters_create_an_integration
Destructive

Create an xMatters integration by sending a JSON payload to a plan's integration endpoint. Requires explicit confirmation and write access.

Instructions

Create an integration. POST /api/xm/1/plans/{planId}/integrations. Body fields: form, name, integrationType, environment, operation, triggeredBy, authenticationType, createdBy, deployed, script, endpoint, integrationService. Reference: https://help.xmatters.com/xmapi/#create-an-integration 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/#create-an-integration
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.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, and the description adds meaningful context beyond them: it may notify recipients or change tenant data, and requires explicit confirmation and an operator write opt-in. This gives the agent a clearer risk profile without contradicting 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.

Conciseness5/5

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

The description is compact and front-loaded: it opens with the action, gives the endpoint, lists body fields, provides a reference, and states requirements and side effects. Every sentence earns its place with no filler or redundancy.

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 create operation with no output schema, the description covers the endpoint, body fields, authentication prerequisite, confirmation requirement, and side effects. It stops short of describing the response shape or required subfields within the body, but the reference link and field list make it sufficiently complete for an agent to invoke it 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%, and the description adds substantial value by enumerating the expected body fields (form, name, integrationType, environment, operation, triggeredBy, authenticationType, createdBy, deployed, script, endpoint, integrationService), which is critical because the body schema is a generic any-JSON type. It also reinforces the confirm:true requirement.

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 states a specific verb and resource ('Create an integration') and gives the exact endpoint, making the tool's function unambiguous. It is clearly distinct from sibling tools like xmatters_modify_an_integration, xmatters_delete_an_integration, and xmatters_get_integrations.

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?

The description provides clear context for when to use this tool: creating a new integration via POST to the plans endpoint. It also gives important prerequisites ('Requires operator write opt-in and confirm:true') and warns about side effects, though it does not explicitly name alternatives or state when not to use it.

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