Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Modify an Integration

xmatters_modify_an_integration
Destructive

Modify an xMatters integration by submitting the updated configuration with confirmation. Use it to change scripts, endpoints, authentication, or other integration settings.

Instructions

Modify an Integration. POST /api/xm/1/plans/{planId}/integrations. Body fields: id, form, name, integrationType, environment, operation, triggeredBy, authenticationType, createdBy, deployed, script, endpoint, integrationService. Reference: https://help.xmatters.com/xmapi/#modify-an-integration 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-an-integration
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

A3.9/5.0
Behavior4/5

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

Annotations already signal destructive and non-idempotent behavior; description adds specific side effects: 'may notify recipients or change tenant data' and the operator write opt-in requirement. This goes beyond the boolean hints and gives concrete consequences. No contradiction with 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 dense with endpoint, body fields, reference, and authorization notes, but it is still readable and front-loaded with the core purpose. The body field list is lengthy but necessary for a free-form schema. Could be better organized with bullets, but acceptable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with complex body requirements, the description covers endpoint, required fields, side effects, and auth. However, it lacks guidance on expected response or error conditions, and the meaning of 'change tenant data' is vague. Still, given no output schema, the description is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema treats body as a generic JSON blob, so the description's explicit list of body fields (id, form, name, integrationType, etc.) is essential. It also reinforces the confirm:true requirement and identifies planId in the endpoint path. This significantly compensates for the schema's low specificity on body.

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: 'Modify an Integration' with HTTP POST endpoint. Clearly distinguishes itself from sibling create/delete/get integration tools through the modification verb. No ambiguity about what resource it acts on.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus create/delete alternatives. It only provides a caution about opt-in and confirm, not decision context or exclusions. An agent would have to infer that modification is for existing integrations.

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