Spatial queryPro tier

bbox_of

Geographic bounding box of any qualified table's geometry column. Quick way to scope downstream queries — pass the result to density_grid or use it to confirm a layer covers the area you care about.

Use cases

  • Confirm that a dataset actually covers your area of interest before querying.
  • Auto-scope a density_grid call to the natural extent of a layer.
  • Build a UI that shows each layer's coverage on a map.

Arguments

NameTypeRequiredDescription
qualified_table string required Schema-qualified table name.
geom_column string optional Geometry column.
Default geometry.

Example request

curl
bash
curl -X POST https://mcp.qubitdata.it/mcp \
  -H "Authorization: Bearer $QUBITDATA_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "bbox_of",
      "arguments": {
            "qualified_table": "risk.ingv_iside_terremoti"
      }
    }
  }'

Example response

JSON-RPC 2.0 result
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\n  \"min_lat\": 36.65, \"min_lon\": 6.62,\n  \"max_lat\": 47.09, \"max_lon\": 18.52\n}"
      }
    ]
  }
}

Prompts to try

Drop these into Claude Desktop, Cursor, or any MCP-aware client wired to https://mcp.qubitdata.it/mcp.

  • Claude Desktop
    What's the bbox of risk.ingv_iside_terremoti?
  • Cursor
    Get the bbox of commerce.overture_places_italy and feed it to density_grid resolution 7.
  • Custom MCP client
    Verify that culture.mibact_luoghi covers the whole Italian peninsula.

Related tools

density_grid · list_sources · describe_table

Get started

Sign up for a free key to call this tool from your agent. Need a wider geo cap or higher quota? See pricing.

Last updated: