26 lines
1.1 KiB
Python
26 lines
1.1 KiB
Python
"""Prompts for the ops MCP server."""
|
|
|
|
from mcp_servers.ops.server import mcp
|
|
|
|
|
|
@mcp.prompt()
|
|
def handover_brief(hub: str = "ALL", shift_time: str = "21:00 CT") -> str:
|
|
"""Template for generating a shift handover brief.
|
|
|
|
Defines the structured format: IMMEDIATE / MONITOR / FYI sections,
|
|
priority scoring expectations, and detail level per item.
|
|
"""
|
|
return (
|
|
f"Generate a shift handover brief for {hub} at {shift_time}. "
|
|
"Structure the output as follows:\n\n"
|
|
"HEADER: Hub, time, outgoing/incoming manager names.\n\n"
|
|
"IMMEDIATE ACTION: Items requiring action within the next 2 hours. "
|
|
"Each item: flight/issue ID, what's happening, time until critical, "
|
|
"specific action needed, and any pre-staged resources.\n\n"
|
|
"MONITOR: Items that could escalate. Each item: what to watch, "
|
|
"trigger conditions for escalation, current trajectory.\n\n"
|
|
"FYI: Resolved items or low-risk situations the incoming shift should know about.\n\n"
|
|
"Be concise. Ops managers scan, they don't read paragraphs. "
|
|
"Use the data provided — do not invent details."
|
|
)
|