Files
ITWorx_MCP_Hub-Public/catalog/tools/project-status-get.yaml
T

106 lines
2.4 KiB
YAML

{
"apiVersion": "hub.example.com/v1alpha1",
"kind": "ToolManifest",
"metadata": {
"name": "Project Status Get",
"slug": "project-status-get"
},
"spec": {
"canonicalName": "project.status.get",
"version": "1.0.0",
"connectorType": "control",
"description": "Return aggregate status for the current project and endpoint environment.",
"riskClass": "R1",
"readOnly": true,
"idempotent": true,
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
},
"outputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"project": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,127}$"
},
"environment": {
"enum": [
"dev",
"test",
"staging",
"prod"
]
},
"status": {
"enum": [
"healthy",
"degraded",
"unavailable",
"disabled",
"misconfigured"
]
},
"components": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"maxLength": 120
},
"status": {
"enum": [
"healthy",
"degraded",
"unavailable",
"disabled",
"misconfigured"
]
},
"detail": {
"type": [
"string",
"null"
],
"maxLength": 1000
}
},
"required": [
"name",
"status",
"detail"
]
}
},
"generatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"project",
"environment",
"status",
"components",
"generatedAt"
]
},
"limits": {
"timeoutMs": 10000,
"maxOutputBytes": 262144,
"maxItems": 100
},
"redactionProfile": "metadata",
"requiredScopes": [
"project:{project}:read"
]
}
}