Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Update sender permissions

xmatters_update_sender_permissions
Destructive

Update sender permissions for a specific xMatters form by specifying sender type, sender, and manage scenarios. Requires explicit confirmation and write access.

Instructions

Update sender permissions. PUT /api/xm/1/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?

Annotations already mark this as destructive and write-only, and the description adds meaningful context: it requires operator write opt-in, confirm must be true, it may notify recipients or change tenant data, and callers must preserve existing entries they do not want replaced. This goes beyond the annotations without contradicting them.

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 but mostly purpose-serving, with the endpoint and key caveats front-loaded. The Python-sample note and reference URL add useful context, though they could be tightened. It remains concise relative to the number of behavioral warnings it needs to convey.

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, the description covers the auth prerequisite, confirm requirement, body shape, replacement/preservation semantics, and the target endpoint. It lacks explicit sibling-routing and relies on a link for full official semantics, but an agent has enough context to invoke the mutation correctly.

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 gives solid coverage for confirm and a generic body payload, but the body parameter lacks structured field detail. The description adds essential meaning by listing senderType, sender, and manageScenarios and by warning that they describe array entries, not mandatory root keys. It does not explain value formats or allowed values, so it is not a 5.

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 a specific verb and resource: 'Update sender permissions' with the full HTTP path PUT /api/xm/1/forms/{formId}/sender-permissions. It also clarifies the body shape (top-level array). It does not explicitly contrast this tool with the sibling update_sender_permissions_nested, so it misses the last bit of differentiation.

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 gives no guidance about when to use this tool versus alternatives such as update_sender_permissions_nested, the get sender-permission tools, or set_scenario_sender_permissions. It focuses on API caveats rather than selection criteria, so an agent has to infer 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