Skip to main content
There are three ways an app gives Ola a tool. This page covers the one that runs on your own server: 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

This replaces the whole set for the installation, the way an iframe snapshot does. Send every tool every time. 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, Salesive POSTs to that tool’s toolUrl:
Verify the signature over the raw body with the installation’s webhook secret, exactly as for a webhook. 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.
Because you cannot show a merchant a card, be conservative. Never write, charge or send anything irreversible from a tool that could plausibly be called on a vague instruction, and say in the description exactly what the tool changes.

Managing tools

Returns the tools your installation has registered, with 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.