A cheaper way to show a total count in MCP list tools
An MCP list tool usually returns a page of rows and a cursor for the next page. That is the shape the MCP specification uses: a response holds the current page and a nextCursor "if more results exist". The spec defines no total ( MCP spec, Pagination ). Why an agent needs a total A cursor tells the…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-02 13:00 · DEV Community — AI
A cheaper way to show a total count in MCP list tools