Health score
A single 0–100 score for a GTM container. Tiered deductions, diminishing returns, hygiene rules excluded.
A single number, 0 to 100, that captures the functional health of a GTM container. Same algorithm everywhere — dashboard, REST, MCP.
Grades
Letter grades match how teams already talk about quality. The thresholds are fixed.
| Grade | Range | Label |
|---|---|---|
| A | 90 – 100 | Well-Configured |
| B | 75 – 89 | Healthy |
| C | 60 – 74 | Needs Attention |
| D | 45 – 59 | Patterns Found |
| F | 0 – 44 | Areas to Review |
How deductions work
Findings carry a tier. Each tier has a maximum total deduction so no single category can dominate the score. info findings (hygiene suggestions like naming conventions) don't deduct at all — they appear in reports but are excluded from the number you compare across containers.
| Tier | Max deduction | Notes |
|---|---|---|
| error | 35 pts | Hard cap. 8 points each. |
| warning | 20 pts | 4 points each, linear up to the cap. |
| optimization | 25 pts | Diminishing returns — the 10th finding hurts less than the 1st. |
| info | 0 pts | Informational only — takes no points off. Mostly hygiene rules. An info finding from a functional rule is still counted in functionalIssueCount and byCategory. |
Functional, not cosmetic. Two containers with identical functional findings get the same score regardless of folder organization. Hygiene matters for humans, not for tag delivery.
Per-category breakdown
The byCategory object on every score response counts findings per rule category. The values are numbers of findings, not points. Only findings from functional rules are counted. Findings from hygiene rules are left out. functionalIssueCount is the total of those counts.
In the example, one warning (4 points) and five optimization findings (14 points) give six scored findings: one in consent, four in ga4, one in ads.
Use the counts to route alerts. A rise in consent can go to legal, a rise in performance to the web platform team.
Examples
{
"score": 82,
"grade": "B",
"label": "Healthy",
"deductions": {
"error": 0,
"warning": 4,
"optimization": 14,
"info": 0,
"byCategory": {
"consent": 1,
"ga4": 4,
"ads": 1
}
},
"caps": {
"error": 35,
"warning": 20,
"optimization": 25,
"info": 0
},
"functionalIssueCount": 6
}