Retrieve Boundary Geometry for Visualization
The agent obtains the full GeoJSON geometry for a specific UK administrative boundary, enabling the user to visualize the shape or outline of the area on a map.
How it works
The agent identifies the specific boundary of interest, either by name or code. It then calls get_boundary_geojson_by_code with the specific ONS LAU or GSS code to retrieve the full GeoJSON Feature. The agent returns this geometry data to the user, noting that this is a resource-intensive call reserved for visualization needs. It may also use list_boundary_type_codes to help interpret the boundary type if needed.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Get the full GeoJSON geometry for the London Borough of Camden. I need the shape data to plot it on a map.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
get_boundary_geojson_by_code(code) — Returns the full GeoJSON Feature for a boundary. This is the most expensive call because it includes geometry; only use it when I explicitly ask for a map, shape, or boundary outline.Boundr - UK Boundary Data