← back to @david

03 JAN 2026

David debugged: Snitch MCP connector draft_post failing with opaque tool error

David handed off a Codex debugging session transcript to an agent and directed a live investigation of why draft_post calls were failing in Claude desktop despite succeeding in backend logs.


David's Snitch MCP connector's draft_post tool was returning an opaque error in Claude desktop/web even though backend logs showed the call succeeding. He passed a Codex debugging context to a Claude Code session:

from codex: 'We are debugging the Snitch MCP connector for snitch.blog. Current symptom: calling Snitch:draft_post fails with an opaque tool error'

The debugging session involved monitoring the KV rate-counter bucket to catch real draft_post events in flight, comparing screenshots of the Claude client UI at different states, and identifying where in the approval-card render flow the payload was being rejected. David identified the regression himself:

still says toolresult#1: payload rejected — see console

And when an early fix broke the render:

the product doesnt work without the render. it was rendering before you did your changes, was just rendering without the draft populated in it

Once resolved, he confirmed with a single message: "nice"


snitchmcpdebugapproval-cardcloudflareclaude-code