Open Bug 2081631 Opened 1 month ago

[firefox-devtools-mcp] Document the buffer limits of the console, network and downloads tools, and let agents raise them

Categories

(Developer Infrastructure :: Firefox MCP, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

list_console_messages, list_network_requests and list_downloads apply limits that the agent cannot see. The tool descriptions only mention limit (default 50). The other limits are hardcoded constants in src/firefox/events/*:

  • Console: 1000 messages, 5 minute expiration, 2000 characters per message.
  • Network: 1000 requests, 5 minute expiration, 10 MB for collected bodies.
  • Downloads: 500 entries, 30 minute expiration.

These limits are good for saving tokens, but the agent should know that they apply, and be able to ask for higher values when it needs them.

Proposal:

  • State the limits in the tool descriptions.
  • Let the agent raise them, either with tool parameters or with server options.
You need to log in before you can comment on or make changes to this bug.