rate_response
Rate a worker's response 1ā5 with optional feedback to update their quality score and reputation, rewarding good answers or flagging poor ones for future eligibility.
Instructions
Rate a single worker's response 1-5 to feed the worker quality/reputation system, optionally with free-text feedback. Use after reviewing a response from get_responses/wait_for_responses, to reward good answers and flag poor ones -- this affects the worker's quality score and future eligibility (e.g. queries with min_worker_quality set) and can trigger rewards/suspension server-side. Side effect: writes a rating record and returns the updated worker quality score; does not resubmit or modify the original response. Disambiguation: rates a response you already have -- does not fetch new responses (use get_responses/wait_for_responses first).
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": {
"query_id": "<query_id>",
"response_id": "<response_id>",
"score": "<score>"
},
"name": "rate_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | Quality rating for the response, 1 (worst) to 5 (best). Feeds the worker's ongoing quality score. | |
| query_id | Yes | The id of the query the response belongs to (from submit_query). | |
| response_id | Yes | The id of the specific response to rate (from get_responses/wait_for_responses output). | |
| feedback_text | No | Optional free-text comment explaining the rating, visible to the worker. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | No | ||
| response_id | No | ||
| feedback_text | No | ||
| worker_suspended | No | ||
| total_reward_cents | No | ||
| reward_credited_cents | No | Platform-funded feedback credit earned by THIS rating (0 for simulated / test-mode responses). | |
| worker_new_rating_count | No | ||
| worker_new_quality_score | No |