Server-side tools are the middle case: simpler than standing up an MCP server,
and unlike WebMCP they work when the merchant is not looking at your app.
Register your tools
Up to 32 tools per installation. An unknown field, a bad shape, or a URL that
fails the guard rejects the whole request (
invalid_tool, invalid_tools,
too_many_tools, unsafe_url), so a typo cannot silently register a partial
set.
No OAuth scope is required. Registering a tool is not a write to store data: the
row is bound to your installation, and the merchant decides whether each
tool is switched on, from the merchant side of your app’s settings.
What Salesive sends you
When Ola calls one of your tools, SalesivePOSTs to that tool’s toolUrl:
id and sentAt carry the same replay defences as
every other platform call: reject a repeated id, and reject a sentAt that is
too old.
Answer with JSON. That value is what the model sees.
Limits
A timeout or an unreachable host is recorded as a failed call rather than
retried indefinitely. Keep a tool fast and answer with the smallest useful value.
What the shopper sees
A server-side tool has no approval card, because there is no iframe and no merchant in front of it. The merchant’s protection is the switch: they choose which of your registered tools their Ola may use. A tool they have not switched on is not offered to the model.Managing tools
enabled reflecting the
merchant’s switch. A tool the merchant has turned off stays in the list and is
simply not offered.
Tools are also what
subagents can be scoped to: a subagent may list up to 16 tool
names, and every name must already be registered here or the request is refused.
