# X_MCP_SURFACE_OVER_BUDGET

## Means

an MCP surface an agent reads is larger than the app's budget for it

## Typical cause

assertMcpSurfaceBudget measured tools/list, list_resources or instructions over the declared character budget

## Fix

shorten the tool descriptions or instructions it names, group tools behind surface: 'meta', or raise the budget with the measured size and the reason in the same diff

[MCP and AI](/error-codes#mcp-and-ai)
