Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Delete a temporary absence

xmatters_delete_a_temporary_absence
Destructive

Delete a temporary absence by ID to remove scheduled time off from on-call rotations.

Instructions

Delete a temporary absence. DELETE /api/xm/1/temporary-absences/{temporaryAbsenceId}. Body fields: none. Reference: https://help.xmatters.com/xmapi/#delete-a-temporary-absence Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.1/5.0
Behavior4/5

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

Annotations already mark this as destructive and non-read-only, so the description's added value is the side-effect warning that recipients may be notified and tenant data may change, plus the write-opt-in requirement. This goes beyond the structured annotations 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?

Three short sentences convey endpoint, body expectation, reference, prerequisites, and side effects with little waste. Minor double spacing and a reference URL are acceptable; info is front-loaded and scannable.

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 two-required-parameter delete with no output schema, the description covers the endpoint, required confirmation, opt-in, body expectation, and side effects. A response/status-code note would be a small improvement, but nothing essential to invoking it correctly is missing.

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 schema already documents query and confirm in detail, and the description adds only 'Body fields: none' and the path variable name through the endpoint. The temporaryAbsenceId parameter has no explicit prose description but is self-explanatory from the endpoint; the added value over the schema is modest.

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 action ('Delete a temporary absence') and gives the exact REST endpoint, which unambiguously identifies the resource and operation. This distinguishes it from the sibling create/get temporary-absence tools even without inspecting the schema.

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?

It provides clear invocation context by stating the DELETE verb, that no body fields are needed, and that operator write opt-in plus confirm:true are required. It doesn't name alternatives or exclusions, but for a deletion operation the trigger condition ('delete a temporary absence') is sufficiently clear.

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