TL;DR
Ask a frontier Large Language Model (LLM) what city the Eiffel Tower is in, and it won't blink. Ask it for the nearest pharmacy to a specific intersection or the cycling distance between two local landmarks, and it will confidently hallucinate coordinates kilometers off the mark. This paper introduces LimoBench to measure street-level spatial awareness, demonstrating that while ungrounded LLMs fail miserably at street smarts, giving them a crisp, modular spatial toolset (Limo) catapults accuracy from single digits to nearly 100% with minimal added latency.
What Problem Does This Paper Address?
LLMs store vast world knowledge implicitly in their neural weights ("parametric memory"). While great for broad trivia, parametric memory is notoriously brittle for street-level geography. Real-world addresses and points of interest (POIs) sit in the "long tail" of internet text—especially outside major hubs like New York or Chicago—and exact spatial math (like shortest-path routing over road networks or polygon intersections) simply doesn't emerge from predicting the next word.
Meanwhile, spatial databases (like PostGIS) and routing engines already solve geometric math deterministically. The open engineering question isn't how to force an LLM to memorize every street corner on Earth, but rather: just how bad are standalone LLMs at street-level tasks, and what exact tool abstractions let them offload spatial math reliably without tripping over complex database schemas?
Methods
Instead of training a new geospatial model, the authors build Limo, a lightweight server using the Model Context Protocol (MCP)—an open standard that acts like a universal USB-C port connecting LLMs to external tools at runtime.
Under the hood, Limo wraps mature open-source spatial engines: PostGIS (spatial database), Photon (geocoding), and GraphHopper (pedestrian, bike, and car routing). What is novel here is the deliberate interface design between the LLM and these engines, exposing 12 single-responsibility, composable tools across four groups (Place Resolution, Geometry Construction, Routing & Directions, and Search & Join):
- Compact State via Identifiers: Instead of clogging the LLM’s context window with massive raw polygon coordinates, tools pass lightweight
entity_idtags back and forth. - No Silent Fallbacks: Tools do one thing strictly. A range search won't silently guess coordinates for a place name; the model must explicitly geocode first, making errors visible and recoverable.
- Actionable Guardrails: Inputs are strictly validated, native OpenStreetMap (OSM) tags are filtered via a clean Boolean grammar, and error messages explicitly tell the LLM how to fix bad tool calls.
Datasets
The authors introduce LimoBench, a street-level evaluation benchmark derived from a fixed OpenStreetMap snapshot of West Lafayette, Indiana (covering 35.7 $\text{km}^2$ and 494 POIs). Unlike existing benchmarks that test coarse regional trivia, LimoBench tests exact street-level execution across 82 natural-language queries spanning seven canonical operations: geocoding, reverse geocoding, compass directionality, road-network routing, range search, $k$-nearest-neighbor (KNN) search, and spatial joins.
Queries are graded along two independent axes:
- Location Complexity ($L1\text{--}L5$): The number of spatial operations required in the execution plan (70 pure location queries).
- Semantic Complexity ($S1\text{--}S3$): Colloquialisms or vague constraints the LLM must translate using world knowledge before querying—like knowing "PMU" means Purdue Student Union or translating "places to get a haircut" into appropriate database tags (12 queries).
Key Insights and Ideas
- "Thinking harder" can't invent a map: Cranking up inference-time reasoning effort or tweaking sampling temperature does virtually nothing for ungrounded LLMs. You cannot reason your way into knowing exact street coordinates that aren't in your weights.
- Raw SQL access is a trap: When comparing Limo against competing MCP servers—including one that lets the LLM write raw PostGIS SQL—the authors found that general database access forces the LLM to play database engineer on the fly. When dedicated tools for routing or spatial joins are missing, models attempt fragile, multi-call workarounds that burn tokens and tank accuracy.
- A clean division of labor: Once grounded in well-designed tools, even lightweight models perform near the ceiling. The LLM's job shifts purely to intent translation and short-horizon planning, leaving deterministic geometry to PostGIS.
Key Results
- Ungrounded LLMs fail at street level: Across model families (OpenAI, Claude, Gemini, Qwen, DeepSeek), standalone accuracy spans 0.5% to 12.0% (with Claude Opus 5.5 highest at 12.0%, and reference model GPT-6 Luna at 3.1%). Only coarse compass directionality saw consistent non-zero scores.
- Limo closes the gap: Equipping GPT-6 Luna with Limo boosts accuracy on location queries from 3.1% to 99.3% (hitting 100% on geocoding, reverse geocoding, routing, and directionality). Across diverse providers, Limo-grounded models achieve 92.2%–100.0%.
- Modest overhead: For GPT-6 Luna, Limo adds just +0.18 seconds of mean latency (6.18s to 6.36s), while increasing tokens by 7.7$\times$ and API cost by 2.2$\times$ (still a tiny $0.00042 per query).
- Toolset design wins: On the same data with GPT-6 Luna, Limo (99.3%) handily outperforms competing spatial MCP servers
a-tsitanov(75.8%) andNERV(50.8%), while using fewer tool calls (2.66 vs. 4.10 and 5.32) and far fewer tokens. - Semantic queries: On the 12 trickier semantic queries, Limo + GPT-6 Luna achieves 95.8% at low reasoning effort and 100% at high effort.
Limitations and Future Work
- Scale and Geography: LimoBench is relatively small (82 queries, 3 runs per configuration) to keep multi-model API evaluation costs manageable (~$90 total), and focuses on a single US college town. Because OpenStreetMap tag conventions and coverage vary globally, single-city results don't guarantee worldwide generalization.
- Backend Confounds: Competing MCP servers rely on different underlying routing/geocoding engines (e.g., OSRM/Nominatim vs. GraphHopper/Photon), blending tool-abstraction effects with backend differences.
- No Fuzzy Boundaries: The benchmark intentionally excludes subjective concepts ("quiet neighborhood") or vernacular regions ("downtown") that lack a single, defensible database ground truth. Future work aims to expand LimoBench across diverse global regions and higher query complexities.
Summary updated