add_service_record
Add a completed service record to a worker's profile to build their reputation score. Client verification is simulated for demo.
Instructions
Add a completed service record to a worker's profile. Western parallel: Uber trip completion, Angie's List job review, Upwork completed contract. Each record builds the reputation score. DEMO — client verification is simulated.
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": {
"profile_id": "<profile_id>",
"client_name": "<client_name>",
"client_phone": "<client_phone>",
"service_type": "<service_type>",
"duration_days": "<duration_days>",
"payment_kes": "<payment_kes>",
"client_rating": "<client_rating>"
},
"name": "add_service_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_id | Yes | Worker profile ID (SFA-XXXXXXXXXXXX format) | |
| client_name | Yes | Client name (or business name) | |
| client_phone | Yes | Client M-PESA number (for verification anchor) | |
| service_type | Yes | Type of service performed | |
| duration_days | Yes | Duration of the job in days | |
| payment_kes | Yes | Amount paid in KES (0 if unpaid/pro bono) | |
| client_rating | Yes | Client rating 1-5 stars | |
| notes | No | Brief description of work done |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||