Tool calls that leave the assistant stuck: four fixes from the 8-15 Nov review
A review of one week of tool calls on Cloud (8-15 Nov 2026: 803,677 calls, 2,090 workspaces, 1.1 % errors) showed that most errors are followed by a working call within minutes. Four patterns are not, or cost the user extra turns. Each gets its own PR.
1. An empty Telegram read explains nothing
telegram_bot_get_updates answered an empty list to 421 of the 640 workspaces that called it; 79 never saw a message. People ask the assistant to read their Telegram messages, but a bot only receives what is written to the bot. The empty answer says none of that.
Fix: add guidance for the assistant to the empty answer (what a bot can see, what the user has to do).
2. Odoo field names that do not exist
A third of all failed Odoo calls (1,047 calls, 152 workspaces) name a field the model does not have, usually one renamed between Odoo versions (tax_id, product_uom, groups_id). The hint tells the assistant to list the model's fields first, which costs another call.
Fix: when Odoo answers "Invalid field", read the model's field list once and name the existing fields that are close.
3. Refused API keys and tokens go unnoticed
A connector with a stored key is marked only after five refused read calls in a row, counted in memory (lost at each restart), only for HTTP 401 on some authentication types, and nobody is emailed. About 100 connectors had refused credentials that week (Odoo, Telegram, Shopify and others) and none was marked. Connectors that sign in with OAuth already get a status and one email.
Fix: count refusals in a way that survives restarts, cover connectors whose key is not in an auth header (Telegram token in the URL, Odoo JSON-RPC), email the workspace owner once when a connector that used to work stops, and make the fix easy to find on the connector page.
4. Parameter patterns are documented but not checked
Catalog tools declare pattern on 1,027 parameters, but a value that does not match still reaches the vendor (Etsy refused includes values in 15 workspaces that week).
Fix: check pattern for catalog tools before the call, with a guard against slow expressions. Checked against a week of real calls first: 8 of 7,112 successful calls would have been refused, all from two patterns that are stricter than the vendor (fixed in the same PR).
Cloud and self-hosted behave the same for all four.
All four points are merged and live on Cloud (main fd56c30, 15 Nov 2026 16:32 UTC):
- Points 1 and 2: #1701. Checked in production: an empty
telegram_bot_get_updatesread withoutoffsetnow answers about 1,020 bytes (the 32-byte API answer plus the guidance); polling reads withoffsetstay at 32 bytes. - Point 3: #1704. Checked in production: refused calls are counted in Redis with a 14-day expiry. No connector had reached three refusals in a row in the first hour, so the first mark and the first owner email are still to be observed.
- Point 4: #1702. The catalog sync of that boot is moving installed Etsy and Binance tools to the relaxed patterns; a tool is checked once it carries the catalog's pattern.
To look at again in a few days: the share of Odoo "Invalid field" errors followed by a working call on the next try, the connectors marked credential_refused and how many owners updated their credentials after the email, and the calls refused by a pattern (which tools, and whether any pattern turns out stricter than its vendor).