logic2-MCP: wait_capture() with timeout

This is more like a feature request. Not sure if this is the right place, but…

When using logic2-mcp, the agent can set a trigger and start a capture. In order to wait for the capture, the agent calls wait_capture(). When the capture is not triggered by the configured trigger event, the call to wait_capture() never returns and the agent is blocked forever.

My request it to add a timeout parameter, so that the agent can set the maximum time to wait. If after that time the trigger event does not happen, then wait_capture() stops the capture and returns with an error (‘timeout’ in this case).

If you don’t want to risk breaking others workflow, this parameter could be optional: when not given (or 0), wait_capture() tool would behave as before (waiting forever). Or you could introduce another tool function: wait_capture_ex(), for example.

It is frustrating to let the agent executing 100’s tests that take hours and when you are back to check the result, the agent is stuck in the second test (because the SUT failed and did not trigger the analyzer).

1 Like

@rhobison Sorry for the trouble with that, and thanks for sending in your feedback! We’ve been internally logging feedback around our new MCP feature.

A lot of the feedback seems to come from the fact that the agent may not be performing a sequence of tasks as efficiently as possible (i.e. things getting stuck, and/or actions being performed in a certain order that causes the result to end up taking longer than needed).

We haven’t had a chance to focus on work around improving MCP, but I’ll get your feedback logged for now. I’ll likely compile a list of MCP improvement ideas and will log it on our ideas site below as well.

1 Like