Skip to content

Commit d7b65c3

Browse files
authored
Merge pull request #2908 from port-labs/setup-incident-manager-ai-agent-with-new-agent-tool-call
Enhance Incident Manager AI Agent documentation
2 parents 6591d24 + ab46143 commit d7b65c3

File tree

1 file changed

+20
-23
lines changed

1 file changed

+20
-23
lines changed

docs/guides/all/setup-incident-manager-ai-agent.md

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -63,32 +63,29 @@ For example, Opsgenie or Firehydrant.
6363
"title": "Incident Manager",
6464
"icon": "Details",
6565
"properties": {
66-
"description": "Incident Manager responsible for answering questions about PagerDuty incidents, services, MTTR, escalation policies, schedules, and on-call rotations.",
67-
"status": "active",
68-
"allowed_blueprints": [
69-
"pagerdutyService",
70-
"pagerdutyIncident",
71-
"pagerdutyEscalationPolicy",
72-
"pagerdutySchedule",
73-
"pagerdutyOncall",
74-
"pagerdutyUser",
75-
"_user",
76-
"_team",
77-
"service"
78-
],
79-
"prompt":"You are an agent responsible for answering questions about PagerDuty incidents, services, escalation policies, schedules, and on-call rotations. ### Guidelines \n - Provide clear information about incidents \n - Identify who is on-call for services (both primary and secondary on-call) \n - Report on incident statistics and resolution times",
80-
"execution_mode": "Approval Required",
81-
"allowed_actions": [ "_triggerPagerdutyIncident", "_acknowledgePagerdutyIncident" ],
82-
"conversation_starters": [
83-
"Who is on call for the payment service?",
84-
"What are the active incidents right now?",
85-
"What is our average incident resolution time?"
86-
]
87-
}
66+
"description": "Incident Manager responsible for answering questions about PagerDuty incidents, services, MTTR, escalation policies, schedules, and on-call rotations.",
67+
"status": "active",
68+
"prompt":"You are an agent responsible for answering questions about PagerDuty incidents, services, escalation policies, schedules, and on-call rotations. ### Guidelines \n - Provide clear information about incidents \n - Identify who is on-call for services (both primary and secondary on-call) \n - Report on incident statistics and resolution times\n\nWhen needed, you can trigger or acknowledge PagerDuty incidents by calling the appropriate actions.",
69+
"execution_mode": "Approval Required",
70+
"conversation_starters": [
71+
"Who is on call for the payment service?",
72+
"What are the active incidents right now?",
73+
"What is our average incident resolution time?"
74+
],
75+
"tools": [
76+
"^(list|get|search|track|describe)_.*",
77+
"run__triggerPagerdutyIncident",
78+
"run__acknowledgePagerdutyIncident"
79+
]
80+
}
8881
}
8982
```
9083
</details>
9184

85+
:::tip MCP Enhanced Capabilities
86+
The AI agent uses MCP (Model Context Protocol) enhanced capabilities to automatically discover important and relevant blueprint entities via its tools. The `^(list|get|search|track|describe)_.*` pattern allows the agent to access and analyze related entities in your software catalog, such as PagerDuty incidents, services, schedules, and on-call rotations. Additionally, we explicitly add `run__triggerPagerdutyIncident` and `run__acknowledgePagerdutyIncident` to the tools, which instructs the AI agent to call these specific actions when needed to manage incidents.
87+
:::
88+
9289
5. Click on `Create` to save the agent.
9390

9491
## Interact with the Incident Manager
@@ -188,4 +185,4 @@ You can further enhance the Incident Manager setup by:
188185
- **Integration expansion**: [Add more data sources](/ai-interfaces/ai-agents/build-an-ai-agent#step-2-configure-data-access-tools) like Opsgenie or ServiceNow.
189186
- **Automated notifications**: [Configure the agent](/ai-interfaces/ai-agents/interact-with-ai-agents#interaction-methods) to proactively notify about incident updates or escalations.
190187
- **Custom conversation starters**: Add organization-specific queries to the [conversation starters](/ai-interfaces/ai-agents/build-an-ai-agent#step-5-activate-your-agent).
191-
- **Monitor and improve**: [Check how your developers are interacting](/ai-interfaces/ai-agents/interact-with-ai-agents#ai-interaction-details) with the agent and improve it according to feedback.
188+
- **Monitor and improve**: [Check how your developers are interacting](/ai-interfaces/ai-agents/interact-with-ai-agents#ai-interaction-details) with the agent and improve it according to feedback.

0 commit comments

Comments
 (0)