Skip to main content
Glama
mapbox

Mapbox Developer MCP Server

Official
by mapbox

Compare Mapbox Styles Tool

style_comparison_tool
Read-onlyIdempotent

Create a side-by-side comparison of two Mapbox styles to visually evaluate differences in map design. Input before and after style identifiers and an access token to generate a shareable URL.

Instructions

Generate a comparison URL for comparing two Mapbox styles side-by-side

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zoomNoInitial zoom level for the map view (0-22). If provided along with latitude and longitude, sets the initial map position.
afterYesMapbox style for the "after" side. Accepts: full style URL (mapbox://styles/username/styleId), username/styleId format, or just styleId if using your own styles
beforeYesMapbox style for the "before" side. Accepts: full style URL (mapbox://styles/username/styleId), username/styleId format, or just styleId if using your own styles
latitudeNoLatitude coordinate for the initial map center (-90 to 90). Must be provided together with longitude and zoom.
longitudeNoLongitude coordinate for the initial map center (-180 to 180). Must be provided together with latitude and zoom.
accessTokenYesMapbox public access token (required, must start with pk.* and have styles:read permission). Secret tokens (sk.*) cannot be used as they cannot be exposed in browser URLs. Please use a public token or create one with styles:read permission.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, confirming it's non-destructive. The description adds that it generates a URL, implying no side effects beyond that. No contradictions, but could clarify that the URL is meant for browser viewing.

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?

Single sentence of 14 words, extremely concise and front-loaded with the key purpose. No wasted words.

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

Completeness3/5

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

With 6 parameters and no output schema, the description does not explain what the returned URL contains or how to use it (e.g., open in browser). The agent may lack context on the output. However, for a simple URL generation tool, the basic purpose is covered.

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?

All 6 parameters have schema descriptions covering 100%. The description adds no additional parameter-level meaning beyond the schema, so baseline of 3 is appropriate.

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?

Title and description clearly state the tool generates a comparison URL for two Mapbox styles. Verb 'generate' is specific, and 'comparison URL' distinguishes from comparable sibling tools like 'compare_styles_tool' which likely does an inline comparison.

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

Usage Guidelines2/5

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

Description provides no guidance on when to use this tool versus alternatives like 'compare_styles_tool', or any prerequisites or exclusions. The agent must infer usage from the purpose alone.

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-devkit-server'

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