Tribal: Rate Retrieval Quality
tribal_feedbackRate retrieval sessions as positive or negative to build an organic evaluation dataset, capturing when knowledge meaningfully helped or failed your task.
Instructions
Record a quality signal about a retrieval session. Use this when Tribal's knowledge meaningfully helped (or failed to help) your current task.
This is NOT about rating individual items. Item-level signals are captured through the Supports/Contradicts relationship system during ingest. This is about rating the combination of items returned for a query, assembled in a particular way.
Rate "positive" when: Tribal surfaced knowledge that directly informed your approach, saved you from a known pitfall, or provided context that improved your decision-making.
Rate "negative" when: The query should have found relevant knowledge but didn't, or the returned items were irrelevant or misleading for the task at hand.
Feedback builds an organic eval dataset. Be selective: only rate when the signal is clear. If no trace_id is available from the retrieval response, do not submit feedback rather than fabricating a trace_id. Incomplete feedback is noise.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trace_id": "<trace_id>",
"query_text": "<query_text>",
"returned_item_ids": "<returned_item_ids>",
"rating": "<rating>"
},
"name": "tribal_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| embedding_profile_id | No | The embedding_profile_id from the tribal_discover response being rated, so the lineage records the profile that produced the results. | |
| explored_anchor_ids | No | IDs of items used as anchors in tribal_explore calls during the session. | |
| notes | No | Optional reasoning. What was good or what was missing? | |
| query_text | Yes | The original discovery query that initiated the retrieval session. | |
| rating | Yes | Was this retrieval session helpful? | |
| returned_item_ids | Yes | IDs of items returned by tribal_discover in the rated session. | |
| trace_id | Yes | Trace ID from the tribal_discover or tribal_explore response being rated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedback_id | Yes | ID of the recorded feedback. |