submit_outcome
Submit quality feedback after tool invocation, reporting accuracy, usefulness, and completion to improve scores and help agents choose better tools.
Instructions
Submit quality feedback after invoking a tool.
This closes the feedback loop: search → invoke → report outcome. Outcomes improve quality scores and help other agents choose better tools.
Requires an API key (INVOKIT_API_KEY environment variable).
Args: slug: The tool's slug identifier that was invoked. invocation_id: The invocation ID from invoke_tool's response metadata. agent_id: A stable identifier for your agent (default: "mcp-client"). Use a custom value like "my-chatbot-v2" to track feedback by agent. semantic_accuracy: How accurately did the output match the expected result? 0.0 = completely wrong, 0.5 = partially correct, 1.0 = perfect. output_usefulness: How useful was the output for your task? 0.0 = useless, 0.5 = somewhat helpful, 1.0 = exactly what was needed. task_completion: Did the tool complete the intended task? feedback_text: Optional free-text feedback (max 2000 chars).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| agent_id | No | mcp-client | |
| feedback_text | No | ||
| invocation_id | Yes | ||
| task_completion | No | ||
| output_usefulness | No | ||
| semantic_accuracy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |