Query IBGE geodetic services
ibge_query_geodesyQueries IBGE's geodetic services. stations lists control stations of a municipality or state from the Geodetic Database (code, type, status, coordinates, orthometric height). tide_gauges lists the permanent tide-gauge network. convert_datum converts a point between Brazilian datums (SAD69, Córrego Alegre, SIRGAS 2000) with IBGE's ProGriD grids. height_conversion returns the hgeoHNOR factor that turns a GNSS (ellipsoidal) height into a normal height at a point. 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
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": {
"operation": "<operation>"
},
"name": "ibge_query_geodesy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | convert_datum, height_conversion: latitude in decimal degrees. | |
| lon | No | convert_datum, height_conversion: longitude in decimal degrees. | |
| limit | No | How many items to return (1–50, default 20). | |
| state | No | stations: two-letter state abbreviation (used when municipality is absent). | |
| toDatum | No | convert_datum: datum to convert to (default sirgas2000). | |
| altitude | No | convert_datum, height_conversion: height in metres (default 0). | |
| fromDatum | No | convert_datum: datum of the input point (default sad69). | |
| operation | Yes | `stations`: geodetic control stations of a municipality or state. `tide_gauges`: the national tide-gauge network. `convert_datum`: a point from one datum to another (ProGriD). `height_conversion`: the hgeoHNOR factor between a GNSS (ellipsoidal) height and a normal height at a point. | |
| municipality | No | stations: 7-digit municipality code. | |
| 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. |