Home / Servers / PagerDuty API / create_ruleset

Create a Ruleset

An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.

Create a Ruleset Create a new Ruleset. > ### End-of-life > Rulesets and Event Rules will end-of-life soon. We highly recommend that you migrate to Event Orchestration as soon as possible so you can take advantage of… [POST /rulesets]

Name on the gateway: pagerduty_api__create_ruleset · may change things.

Parameters

NameTypeDescription
ruleset requiredobject

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "pagerduty_api__create_ruleset",
  "arguments": {
    "ruleset": "…"
  }
}

Or connect the PagerDuty API server directly, which lists 459 tools including this one:

Run in your terminal
claude mcp add --transport http hj-pagerduty-api https://mcp.hjlabs.in/mcp/pagerduty-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a ruleset tool with ruleset set to ….

More from PagerDuty API