Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Modify a group

xmatters_modify_a_group
Destructive

Modify an existing xMatters group's details, such as description, members, observers, or notification settings, by submitting an update with explicit confirmation.

Instructions

Modify a group. POST /api/xm/1/groups. Body fields: id, allowDuplicates, description, externalKey, externallyOwned, groupType, observedByAll, observers, properties, recipientType, site, status, supervisors, targetName, useDefaultDevices, criteria. Reference: https://help.xmatters.com/xmapi/#modify-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/#modify-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.2/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 context beyond those: the operation may notify recipients or change tenant data, and it requires explicit operator write opt-in plus confirm:true. There is no contradiction with the annotations. It stops short of describing partial vs full replacement semantics, so it is not a 5.

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: operation, endpoint, body fields, reference, and requirements appear in a logical order. Every sentence contributes important information, and the field list is scannable rather than padded.

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 mutation with no output schema, the description covers the essential context: endpoint, required id, body fields, permissions, side effects, and a documentation link. The main gaps are that it does not clarify whether omitted fields are preserved or reset, and it does not describe the response shape, but the reference link mitigates these omissions.

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's body parameter is mostly an opaque JSON blob with only id required, so the tool description adds real value by listing the relevant body fields (allowDuplicates, description, externalKey, etc.). The confirm parameter is already well documented in the schema, and the query parameter is explicitly noted as having no documented names. Type-level detail for the listed fields is left to the reference link, preventing a 5.

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?

States the exact operation ('Modify a group'), the HTTP endpoint (POST /api/xm/1/groups), and enumerates the relevant body fields. It is clearly distinct from sibling tools like xmatters_create_a_group and xmatters_delete_a_group because it requires an existing group id in the body and uses a modify verb.

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 operational prerequisites ('Requires operator write opt-in and confirm:true') and a caution about side effects, but it does not explicitly say when to use this tool instead of create/delete or another mutation tool. The intended use is implied by the name and the required id, rather than clearly contrasted with alternatives.

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