flow
Customer Account Join — tool-call lifecycle
list_customer_accounts / find_customer_account end to end: the three-system account join (CRM + accounting + inventory) with presence and linkage flags.
Flow
Overview
The account-join primitive both tools share. While a source is down the join folds the reachable systems and marks unavailableSources — presentIn/linked are never misread as “absent from that system.”
The flow
How it works
- Max (agent) on claude.ai → MCP tool call / MCP tool call
- List Customer Accounts → direct request/response — no events
- Find Customer Account → direct request/response — no events
- CustomerAccountService → ClaritySoft accounts / QBO customers / Fishbowl customers
- CRM Read → vendor API
- Accounting Read → vendor API
- Inventory Read → vendor API
- ClaritySoft CRM → results fold in
- QuickBooks Online → results fold in
- Fishbowl Inventory → absent → join degrades: folds reachable systems, marked unavailable
- CustomerAccount join assembled → per-system slices + presentIn/linked flags returned in the tool result