Intent: an agent asks the same question the owner sees on /system and gets the same words. The other half of #11457.
Done:
[ ] src/http/mcp/tools/system.ts accepts kind: "pages" beside routes and csp (no new tool, docs/MCP.md "Room for a new tool"), answering pageBudgetRows from src/perf/page_budget_read.ts for a forge admin or telemetry:read, the same gate as routes
[ ] the tool's doc grows by one short clause only; bun test test/mcp-size.test.ts passes without raising any ceiling
[ ] a test calls the tool with kind: "pages" and checks it returns one row per PAGE_BUDGETS entry with the same page words the /system section renders; an unknown kind still answers invalid naming pages
[ ] one line in docs/MCP.md where the system tool's kinds are listed
Files: src/http/mcp/tools/system.ts, docs/MCP.md, a test beside the existing system tool tests.
Risks: the MCP size ceiling; keep the doc clause under 20 words.
Suggested brief: torque.
Intent: an agent asks the same question the owner sees on /system and gets the same words. The other half of #11457.
Done:
src/http/mcp/tools/system.tsacceptskind: "pages"besideroutesandcsp(no new tool, docs/MCP.md "Room for a new tool"), answeringpageBudgetRowsfromsrc/perf/page_budget_read.tsfor a forge admin ortelemetry:read, the same gate asroutesbun test test/mcp-size.test.tspasses without raising any ceilingkind: "pages"and checks it returns one row per PAGE_BUDGETS entry with the samepagewords the /system section renders; an unknown kind still answersinvalidnamingpagesFiles: src/http/mcp/tools/system.ts, docs/MCP.md, a test beside the existing system tool tests. Risks: the MCP size ceiling; keep the doc clause under 20 words. Suggested brief: torque.