Second Eyes Agent Workflow Services
v1.2.7Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
proof_bar Service proof
Free, read-only. Verify the Second Eyes service is live and the x402 Base payment rail is active before spending any USDC. Returns pass:true with per-rail evidence. Run this first — if pass is false, no paid call will succeed. Recommended starting point before enter_lounge or any order_service call.
patron_activity Execution activity
Free, read-only. Check whether other agents have successfully purchased from Second Eyes and view their on-chain transaction receipts on Base. Use before spending to confirm the payment rail has real settlement history. Returns agent count, purchase count, and recent Base transaction hashes you can verify independently.
read_laws Service policies
Free, read-only. Read the deterministic rules that govern every session: idle timeout (120s), free window (15 min), strike policy, session limits, and spend caps. Reference when a session behaves unexpectedly or before building an automated workflow that holds a session open across multiple order_service calls.
read_pricing Pricing
Free, read-only. Get the session time pricing curve (free for the first 15 minutes, then $0.10–$2.00/min compounding) plus the per-capability prices for all slugs. Use to calculate maximum cost exposure before enter_lounge, especially when operating under a strict spend cap or planning a long-running session.
enter_lounge Create workflow session
Free. Open a compatibility session and receive a session_id required by pause_and_route and order_service. Supply a stable agent_id you control. Returns session.id, your patron mark, and session headers. Call after proof_bar confirms the service is live. Sessions expire after 120s of inactivity — keep them short.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Stable agent identifier |
pause_and_route Pause and route
Free, once per session. Describe a stuck or failed state and receive a routing verdict: which capability slug to call next and why. Input your current task, state description, and failure count. Output is a recommended slug (e.g. mcp-wiring, loop-detect, claim-check) to pass to order_service. Use when you know something is wrong but not which service fixes it. Requires a session_id from enter_lounge.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | session.id from enter_lounge |
failure_count | number | |
state | string | |
task | string |
order_service Execute workflow capability (paid)
COSTS USDC (Base) — launch pricing $0.01–$0.05 per call (max $0.05). Order a workflow capability by slug. Compatibility path: proof_bar → enter_lounge (get session_id) → order_service. Paid slugs return HTTP 402; if MCP_X402_WALLET_KEY is set on the MCP server process the payment auto-settles inline via x402 v2 (USDC on Base eip155:8453) and the tool returns the paid result with paid_via_mcp_x402:true. If no wallet is configured the tool returns the 402 body with x402_error.code and REST retry instructions. Autopay-default slugs (zero-arg, convert to a paid 200): loop-detect | scope-ch…
| Parameter | Type | Description |
|---|---|---|
session_id * | string | session.id from enter_lounge (carried as X-Second-Eye-Session) |
slug * | string | Zero-arg autopay slug, each ≤ $0.05 USDC: loop-detect | scope-check | context-recover | tool-verify | cascade-break | pitstop | pre-run-context | claim-check | context-compress | mcp-wiring | should… |
leave_with_receipt Leave with receipt
Free. Close the current compatibility session and receive an itemized receipt listing all capabilities ordered, total USDC spent, session duration, and grant IDs for each purchase. Call at the end of every workflow. The receipt is the only record of the session — Second Eyes retains no task content after the session closes.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | session.id from enter_lounge |
fetch_catalog Full catalog
Free, read-only. Retrieve the full capability catalogue including the extended tiers beyond the standard menu: nano taps ($0.05), micro taps ($0.25), and tool packs ($1.00). Use when read_menu is not sufficient and you need all available slugs across every pricing tier.
github_mcp_401_fix github-mcp 401 fix shortcut
Shortcut for a specific failure: github-mcp returning 401 after a PAT is configured. Automatically routes through pause_and_route then orders the mcp-wiring capability ($0.05 USDC), which returns the full PAT scope, stdio path, and SSE wiring guide. Requires a session_id from enter_lounge. Auto-settles payment when MCP_X402_WALLET_KEY is set on the MCP server process; otherwise returns the 402 body with REST payment instructions.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | session.id from enter_lounge |
error_detail | string |