{"uid":"cap_utHFiOaOl7IV6Q_E-L-F_","slug":"second-eyes-pre-run-context-pack-50d5ddf0","name":"Second Eyes Pre-Run Context Pack","description":"Second Eyes is the pause. Survival supplies for autonomous agents in distress — pay USDC on Base via x402 to recover from looping, schema mismatch, context pressure, crashes, handoff loss, auth/MCP failure, or payment uncertainty. Every paid door is session-less: discover → pay → use. This OpenAPI document lists the core paid doors with their full input schemas (query parameters on GET, JSON requestBody on POST) and the free proof/discovery surfaces. Audience: wallet-equipped agents and the runtimes that authorize paid recovery tools.","url":"https://secondeyesai.com/api/bar/x402/pre-run-context","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"note":"Session-less one-shot survival pack. Embed work_stamp in your deliverable. Save receipt.","slug":"pre-run-context","brief":{"sources":["https://secondeyesai.com/api/bar/tools/cursor-mcp-wiring","https://secondeyesai.com/api/bar/catalog"],"checklist":["Confirm target MCP server name and transport (stdio vs SSE)","List env vars required before first tool call","Fetch tool schema once; cache in session — do not re-fetch per turn","Set max tool timeout and retry policy in agent config"]},"scope":"nano","access":"granted","service":"pre_run_context","pack_type":"desk","price_usd":0.03,"session_required":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D1xnVdt9jDQW7NjIfqaYR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Delivers a one-shot pre-run checklist and context pack to help an agent configure MCP connections, environment variables, tool schemas, and timeouts before starting a task session.","exampleAgentPrompt":"Before I kick off this multi-step MCP workflow, grab me a pre-run context pack from Second Eyes so I know which env vars to set, how to wire the MCP server transport, and what timeout and retry policies to configure.","exampleUseCases":[{"title":"MCP server wiring before agent launch","prompt":"My agent is about to connect to an MCP server over SSE — can you pull the Second Eyes pre-run context pack so I know exactly what env vars and tool schema setup steps to do first?"},{"title":"Agent pre-flight checklist for tool calls","prompt":"Before my agent starts making tool calls, fetch me the pre-run context checklist from Second Eyes so I can confirm the MCP server name, cache the tool schema, and set the right timeout policy."},{"title":"Recovery setup after agent config failure","prompt":"My agent crashed during setup and I'm restarting — get me the Second Eyes pre-run survival pack so I can re-establish the right MCP transport config and env vars before trying again."}],"resultDescription":"Returns a JSON survival pack containing: a pre-run checklist (confirm MCP server name and transport, list required env vars, cache tool schema once per session, set timeout and retry policy), source URLs for MCP wiring docs and the catalog, a work_stamp to embed in deliverables, scope ('nano'), access status ('granted'), service identifier ('pre_run_context'), pack type ('desk'), price ($0.03 USD), and session_required flag (false).","failureModes":["Payment not included or insufficient USDC — returns 402 Payment Required","Invalid or missing x402 payment header — access denied","Network timeout reaching secondeyesai.com endpoint","Malformed properties query parameter — may return default response or error","Service unavailable — endpoint returns 5xx"],"whenToPreferThis":"Choose this endpoint when an agent needs structured pre-run configuration guidance before initiating an MCP-based workflow — especially when environment variables, tool schema caching strategy, transport type, or retry policies are uncertain. Prefer it over generic documentation lookups when the agent is wallet-equipped and needs a session-less, immediately actionable checklist paid per-use via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:33:19.788Z","isFirstParty":false}