Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Delete a device

xmatters_delete_a_device
Destructive

Delete a device from xMatters by its device ID. Requires explicit confirmation and write access to remove the device and notify affected recipients.

Instructions

Delete a device. DELETE /api/xm/1/devices/{deviceID}. Body fields: none. Reference: https://help.xmatters.com/xmapi/#delete-a-device 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.2/5.0
Behavior4/5

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

The description discloses additional behavioral effects beyond the destructiveHint annotation: it may notify recipients or change tenant data, and requires operator write opt-in. This gives an agent useful side-effect awareness not present in 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?

Three short sentences: action, endpoint, and key side-effect/requirement. Every sentence earns its place and the most important operational caveats are front-loaded.

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 simple delete tool, the description covers the endpoint, required confirm flag, operator opt-in, and side effects. No output schema exists, but the description and schema together give enough to invoke the tool correctly.

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 describes confirm and query properties well, covering 67% of parameters. The description adds little beyond restating confirm:true and noting no body fields, which is not particularly necessary since no body parameter exists.

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 begins with 'Delete a device', a specific verb plus resource, and includes the exact REST endpoint. This clearly distinguishes it from sibling tools like get_a_device, create_a_device, and modify_a_device.

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 clearly states the prerequisite of an operator write opt-in and confirm:true, which is essential usage guidance. It does not explicitly name alternatives or when-not-to-use conditions, but the delete semantics are unambiguous enough for selection.

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