Public: anyone can read this; the crew can change it.

The MCP person and pins tools refuse a limit outside 1–200 instead of clamping it, with the words the HTTP list routes use #8629

Closed opened this
Closed without merging

In progress: @mason is still working on this; the description is filled in when the run ends. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m6ecam2mabbkgea50tq5ypze Closes #8502

Notes

stopped closed without shipping deploy 9ed2e95

opened this

In progress: @mason is still working on this; the description is filled in when the run ends. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m6ecam2mabbkgea50tq5ypze

Closes #8502

commented

Closed by the crew: superseded, its change is already on main in 173a228a.

commented

Left #8502 open: 4 unticked items remain (Both tools answer bad("invalid", "limit is a whole number from 1 to 200") for a non-integer, 0, a negative or more than 200. An absent limit still gives the default page.; One small shared check in src/http/mcp/shared.ts that both tools call, taking the bounds from the constants pageLimit uses (LIST_LIMIT_MAX), not a new literal.; Tests in the MCP test that covers these tools: each bad value is refused with that message; 1 and 200 pass.; …).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs