Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Delete a service dependency

xmatters_delete_a_service_dependency
Destructive

Delete a service dependency in xMatters to remove a link between services. Requires explicit confirmation and operator write access.

Instructions

Delete a service dependency. DELETE /api/xm/1/service-dependencies/{id}. Body fields: none. Reference: https://help.xmatters.com/xmapi/#delete-a-service-dependency 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.4/5.0
Behavior5/5

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

Annotations already mark this as destructive and not read-only. The description adds meaningful behavioral context beyond them: it requires operator write opt-in and confirm:true, and warns that the operation may notify recipients or change tenant data. This is exactly the kind of side-effect disclosure an agent needs.

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 dense but well-ordered: purpose, method/path, body clarification, reference, then required authorization and side effects. Every sentence earns its place and there is no filler.

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, it covers the identifier, authentication prerequisite, confirmation requirement, and side effects. It does not describe response codes or failure semantics, but that is not essential for correctly selecting and invoking this DELETE operation.

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 already documents confirm and query well, and the description clarifies that body fields are none. The endpoint template adds meaning for path.id. The only minor gap is not stating where confirm is transmitted, but the schema's required const true is sufficient for correct MCP invocation.

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 a specific verb and resource: 'Delete a service dependency', reinforced by the exact DELETE endpoint. This unambiguously distinguishes it from sibling tools like create/modify_a_service_dependency and delete_a_service.

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 preconditions such as operator write opt-in and confirm:true, which is useful operational guidance. However, it does not explicitly say when to use this tool versus modifying or deleting other resources; the appropriate usage is only implied by the name and endpoint.

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