Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Create a group

xmatters_create_a_group
Destructive

Create a new xMatters group with configurable attributes such as observers, supervisors, and recipient criteria via the API. Requires write permission and explicit confirmation.

Instructions

Create a group. POST /api/xm/1/groups. Body fields: allowDuplicates, description, externalKey, externallyOwned, groupType, observedByAll, observers, properties, recipientType, id, site, status, supervisors, targetName, useDefaultDevices, criteria. Reference: https://help.xmatters.com/xmapi/#create-a-group 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-a-group
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.1/5.0
Behavior4/5

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

Annotations already disclose destructiveHint=true, readOnlyHint=false, and idempotentHint=false. The description adds valuable context: requires operator write opt-in and confirm:true, and warns that it may notify recipients or change tenant data. This goes beyond annotation coverage and alerts the agent to side effects.

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 compact with two sentences. It front-loads the core action and endpoint, then provides a field list, reference link, and critical requirements. The field list is long but necessary given the generic schema. Structure is logical and efficient.

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 creation tool with nested objects and no output schema, the description covers essential aspects: endpoint, body fields, reference, permission requirements, side effects, and confirmation need. It does not detail each field's semantics, but the reference link fills that gap. Overall, an agent has sufficient information 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 100% with descriptions for each parameter, but the body schema is a generic recursive anyOf. The description compensates by listing the specific body fields (allowDuplicates, description, externalKey, etc.), providing meaning that the schema itself lacks. For query and confirm, the description largely restates schema info, but the field list adds genuine value.

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?

Description clearly states the action ('Create a group') and specifies the HTTP endpoint (POST /api/xm/1/groups). It distinguishes itself from sibling tools like modify/delete/get groups by explicitly indicating creation. The list of body fields further clarifies scope.

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 implies usage for creating a new group but does not explicitly contrast with alternatives like xmatters_modify_a_group or mention when not to use it. It does provide some usage conditions (requires operator write opt-in, confirm:true, may notify recipients), but lacks explicit 'use this when' guidance versus siblings.

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