Read Census first-name statistics
ibge_get_name_frequencyReads the 2010 Census first-name statistics. With names it returns how many people with each name were born per decade, from before 1930 to the 2000s; without it, the ranking of the most common names, optionally for one decade. sex and locality (state or municipality code) narrow both. Counts refer to people alive at the 2010 Census, not to all births. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ibge_get_name_frequency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | No | F or M. Omitted: both. | |
| names | No | First names to look up (e.g. ['Maria','João']). Returns births per decade. Omitted: the ranking instead. | |
| decade | No | Ranking only: decade of birth (1930–2010). Omitted: all decades together. | |
| locality | No | State (2 digits) or municipality (7 digits) code. Omitted: Brazil. | |
| response_format | No | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Raw numbers behind the text. | |
| memo | Yes | true = identical call in the last 10 min, served again: 0 credits. | |
| rows | No | Table rows; detailed only, capped per tool. | |
| error | No | Failure message when status = error. | |
| links | Yes | screen = product page with these numbers. | |
| denied | No | When status = denied: reason, feature, upgradeUrl. | |
| status | Yes | ok = data; denied = plan; error = failure or timeout. | |
| window | No | Like-for-like window: from, to (YYYY-MM), label, months, crossesSeason. | |
| caveats | Yes | Reading caveats. | |
| credits | Yes | charged, balance (null = unlimited), resetAt, session {charged, endsAt} of the 60-s billing session. | |
| sources | Yes | Per source: label, nameable, asOf. | |
| dataVersion | Yes | Identity of the data that answered. |