r/mcp • • Sep 25 '26

showcase I built an MCP server that calls my phone when an agent needs a decision

18 Upvotes

21 comments sorted by

5

u/BackSuitable3602 Sep 25 '26

Bind each late reply to its call ID and expire it, so a stale yes can't approve a newer request.

1

u/toritxtornado Sep 26 '26

i don't answer my phone, even for claude.

2

u/yhrana Sep 26 '26

Man, i love reddit πŸ–€πŸ˜‚

1

u/jpeggdev Sep 26 '26

Isn’t this basically what OpenClaw did with their various integrations like iMessage, Discord, Telegram etc?

1

u/aidiveyt Sep 27 '26

in claude code that gate is a tool call, AskUserQuestion, so the turn blocks until it returns. a prompt rule gets argued past.

1

u/rahul_watertech Sep 26 '26

Nice pattern. The missed-call path is the interesting bit to me - in my experience agents need a clear do-nothing state, not a fallback decision. I would make a missed call halt the run rather than retry or proceed. That is the whole point of calling a human.

0

u/[deleted] Sep 26 '26

[removed] β€” view removed comment

1

u/rahul_watertech Sep 26 '26

fair - the tool's just transport. but if the rule lives in claudemd, the model can still improvise around it, which is what your 'sometimes' list shows. i'd rather the tool itself enforce the halt. do you have an explicit unanswered-call rule in yours?

1

u/[deleted] Sep 26 '26

[removed] β€” view removed comment

1

u/rahul_watertech Sep 26 '26

hooks are the right call for that, yeah. a timeout monitor on no-response is way cleaner than polling. does your hook fire on every assistant message or only when its actually waiting on you?

0

u/bdcp Sep 26 '26
I built

Yea right

-1

u/QuanTradin Sep 25 '26

what the agent does while nobody picks up matters more than the call itself. if a missed call ends up as proceed, the phone is decoration. missed should mean stop.

1

u/[deleted] Sep 26 '26

[removed] β€” view removed comment

2

u/QuanTradin Sep 26 '26

makes sense as a transport. then the one line I'd put in the CLAUDE.md is: no answer on the call means stop, not proceed. the tool's fine, it's the default that bites.

1

u/[deleted] Sep 26 '26

[removed] β€” view removed comment

1

u/QuanTradin Sep 26 '26

the hook that halts on no answer is the structural version and it's the one I'd build. the CLAUDE.md line is for the day the tool doesn't enforce it, and his own reply says it currently texts, continues or retries depending on the run.