Assess SbD-ToE Implementation
assess_sbd_toe_implementationCompares submitted KPI values against published thresholds for a chosen risk level to return per-KPI posture and gaps, flagging missing values as not reported.
Instructions
Applies the PUBLISHED thresholds to the KPI values YOU declare — it measures nothing, verifies nothing and issues no sufficiency judgement. Compares submitted kpi_values with the per-level thresholds (metrics.json) → posture (below/at/above) and gaps per KPI. Stateless self-report: values in, posture out, nothing stored; thresholds never invented; an applicable KPI without a value is not_reported (never a pass). Answers 'where are my gaps at L2?'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kpi_values": "<kpi_values>",
"risk_level": "<risk_level>"
},
"name": "assess_sbd_toe_implementation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max per_kpi rows per page (default 15; follow coverage.nextOffset). | |
| offset | No | Coverage-preserving page offset over per_kpi. | |
| chapter | No | 0.20.0-beta.36 — restringe a avaliação a UM capítulo (ex.: `07-cicd-seguro`). Sem isto, avalia o Manual inteiro: 4 KPIs de um capítulo faziam o `posture` fechar sobre 95 KPIs com 91 não reportados — um veredicto que não é o da pergunta. O bloco `scope` explica sempre o denominador. | |
| gaps_limit | No | Máx. gaps por página (default 10). | |
| kpi_values | Yes | Map of metric_id → numeric value (e.g. {"ARC-K01": 85}). Non-numeric values ignored. | |
| risk_level | Yes | Target/'compliant' band. | |
| gaps_offset | No | 0.15.1: paginação própria dos gaps (highlight severity-first); ver gaps_coverage. |