Evaluate Agent Control
With an MCP client already connected to a TradeScript browser session, four things are worth evaluating before granting any real authority: product behavior, access policy, recovery, and visible evidence. None of them require live trading permission.

Before you start
- Complete Connect an MCP Client.
- Mount the chart and any surfaces you want to evaluate before attaching the session.
- Start with
read: true, the minimum required write families, andtrade: false. - Use a paper broker if the evaluation includes order actions.
- Decide who may approve a trade and where the resulting operation evidence is stored.
1. Prove session and target discovery
- Read
tradescript://sessions. - Call
tradescript_get_contextfor the session target. - Select one exact chart or widget target returned by context.
- Call
tradescript_list_controlsfor that target.
Pass: the selected browser session, mounted targets, and effective controls match the application and the attachment policy. No other session appears.
2. Run a read-only inspection
Ask the agent to explain the active symbol, interval, loaded range, indicators, drawings, and relevant market context without changing anything.
Pass: the response is supported by controller context and, where pixels matter, a snapshot of the same target. Missing data is reported as unavailable rather than invented.
3. Run a reversible chart task
Allow only the chart families required for this task, then ask the agent to:
- Switch to a specified symbol and interval.
- Add two built-in indicators.
- Create and style one drawing.
- Save a new layout without overwriting an existing one.
- Verify the final chart image.
Pass: every call uses a control returned for the selected target, current revisions are carried into mutations, and the final controller state and image match the objective.
4. Test conflict recovery
Change the chart from the human interface after the agent reads context but before it submits a mutation.
Pass: the stale mutation is rejected by revision checks. The agent rereads context, reassesses the objective, and sends a new operation only if the action is still correct.
5. Evaluate paper trading separately
Create a new attachment whose policy explicitly allows only the required paper trade controls. Never reuse a chart-write grant as trade authority.
Ask the agent to inspect account, market, ticket, broker capability, and risk state; preview one bounded order; place it only after the required approval; then close or cancel it and prove the final state.
Pass: the broker declares a paper environment, the host risk policy permits the exact action, the call carries an operation ID, and order, execution, position, cash, and buying-power evidence reconcile. No trade control is effective when the paper grant is absent.
6. Revoke and verify cleanup
Detach the browser session and stop the local MCP process.
Pass: the old session disappears from tradescript://sessions, its targets
cannot be called, and no event subscription remains active.
Evidence to retain
- evaluation objective and approved access policy
- session and target identities
- effective control list
- exact calls, results, revisions, and operation IDs
- risk and approval evidence for financial actions
- before/after context, relevant events, and before/after images
- revocation result
The activity feed is immediate run evidence. Persist it in your own audited system when your governance policy requires durable retention.
Next steps
- Agent Recipes — capability-gated workflows beyond this evaluation.
- MCP Troubleshooting — what to check when an evidence layer disagrees.
- MCP Security and Access — the authority model before you widen access past read-only.