Predict Age Country
predict_age_countryEstimate someone's age from their first name within a specific country (e.g., 'US', 'FR', 'JP'). Returns predicted age and regional confidence count.
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": "John",
"country_code": "US"
},
"name": "predict_age_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | First name to predict age 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 | |
| country | Yes | ISO country code for the region used in prediction | |
| sample_size | Yes | Number of data points used for regional prediction (confidence measure) | |
| predicted_age | Yes | Predicted age based on country-specific statistics, or null if unavailable |