Home / Servers / PagerDuty API / accept_recommended_rule
Accept a recommended rule
An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.
Accept a recommended rule and apply it to the service's Event Orchestration. Scoped OAuth requires: recommendations.write [POST /recommendations/event_orchestrations/services/{service_id}/rules/{recommendation_id}/accept]
Name on the gateway: pagerduty_api__accept_recommended_rule · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
service_id required | string | The service ID |
recommendation_id required | string | The recommendation ID (rule instance hash). |
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:
{
"name": "pagerduty_api__accept_recommended_rule",
"arguments": {
"service_id": "…",
"recommendation_id": "…"
}
}Or connect the PagerDuty API server directly, which lists 459 tools including this one:
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 accept a recommended rule tool with service_id set to ….