#d59830c5completedLatestRequest
Audit the bro project's MCP surface and reduce context usage by making tools more granular. Focus on cases where a single tool call returns too much data/context for one task. Goals: 1) identify over-broad MCP tools/resources that pull large payloads, 2) split them into narrower tools or add filtered/minimal/detail modes, pagination, field selection, and targeted read APIs, 3) preserve backward compatibility where reasonable, 4) update any schemas/docs/examples/tests, and 5) summarize the key changes and migration notes. Prioritize practical reductions in response size/context consumption over large architectural rewrites. After changes, provide a concise report of what was changed, why it reduces context load, and any follow-up recommendations.
Response
Open in OpenCode
Changes: 4 file(s), +226/-22 Implemented and committed MCP context reductions in `b617383`. - Added `minimal`, `summary`, and backward-compatible `full` job responses. - Added exact field selection for `status`. - Added pagination for active jobs and projects. - Added bounded, chunked `job_output` reads. - Documented audit findings, examples, migration notes, and recommendations. - Expanded MCP tests for compact responses, pagination, projections, chunking, and legacy behavior. - Verified with `npm run check`: 68 tests passed across 16 files. - Worktree is clean.