Skip to main content
Glama
mapbox

Mapbox MCP Server

Official

Place Details Tool

place_details_tool
Read-onlyIdempotent

Retrieve detailed place information like photos, opening hours, ratings, phone, and website using a Mapbox ID from previous searches.

Instructions

Retrieve detailed information about a specific place using its Mapbox ID. Use after search_and_geocode_tool, category_search_tool, or reverse_geocode_tool to get additional details such as photos, opening hours, ratings, phone numbers, and website URLs. Requires the mapbox_id field from a previous search result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoBCP 47 language tag for localized results (e.g. "en", "fr", "de", "ja"). Affects place names and address formatting.
mapbox_idYesThe Mapbox ID of the place to retrieve details for. Obtained from search results returned by search_and_geocode_tool, category_search_tool, or reverse_geocode_tool (the mapbox_id field in properties).
worldviewNoWorldview for geopolitically sensitive content such as disputed borders. Options: "ar" (Argentina), "cn" (China), "in" (India), "jp" (Japan), "ma" (Morocco), "ru" (Russia), "tr" (Turkey), "us" (United States, default).
attribute_setsNoWhich attribute sets to include in the response. Options: "basic" (address/coordinates, always included), "photos" (place photo URLs), "visit" (opening hours, rating, price level, popularity), "venue" (phone number, website URL, social media links). When not specified, only basic attributes are returned.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes
geometryYes
propertiesYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive. The description adds value by listing specific details returned (photos, opening hours, ratings, phone numbers, website URLs) and mentioning attribute sets, providing behavioral context beyond annotations.

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 well-structured sentences: first states purpose, second provides usage guidelines. Every sentence earns its place, no redundancy.

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

Completeness5/5

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

With output schema present, description need not detail return values. It covers prerequisites, usage flow, and available attribute sets, making it complete for a retrieval tool with multiple optional features.

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

Parameters4/5

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

Schema coverage is 100%, but description adds contextual meaning: mapbox_id 'obtained from search results', language affects place names/addresses, worldview for geopolitical sensitivity, and attribute_sets lists what each set includes. Enhances understanding beyond schema alone.

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

Purpose5/5

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

The description clearly states 'Retrieve detailed information about a specific place using its Mapbox ID,' specifying the verb (retrieve) and resource (place details). It distinguishes from sibling search tools by indicating it is used after them to get additional details.

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

Usage Guidelines4/5

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

Explicitly states to use after search_and_geocode_tool, category_search_tool, or reverse_geocode_tool, and requires the mapbox_id field. Provides clear context for when to use this tool. No explicit when-not-to-use or alternatives, but sufficient given sibling list.

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/mapbox/mcp-server'

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