MCP: run a whole task in one call (batch steps, compact JSON result)
The problem
Right now every single action is one MCP round trip, and each round trip comes back with page detail the agent did not ask for. A 5-step task costs 8-9 calls and tens of thousands of characters of response. A scripted driver does the same task in one round trip with a few hundred characters of output.
Measured on a live 5-task suite (search, sort, form input, pagination, travel search): Stoic 50s and about 53,000 response characters; another driver 48s and about 2,200 characters for the same answers. Same sites, same tasks. The gap is round trips and payload, not capability.
You already have automation_save / automation_run. Please let an agent send a step list and get one compact result back:
browser_run_steps
steps: [ {goto:{url}}, {type:{selector, text}}, {press:{key}}, {click:{selector}}, {expect:{urlContains|textIncludes|selectorVisible, timeoutMs}}, {extract:{selector, all}} ]
return: {format:"json", maxChars:2000}
Response: {ok, steps:[{i, ok, ms}], data:{...}, url} — no snapshot unless asked. If a step fails, return the failing index, the reason, and the observed url, not the accessibility tree.
This is the single change that would make Stoic competitive with script-driven browsers for batch work, and it keeps the human-visible guardrails you already have.
Roadmap progress
SHIPPED · 1.10.0PENDING
REVIEWING
—
PLANNED
—
IN PROGRESS
COMPLETED
- — Khang Nguyen submitted this request
- — Khoa - StoicSoft Team moved it to In progress
- — Khoa - StoicSoft Team moved it to Completed
Discussion0
Newest first- No comments yet. Add context or ask a question below.
Sign in to comment, vote and follow this request.
Sign in to reply