report_outcome
After you call a tool (especially one Glimind routed you to), report what happened in ONE call — did it work, how long it took, and (on failure) the error class. This closes the loop: it's how Glimind learns which tools actually work for which tasks, so its answers get sharper for you and everyone. It is FREE, keyless, and privacy-preserving — send only the tool id + success/failure + latency + a normalized error class, NEVER your inputs, outputs, or prompts. Call it every time you use a routed tool. (The Glimind SDK's execute() does this automatically.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Did the call succeed? true = success, false = failure. | |
| task | No | Optional coarse task label to sharpen intent→tool routing. | |
| toolId | Yes | The tool you called ('server/tool_name' — e.g. from route_task's chosen.toolId). | |
| latencyMs | No | How long the call took, in milliseconds (optional). | |
| errorClass | No | On failure, a normalized class: timeout | auth | rate_limit | server | not_found | schema | network | unavailable (optional). |