Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Create a subscription form

xmatters_create_a_subscription_form
Destructive

Create a subscription form for a plan, enabling users to subscribe to notifications. Requires explicit confirmation and write access.

Instructions

Create a subscription form. POST /api/xm/1/plans/{planId}/subscription-forms. Body fields: name, description, scope, form, oneWay, subscribeOthers, notificationDelay, propertyDefinitions, roles, devicesSectionCollapsed, devicesSectionVisible, targetDeviceNames. Reference: https://help.xmatters.com/xmapi/#create-a-subscription-form 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/#create-a-subscription-form
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.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description explicitly warns that this operation 'may notify recipients or change tenant data' and requires 'operator write opt-in and confirm:true'. This is valuable behavioral context for a write endpoint that has side effects like notifications and tenant changes, exactly the kind of context an agent needs before invoking it.

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 information-dense: it front-loads the core action, then gives the endpoint, body fields, reference link, and the critical operator/confirm requirement in two sentences. Every sentence contributes unique information without unnecessary fluff.

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?

The description provides the endpoint, body field list, reference URL, and required confirmation flag. There is no output schema, but for a create operation the most important context (side effects, auth requirement, confirm) is present. It doesn't describe the response shape or other behavioral details, but the reference link covers that and the essential invocation context is 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?

Schema description coverage is 75%, and the description lists the body fields (name, description, scope, form, oneWay, etc.), which adds meaning beyond the schema's generic 'Complete API JSON payload' text. The schema already documents planId and confirm, and the description adds the endpoint and a reference URL for full field semantics. This compensates well for the remaining gap.

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 identifies the operation ('Create a subscription form'), specifies the HTTP method and endpoint (POST /api/xm/1/plans/{planId}/subscription-forms), and lists the body fields. It is distinguishable from sibling tools like xmatters_modify_a_subscription_form or xmatters_get_subscription_forms_in_a_plan because it explicitly says 'Create' and provides the exact target resource.

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 (when creating a subscription form) through the verb and resource, and the endpoint clarifies the plan-scoped context. It notes the operator write opt-in and confirm:true requirement, which is a key gate for use. It doesn't explicitly name sibling alternatives for modification or retrieval, but the 'Create' verb and the URL make the intended use clear enough.

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