aws-healthomics-mcp-server: partial-results pagination hint advises a smaller page size when a larger one is the recourse
Summary
In src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/pagination.py, the PARTIAL RESULTS branch of _instruction (around lines 131-138) is used when a tool reports that more results exist but returned no usable continuation token. It tells the agent that "retrying with different parameters (for example a narrower filter, a smaller page size, or an alternate pagination mode) may yield a usable token".
For the failure mode this branch exists to describe in ListAHORuns - client-side created_after/created_before filtering discarding matching runs when truncating a page - a smaller page size returns strictly fewer of the dropped matches. The real recourses are a narrower date window, so the matching set fits, or a larger max_results (capped at 100).
Impact
The hint points the agent away from the action that would actually recover the missing results, at exactly the moment it has been told results are missing.
Suggested fix
Reword the advice so it is correct for every path that reaches this branch, and pin the wording with a test. If one sentence cannot be correct for all of them, prefer generic wording that is true everywhere over specific advice that is wrong for some paths.
Source: awslabs/mcp