explain_context
Understand why each fragment was included or excluded in context optimization with per-fragment scoring breakdowns, including recency, frequency, semantic, entropy, and context sufficiency.
Instructions
Explain why each fragment was included or excluded in the last optimization.
Shows per-fragment scoring breakdowns with all dimensions visible: recency, frequency, semantic, entropy, feedback multiplier, dependency boost, criticality, and composite score.
Also shows context sufficiency (what % of referenced symbols have definitions included) and any exploration swaps.
Call this after optimize_context to understand selection decisions.
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": "explain_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |