Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Add a member to a shift

xmatters_add_a_member_to_a_shift
Destructive

Assign a recipient to an on-call shift by specifying position, delay, escalation type, and rotation settings.

Instructions

Add a member to a shift. POST /api/xm/1/groups/{groupID}/shifts/{shiftID}/members. Body fields: recipient, position, delay, escalationType, inRotation, onDuty. Reference: https://help.xmatters.com/xmapi/#add-a-member-to-a-shift 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/#add-a-member-to-a-shift
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

A3.6/5.0
Behavior4/5

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

The description adds meaningful side-effect context beyond the annotations: it requires operator write opt-in, confirm:true, and warns that it may notify recipients or change tenant data. This aligns with destructiveHint=true and provides useful behavioral expectations.

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 and front-loaded with the core action, then supplies the endpoint, key body fields, requirements, and a reference link. It avoids unnecessary prose, though the opening sentence largely restates the tool title.

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?

The description gives enough to attempt the call: endpoint, path parameters, body field names, confirm requirement, and side-effect warnings. Still, it lacks details on required body fields, response shape, and error cases, which are important for a destructive, open-world mutation with no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description lists body fields (recipient, position, delay, escalationType, inRotation, onDuty), which adds value because the schema only defines body as an arbitrary JSON payload. However, it does not explain the meaning, types, or allowed values of these fields, leaving important semantics to the external reference.

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 states the operation as 'Add a member to a shift' and reinforces it with the exact REST endpoint POST /api/xm/1/groups/{groupID}/shifts/{shiftID}/members. This distinguishes it from siblings like xmatters_add_a_member_to_the_group and xmatters_get_members_in_a_shift.

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?

No guidance is given about when to choose this tool over alternatives, such as adding a member to a group or retrieving shift members first. The description focuses on how to invoke the API but not on the decision context.

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