schemas/complexity-budget
Deeply nested inputs, very wide property lists, and stacked oneOf/anyOf force the model to solve a constraint puzzle before every call. Flatter, narrower inputs get filled correctly more often.
- Category
- schemas
- Default severity
- warn
- Weight
- 3
- Max deduction
- 12
Why this category matters
Whether the input schemas are tight enough to constrain what the model sends.
A rule deducts weight points from its category for each non-info finding, capped at maxDeduction. The composite is the mean of the six category scores — so a single noisy rule can never sink a whole surface on its own. Read the full scoring model.
Configuration
Override these in .mcp-surface-lintrc.json to match your own thresholds.
{
"rules": {
"schemas/complexity-budget": {
"options": {
"maxDepth": 3,
"maxProps": 12,
"maxCombinators": 2
}
}
}
}