Predict Gender Country
predict_gender_countryPredict gender from a first name in a specific country (e.g., "US", "FR", "DE"). Returns gender, probability, and regional sample size.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "Alexander",
"country_code": "US"
},
"name": "predict_gender_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | First name to predict gender for. | |
| country_code | Yes | ISO 3166-1 alpha-2 country code (e.g. "US", "GB", "DE") to localize the prediction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name that was analyzed | |
| gender | Yes | Predicted gender (male, female, or null if uncertain) | |
| country | No | ISO country code used for region-specific prediction | |
| probability | Yes | Confidence probability from 0 to 1 | |
| sample_size | Yes | Number of samples used in prediction |