Get cluster baseline
get_cluster_baselineGet a cluster's Ankra Baseline score: the latest nightly evaluation of ten checks (metrics and logs collected, service-level alerts, backups with a tested restore, resource requests and limits, readiness and liveness probes, PodDisruptionBudgets on multi-replica workloads, pinned images, supported Kubernetes and addon versions, certificate automation, no critical or known-exploited CVEs), each pass, fail or unknown with the evidence it rests on. The score is passed weight over decided weight; unknown checks leave the denominator and are reported as coverage, never as a pass. Call this when the user asks how well a cluster is built, what to fix first, whether it is production-ready, or for a hardening or prevention plan: the gaps are ordered heaviest first. Read from the platform database (works for offline clusters); 'computed' false means the nightly recorder has not scored the cluster yet, which is not a score of zero.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_cluster_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | No | UUID of the cluster to score. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the cluster to score. Optional when a cluster is selected. |