Skip to main content
Glama
magiclane

Magic Lane MCP Server

Official
by magiclane

Location Search

location_search
Read-only

Search locations, addresses, or points of interest by name and retrieve geographic coordinates with metadata. Supports geocoding of places and POIs with optional category filters.

Instructions

Search for locations, places, and points of interest by name or address to retrieve their geographic coordinates. Supports geocoding of place names, POIs, businesses, landmarks, and addresses with optional category filtering. Returns coordinates, formatted addresses, and metadata for matching locations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesPrimary search query. REQUIRED. For target="pois": describe the POI (e.g. "gas station", "Italian restaurant", "Eiffel Tower"). For target="addresses": full or partial street address (e.g. "10 Downing Street"). For target="cities": city name (e.g. "Berlin").
targetYesResult type to return. One of: "pois" (Points of Interest: businesses, landmarks, services), "addresses" (street addresses and house numbers), "cities" (city, town, or settlement names). CRITICAL: when target="pois", you MUST also provide at least one entry in poi_categories.
poi_categoriesNoPOI category filters. REQUIRED when target="pois"; ignored otherwise. Provide one or more values from this exact set: "gas_stations", "parking", "food&drink", "accommodation", "medical_services", "shopping" (shops, supermarkets, malls), "car_services", "public_transport", "education", "entertainment", "public_services", "geographic_area", "business", "sightseeing", "religious_places", "roadside", "sports", "uncategorized", "hydrants", "emergency_services_support", "civil_emergency_infrastructure". Pick the narrowest category that matches the user intent.
reference_locationYesGeographic context that biases and ranks the search. REQUIRED. Provide coordinates (preferred, most accurate) and/or location_text (city/region/country). Results closer or more relevant to this anchor rank higher.
localeNoISO 639-2 / ISO 639-3 language code for returned place names and address fields (e.g. "en", "de", "fr", "ja"). Default "en".en
limitNoMaximum number of results to return, ranked by relevance (best match first). Positive integer. Default 5. Use a smaller value (1-3) when you only need the top match.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds value beyond annotations (readOnlyHint, openWorldHint) by detailing the types of queries supported (place names, POIs, etc.), optional category filtering, and the nature of results (coordinates, addresses, metadata). It does not contradict annotations and provides useful behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences front-load the core action and then provide additional detail. Every sentence is meaningful, no redundancy, and the description is appropriately sized for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (6 parameters, nested objects) and the absence of an output schema, the description adequately covers the main inputs and outputs. It mentions geocoding for various entity types and category filtering, but it does not explicitly mention the required parameters (text, target, reference_location) or the dependency between target and poi_categories, though these are detailed in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the schema already documents all parameters thoroughly. The description adds minimal extra meaning beyond stating 'supports geocoding of place names, POIs... with optional category filtering,' which slightly reinforces the text parameter's purpose but does not significantly enhance understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it searches for locations by name/address to retrieve coordinates, listing supported types (places, POIs, businesses, landmarks, addresses). It specifies an output of coordinates, formatted addresses, and metadata, which distinguishes it from sibling tools like reverse_geocode, but does not explicitly differentiate from other search tools like interactive_map.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for forward geocoding and POI search but provides no explicit guidance on when to prefer this tool over alternatives like reverse_geocode or geofence_manager. No when-not-to-use or alternative references are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/magiclane/magiclane-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server