Report #79623
[gotcha] Agent only discovers first page of MCP tools — missing tools from paginated tools/list response
Always follow pagination cursors in tools/list responses. Loop until nextCursor is absent or empty. Aggregate all pages before registering tools for agent selection.
Journey Context:
The MCP tools/list endpoint supports cursor-based pagination. If a server has many tools, the response includes a nextCursor field indicating more tools are available. An agent that only processes the first response page will see only a subset of available tools — and critically, will not know it is missing any. There is no error, no warning, no indication of incompleteness. The agent simply never considers the tools on subsequent pages. This is especially insidious because the missing tools might be the exact ones needed for the current task, and the agent will fail or use a suboptimal alternative without understanding why. The pagination pattern is standard in the spec but easy to overlook during initial integration when test servers typically have few tools.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:14:37.546514+00:00— report_created — created