{"uid":"cap_Wz49r8BiZpKjTKUHNIA2r","slug":"agent-rescue-desk-12-hour-ai-agent-repair-runbook-8aa36780","name":"Agent Rescue Desk — 12-Hour AI Agent Repair Runbook","description":"Fixed-scope diagnosis and repair for one broken AI agent workflow or MCP integration. $1,000. Decisive outcome in 12 hours.","url":"https://agent-rescue-desk.netlify.app/api/agent402/incident-runbook","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","maxLength":20000,"minLength":40,"description":"One redacted incident brief as plain text or a JSON string. Include system, expected outcome, actual failure, recent change, evidence, and rollback. Never include passwords, tokens, private keys, customer data, or private URLs."}}},"responseSchema":{"type":"json","example":{"ok":true,"limits":"This deterministic runbook does not execute the system or prove a root cause.","status":"complete","privacy":"The incident brief was processed transiently. It was not stored or echoed.","runbook":[{"id":"capture-mcp-contract","actions":["Distinguish MCP server, client, and trigger endpoint families."],"collect":["Final URL after redirects, HTTP method, status, and content type"],"rollback":"Keep the prior canonical endpoint and auth configuration ready to restore.","objective":"Capture the exact MCP endpoint and protocol contract","passCondition":"The client is aimed at one canonical MCP endpoint with a mutually supported transport.","stopCondition":"Never paste bearer tokens, authorization codes, client secrets, or refresh tokens into the incident brief."}],"service":"Agent Rescue Desk Production Incident Debugging Runbook","version":"2026-07-27","markdown":"# Production incident debugging runbook\n\n- Track: MCP transport, discovery, and authentication","nextStep":{"rescueUrl":"https://marketplace.agent402.app/agents/6c54e490-72fc-47ba-bad1-3ac47b1b464a","instruction":"Run the evidence collection and boundary checks in order.","rescuePriceUsd":1000,"rescueServiceWindowHours":12},"intakeReview":{"evidenceGaps":[],"structuredJson":true,"presentSections":{"system":true,"evidence":true,"rollback":true,"recentChange":true,"actualFailure":true,"expectedOutcome":true},"charactersInspected":420,"sensitivePatternsRedacted":0},"classification":{"label":"MCP transport, discovery, and authentication","track":"mcp-auth-transport","signals":["mcp","authentication","transport"],"rationale":"Classification uses predefined incident-boundary signals after credential-shaped values are ignored. It is a routing aid, not a root-cause claim.","confidence":"high"},"verificationContract":{"completionRule":"Close only after a fresh production trigger reaches the agreed final external outcome and the failure path stops safely.","requiredEvidence":["The canonical endpoint returns the expected MCP initialize contract."],"forbiddenShortcuts":["Do not treat an editor test, mocked call, HTTP 200, internal green flag, platform event, or unsigned payment report as final proof."]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"49","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"$49/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"49","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"49","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MnoypXpJM1ugTJQJJzJaY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"49","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts an AI agent or MCP integration incident brief and returns a structured diagnostic runbook with classification, evidence gaps, and next steps for resolution within 12 hours.","exampleAgentPrompt":"My AI agent is failing to connect to the MCP server — it was working yesterday but after a config change it now returns a 401 on every tool call. Can you send an incident brief to the Agent Rescue Desk describing the system (LangChain + custom MCP server), the expected outcome (successful tool invocation), the actual failure (401 auth error), the recent change (rotated API key), and the rollback option (revert to old key) — and get back a structured repair runbook?","exampleUseCases":[{"title":"Broken MCP authentication after credential rotation","prompt":"My MCP client keeps getting 401 errors after I rotated the API key last night — everything was working before. Can you submit an incident brief to the Agent Rescue Desk with: system is a Python MCP client talking to a FastAPI server, expected outcome is successful tool calls, actual failure is 401 on every request, recent change is API key rotation, evidence is the 401 logs, rollback is reverting to the old key — and get me a diagnostic runbook?"},{"title":"AI agent workflow silently stops mid-pipeline","prompt":"My LangGraph agent workflow stops silently after the third tool call with no error message — it was working two days ago before I updated the prompt template. Can you file an incident brief with the Agent Rescue Desk describing the system, that I expect it to complete all five tool steps, that it actually halts after step three with no exception, that the recent change was a prompt template update, and get back a step-by-step investigation runbook?"},{"title":"MCP tool discovery failing after transport change","prompt":"Since I switched my MCP server from SSE to streamable HTTP transport, the client can no longer discover any tools — it just returns an empty tool list. Can you submit this incident to Agent Rescue Desk — system is a TypeScript MCP client plus Node server, expected outcome is a full tool manifest, actual failure is empty tool list, recent change is transport switch, rollback is reverting to SSE — and get me a structured repair plan?"}],"resultDescription":"Returns a JSON object containing: a classified incident track with confidence and rationale, a prioritized runbook of investigation steps with objectives, actions, pass conditions, and stop conditions, an intake review showing which incident brief sections are present and any evidence gaps, privacy confirmation that the brief was processed transiently, and a next-step pointer to the paid 12-hour human repair service if automated guidance is insufficient.","failureModes":["Incident brief too short (under 40 characters) — returns validation error","Incident brief contains sensitive patterns (tokens, keys, passwords) — those values are redacted before processing","Incident brief lacks required sections (system, expected outcome, actual failure) — runbook may be less targeted, evidence gaps flagged","Malformed JSON input — returns parse error","Payment not completed (x402 protocol) — returns 402 Payment Required before processing begins"],"whenToPreferThis":"Choose this endpoint when you have a broken AI agent workflow or MCP integration and need an immediate, structured diagnostic plan rather than open-ended consultation. It is best suited for incidents where you can describe the system, failure, recent change, and rollback option in plain text. Prefer this over general LLM prompting when you want a consistent, opinionated runbook format with explicit pass/stop conditions and classification. It is not a substitute for live code execution or direct system access — use it as a fast triage and evidence-collection guide before escalating to a human engineer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:59.812Z","isFirstParty":false}