Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Delete a shared library

xmatters_delete_a_shared_library
Destructive

Delete a shared library by ID from xMatters. Requires explicit confirmation and write permission; permanently removes the library and may notify affected recipients.

Instructions

Delete a shared library. DELETE /api/xm/1/shared-libraries/{libraryID}. Body fields: none. Reference: https://help.xmatters.com/xmapi/#delete-a-shared-library 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
Behavior5/5

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

The description adds valuable behavioral context beyond the annotations: it notes the operation 'may notify recipients or change tenant data' and requires confirm:true plus operator write opt-in. This meaningfully expands on the destructiveHint, idempotentHint, and readOnlyHint annotations. No contradiction with annotations exists.

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: it states the action, endpoint, body requirement, prerequisites, and side effects in two sentences. No filler or redundant wording is present. The reference link is useful and does not bloat the description.

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 tool with no output schema, the description covers the essential context: endpoint, required confirmation, permission prerequisite, and potential side effects. It does not state the return behavior, but that is not critical for a delete operation. Overall, it provides enough information for an agent to call 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 documents path.libraryID and confirm, including confirm's const true requirement and operator opt-in. The description adds 'Body fields: none' and restates confirm:true, but does not substantially enrich parameter meaning beyond the schema. With 67% schema coverage, this is adequate but not exceptional.

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 verb and resource: 'Delete a shared library' and gives the exact endpoint. This clearly distinguishes it from sibling tools like get, create, or modify a shared library. No ambiguity remains about what operation is being invoked.

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 actionable prerequisites: 'Requires operator write opt-in and confirm:true,' which tells the agent when it is permitted to use this tool. However, it does not explicitly compare with alternatives or state when not to use this tool, leaving some usage guidance implicit.

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