Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Update sender permissions — nested

xmatters_update_sender_permissions_nested
Destructive

Update sender permissions for a plan's form by replacing the sender list with a nested JSON payload. Requires explicit confirmation and write access.

Instructions

Update sender permissions — nested. PUT /api/xm/1/plans/{planId}/forms/{formId}/sender-permissions. The request supports a top-level JSON array; listed body fields describe array entries, not mandatory root object keys. PUT is preserved from DEFINITION even where a Python sample incorrectly calls requests.post. Preserve any existing entries that should not be replaced; consult the official operation. Body fields: senderType, sender, manageScenarios. Reference: https://help.xmatters.com/xmapi/#update-sender-permissions 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/#update-sender-permissions
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.6/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses side effects: 'may notify recipients or change tenant data' and the requirement for confirm:true. It also warns about the PUT vs POST discrepancy in sample code, adding useful behavioral context that annotations do not cover.

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 information-dense but each sentence contributes value: endpoint, array structure, sample-code caution, preservation advice, body fields, reference link, and requirements. It is front-loaded with the purpose and then adds necessary caveats. Not overly verbose, though slightly heavy.

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?

Given the tool's complexity (nested body, 4 params, no output schema), the description covers the essential aspects: endpoint, body structure, required confirm, side effects, and a reference. It does not detail the exact enum values or format of senderType/sender, but it directs to the official docs. This is fairly complete for a mutation tool.

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 only describes body as a generic JSON payload, but the description explains that the body is a top-level JSON array and lists the actual fields (senderType, sender, manageScenarios). It also clarifies that these are array-entry fields, not root keys. This meaningfully compensates for the schema's high-level body definition (75% coverage).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the operation clearly: 'Update sender permissions — nested' and gives the exact HTTP endpoint. It is a specific verb+resource. However, it does not explicitly differentiate from the sibling tool xmatters_update_sender_permissions (non-nested), so the agent must infer the difference from the 'nested' label and the array-structure note.

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?

The description provides prerequisites (operator write opt-in, confirm:true) and a caution to preserve existing entries, but it does not state when to use this tool versus the non-nested variant or any other alternative. There is no explicit 'use this when X, use that when Y' guidance, leaving the agent to guess based on naming.

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