Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/mcp-core/src/skillDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
},
{
"name": "get_monitor_details",
"description": "Get details and recent check-ins for a Sentry cron monitor (scheduled job).\n\nUse this tool when you need to:\n- Inspect a monitor's schedule, status, owner, project, and environments\n- Review recent check-ins for missed, failed, timeout, or OK runs\n- Check monitor stats over a recent time range\n\n<examples>\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import')\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import', projectSlugOrId='backend', environment='production', period='7d')\n</examples>",
"description": "Get details and recent check-ins for a Sentry cron monitor (scheduled job).\n\nUse this tool when you need to:\n- Inspect a monitor's schedule, status, owner, project, and environments\n- Review recent check-ins for missed, failed, timeout, or OK runs\n- Check monitor stats over a recent time range\n\nTo find issues from a monitor, call `search_issues` with query `monitor.slug:<slug>`.\n\n<examples>\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import')\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import', projectSlugOrId='backend', environment='production', period='7d')\n</examples>",
"requiredScopes": ["project:read"]
},
{
Expand Down
207 changes: 206 additions & 1 deletion packages/mcp-core/src/toolDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5482,7 +5482,7 @@
{
"name": "get_monitor_details",
"title": "Get Cron Monitor Details",
"description": "Get details and recent check-ins for a Sentry cron monitor (scheduled job).\n\nUse this tool when you need to:\n- Inspect a monitor's schedule, status, owner, project, and environments\n- Review recent check-ins for missed, failed, timeout, or OK runs\n- Check monitor stats over a recent time range\n\n<examples>\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import')\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import', projectSlugOrId='backend', environment='production', period='7d')\n</examples>",
"description": "Get details and recent check-ins for a Sentry cron monitor (scheduled job).\n\nUse this tool when you need to:\n- Inspect a monitor's schedule, status, owner, project, and environments\n- Review recent check-ins for missed, failed, timeout, or OK runs\n- Check monitor stats over a recent time range\n\nTo find issues from a monitor, call `search_issues` with query `monitor.slug:<slug>`.\n\n<examples>\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import')\nget_monitor_details(organizationSlug='my-organization', monitorSlug='nightly-import', projectSlugOrId='backend', environment='production', period='7d')\n</examples>",
"inputSchema": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5598,6 +5598,211 @@
},
"required": ["organizationSlug", "monitorSlug"]
},
"outputSchema": {
"type": "object",
"properties": {
"monitor": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"name": {
"type": ["string", "null"]
},
"project": {
"type": ["string", "null"]
},
"status": {
"type": ["string", "null"]
},
"type": {
"type": ["string", "null"]
},
"owner": {
"type": ["string", "null"]
},
"ownerEmail": {
"description": "Set when a user owns the monitor.",
"type": ["string", "null"]
},
"lastCheckIn": {
"type": ["string", "null"]
},
"nextCheckIn": {
"type": ["string", "null"]
},
"url": {
"type": "string"
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"scheduleType": {
"type": ["string", "null"]
},
"schedule": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": ["number", "string"]
}
}
]
},
{
"type": "null"
}
],
"description": "Crontab string, or [value, unit] for interval schedules."
},
"timezone": {
"type": ["string", "null"]
},
"checkinMarginMinutes": {
"type": ["number", "null"]
},
"maxRuntimeMinutes": {
"type": ["number", "null"]
}
},
"required": [
"scheduleType",
"schedule",
"timezone",
"checkinMarginMinutes",
"maxRuntimeMinutes"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"slug",
"name",
"project",
"status",
"type",
"owner",
"ownerEmail",
"lastCheckIn",
"nextCheckIn",
"url",
"config"
],
"additionalProperties": false
},
"environments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": ["string", "null"]
},
"status": {
"type": ["string", "null"]
},
"lastCheckIn": {
"type": ["string", "null"]
},
"nextCheckIn": {
"type": ["string", "null"]
}
},
"required": ["name", "status", "lastCheckIn", "nextCheckIn"],
"additionalProperties": false
}
},
"checkIns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": ["string", "null"]
},
"status": {
"type": ["string", "null"]
},
"durationMs": {
"type": ["number", "null"]
},
"environment": {
"type": ["string", "null"]
}
},
"required": ["date", "status", "durationMs", "environment"],
"additionalProperties": false
}
},
"stats": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"timestamp": {
"type": "string"
},
"ok": {
"type": ["number", "null"]
},
"error": {
"type": ["number", "null"]
},
"missed": {
"type": ["number", "null"]
},
"timeout": {
"type": ["number", "null"]
},
"unknown": {
"type": ["number", "null"]
},
"avgDurationMs": {
"type": ["number", "null"]
}
},
"required": [
"timestamp",
"ok",
"error",
"missed",
"timeout",
"unknown",
"avgDurationMs"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "At most 10 most recent stat buckets, oldest first. Null when includeStats is false."
}
},
"required": ["monitor", "environments", "checkIns", "stats"],
"additionalProperties": false
},
"requiredScopes": ["project:read"],
"skills": ["inspect"],
"surface": "direct"
Expand Down
Loading
Loading