Skip to main content
Glama
sbd-toe-mcp
by SbD-ToE

Assess SbD-ToE Implementation

assess_sbd_toe_implementation
Read-only

Compares 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

NameRequiredDescriptionDefault
limitNoMax per_kpi rows per page (default 15; follow coverage.nextOffset).
offsetNoCoverage-preserving page offset over per_kpi.
chapterNo0.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_limitNoMáx. gaps por página (default 10).
kpi_valuesYesMap of metric_id → numeric value (e.g. {"ARC-K01": 85}). Non-numeric values ignored.
risk_levelYesTarget/'compliant' band.
gaps_offsetNo0.15.1: paginação própria dos gaps (highlight severity-first); ver gaps_coverage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond readOnlyHint, it discloses that the tool is stateless with nothing stored, that thresholds are never invented, and that an applicable KPI with no value becomes not_reported rather than a pass. Those are exactly the behavioral traits an agent needs to interpret results correctly and not over-trust the output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core claim is front-loaded in the first sentence, and the operational contract (values in, posture out) follows immediately. Some phrasing is redundant — "measures nothing, verifies nothing and issues no sufficiency judgement" partly repeats itself — but overall density is high and little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still conveys the return shape (posture below/at/above plus gaps per KPI) and the not_reported edge case. Pagination and chapter scoping are left entirely to the schema, which is acceptable since coverage is complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all seven parameters, including pagination and chapter scoping. The description adds the semantic framing of kpi_values as self-reported input and risk_level as the target band, but says nothing about chapter/limit/offset beyond what the schema provides, so this lands at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: it compares submitted kpi_values against published per-level thresholds and returns a posture (below/at/above) plus per-KPI gaps. It explicitly distinguishes itself from measurement and verification siblings by stating it "measures nothing, verifies nothing and issues no sufficiency judgement."

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear triggering context — use it when you have self-declared KPI values and want a gap reading, e.g. "where are my gaps at L2?" — and implies exclusion of verification work by disclaiming measurement. It never names a concrete alternative sibling to route to, so it stops short of full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.