Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Modify a plan endpoint

xmatters_modify_a_plan_endpoint
Destructive

Modify an xMatters plan endpoint by sending updated fields with the plan ID. Confirm the change to apply it to recipient notifications or tenant data.

Instructions

Modify a plan endpoint. POST /api/xm/1/plans/{planID}/endpoints. Examples identify the endpoint with body id and the plan in the path, but the body table lists plan and prose says plan UUID. Both id and plan are allowed without inventing a mandatory field. The JavaScript sample ednpoints typo is not adopted. See C09. Body fields: plan, name, url, endpointType, authenticationType, authentication, id. Reference: https://help.xmatters.com/xmapi/#modify-a-plan-endpoint 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/#modify-a-plan-endpoint
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.3/5.0
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds critical behavioral context: it requires operator write opt-in and confirm:true, and warns of side effects like notifying recipients or changing tenant data. It also clarifies the ambiguity around body fields (id vs plan), which goes beyond annotations.

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 moderately long but every sentence adds value: it gives the endpoint, clarifies ambiguities, notes a typo in samples, lists body fields, and states permission/side-effect requirements. It is well-structured and front-loaded with the core action.

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?

With no output schema, the description should cover return behavior, but it focuses on side effects and requirements instead. It includes a reference URL for full API details, which compensates. It covers permission, body structure, and ambiguity, though it omits response format. Given the complexity, it is reasonably complete.

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 has generic body and query definitions with limited descriptions (75% coverage). The description adds meaningful detail by listing the expected body fields (plan, name, url, endpointType, authenticationType, authentication, id) and clarifying that both id and plan are allowed, reducing ambiguity. It also points to the reference for exact payload structure.

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 action ('Modify a plan endpoint') and gives the exact HTTP method and path, making it distinct from siblings like create_plan_endpoint and delete_a_plan_endpoint. It also provides a reference URL for further detail.

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 implies when to use this tool (to modify an existing plan endpoint) and explicitly states prerequisites: operator write opt-in and confirm:true. It doesn't explicitly exclude alternatives, but the purpose is clear enough. The side-effect warning ('may notify recipients or change tenant data') gives usage 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