Skip to main content
Glama

generate_map

Generate a styled map image centered on a single place. Returns a download+link as text, not image bytes. Example: place='Tokyo Station'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional: display name for the map. If omitted, the server derives one automatically from place.
placeYesPlace name to center the map on (geocoded server-side).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Optional: display name for the map. If omitted, the server derives one automatically from place.",
      +  "type": "string"
      +}
  2. Changed12 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "Location": {
      -    "description": "Explicit coordinates.",
      -    "properties": {
      -      "lat": {
      -        "description": "Latitude.",
      -        "type": "number"
      -      },
      -      "lng": {
      -        "description": "Longitude.",
      -        "type": "number"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "RouteEndpoint": {
      -    "description": "Provide 'location' for explicit coordinates (no geocoding), or only 'label' to geocode server-side. Both may be provided — 'location' takes precedence, 'label' is used for display.",
      -    "properties": {
      -      "label": {
      -        "description": "Place name for geocoding and/or display.",
      -        "type": "string"
      -      },
      -      "location": {
      -        "$ref": "#/$defs/Location"
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / canvas_height
      Removed value: -{
      -  "description": "Canvas height in pixels (default 600).",
      -  "type": "integer"
      -}
    • removedInput schema / properties / canvas_width
      Removed value: -{
      -  "description": "Canvas width in pixels (default 1000).",
      -  "type": "integer"
      -}
    • removedInput schema / properties / color_set
      Removed value: -{
      -  "description": "Background/line color theme (e.g. 'white', 'darkBlue', 'black') — see server instructions for the full list.",
      -  "type": "string"
      -}
    • removedInput schema / properties / format
      Removed value: -{
      -  "description": "'png' (default) or 'svg'.",
      -  "enum": [
      -    "png",
      -    "svg"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / location
      Removed value: -{
      -  "$ref": "#/$defs/Location",
      -  "description": "Explicit coordinates for 'place'. If given, geocoding of 'place' is skipped. Not necessarily the map's final center — see server instructions."
      -}
    • removedInput schema / properties / markers
      Removed value: -{
      -  "description": "List of locations to pin on the map, e.g. [{\"label\": \"Tokyo Station\"}].",
      -  "items": {
      -    "properties": {
      -      "label": {
      -        "description": "Place name for geocoding and/or display.",
      -        "type": "string"
      -      },
      -      "location": {
      -        "$ref": "#/$defs/Location",
      -        "description": "Explicit coordinates. If provided, geocoding of 'label' is skipped."
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / name
      Removed value: -{
      -  "description": "Map name stored in the data file.",
      -  "type": "string"
      -}
    • changedInput schema / properties / place / description
      Previous value: -"Place name to center the map on (geocoded server-side unless 'location' is also given)."New value: +"Place name to center the map on (geocoded server-side)."
    • removedInput schema / properties / route
      Removed value: -{
      -  "description": "Route to overlay — pass compute_route()'s result through as-is.",
      -  "properties": {
      -    "coords": {
      -      "description": "Ordered list of [lat, lng] pairs along the route.",
      -      "items": {
      -        "items": {
      -          "type": "number"
      -        },
      -        "maxItems": 2,
      -        "minItems": 2,
      -        "type": "array"
      -      },
      -      "type": "array"
      -    },
      -    "from": {
      -      "$ref": "#/$defs/RouteEndpoint",
      -      "description": "Route start point."
      -    },
      -    "mode": {
      -      "description": "'walking' (default) or 'driving'.",
      -      "enum": [
      -        "walking",
      -        "driving"
      -      ],
      -      "type": "string"
      -    },
      -    "to": {
      -      "$ref": "#/$defs/RouteEndpoint",
      -      "description": "Route end point."
      -    }
      -  },
      -  "type": "object"
      -}
    • addedInput schema / required
      Added value: +[
      +  "place"
      +]
  3. Changed8 schema fields changed
    • removedInput schema / properties / lat
      Removed value: -{
      -  "description": "Latitude of the map center. Must be combined with lng.",
      -  "type": "number"
      -}
    • removedInput schema / properties / layers
      Removed value: -{
      -  "description": "Which map layers to draw (roads, railway, POI, etc.) — see server instructions for what each preset includes. Omit for 'default'.",
      -  "enum": [
      -    "default",
      -    "road_and_railway",
      -    "only_driving_road",
      -    "fully_detailed"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / lng
      Removed value: -{
      -  "description": "Longitude of the map center. Must be combined with lat.",
      -  "type": "number"
      -}
    • addedInput schema / properties / location
      Added value: +{
      +  "$ref": "#/$defs/Location",
      +  "description": "Explicit coordinates for 'place'. If given, geocoding of 'place' is skipped. Not necessarily the map's final center — see server instructions."
      +}
    • changedInput schema / properties / place / description
      Previous value: -"Place name to center the map on. Use this OR lat/lng, not both."New value: +"Place name to center the map on (geocoded server-side unless 'location' is also given)."
    • removedInput schema / properties / radius
      Removed value: -{
      -  "description": "Circular radius in meters. Exclusive with size_ew/size_ns; omit for automatic default.",
      -  "type": "number"
      -}
    • removedInput schema / properties / size_ew
      Removed value: -{
      -  "description": "Rectangular area width (east-west), meters. Pairs with size_ns; exclusive with radius.",
      -  "type": "number"
      -}
    • removedInput schema / properties / size_ns
      Removed value: -{
      -  "description": "Rectangular area height (north-south), meters. Pairs with size_ew.",
      -  "type": "number"
      -}
  4. Changed2 schema fields changed
    • changedInput schema / properties / color_set / description
      Previous value: -"Color theme — see server instructions for the list."New value: +"Background/line color theme (e.g. 'white', 'darkBlue', 'black') — see server instructions for the full list."
    • changedInput schema / properties / layers / description
      Previous value: -"Layer preset — see server instructions for details. Omit for 'default'."New value: +"Which map layers to draw (roads, railway, POI, etc.) — see server instructions for what each preset includes. Omit for 'default'."
  5. Changed17 schema fields changed
    • addedInput schema / $defs
      Added value: +{
      +  "Location": {
      +    "description": "Explicit coordinates.",
      +    "properties": {
      +      "lat": {
      +        "description": "Latitude.",
      +        "type": "number"
      +      },
      +      "lng": {
      +        "description": "Longitude.",
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "RouteEndpoint": {
      +    "description": "Provide 'location' for explicit coordinates (no geocoding), or only 'label' to geocode server-side. Both may be provided — 'location' takes precedence, 'label' is used for display.",
      +    "properties": {
      +      "label": {
      +        "description": "Place name for geocoding and/or display.",
      +        "type": "string"
      +      },
      +      "location": {
      +        "$ref": "#/$defs/Location"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • changedInput schema / properties / color_set / description
      Previous value: -"Color theme. One of: darkBlue, darkGreen, popArt, lightBlue, lightGreen, beige, magenta, white, gray, black, brawn."New value: +"Color theme — see server instructions for the list."
    • removedInput schema / properties / config
      Removed value: -{
      -  "description": "Overrides for automatic layer-visibility defaults. Omit any field to keep the default.",
      -  "properties": {
      -    "patchworked": {
      -      "description": "Auto-color closed areas and building shapes on the drawing. Default true.",
      -      "type": "boolean"
      -    },
      -    "withBuilding": {
      -      "description": "Draw building shapes. Default true when building data is available.",
      -      "type": "boolean"
      -    },
      -    "withSeaRibbon": {
      -      "description": "Draw a band representing the sea along the coastline. Default true when coastline data is available.",
      -      "type": "boolean"
      -    }
      -  },
      -  "type": "object"
      -}
    • changedInput schema / properties / layers / description
      Previous value: -"Preset combination of map layers. 'default': roads + POI icons. 'only_driving_road': car-accessible roads only, nothing else. 'road_and_railway': roads + railway lines, no POI. 'fully_detailed': roads + railway + waterline + greenarea + POI (waterline/greenarea only apply within Japan; ignored elsewhere)."New value: +"Layer preset — see server instructions for details. Omit for 'default'."
    • addedInput schema / properties / markers / items / properties / location / $ref
      Added value: +"#/$defs/Location"
    • removedInput schema / properties / markers / items / properties / location / properties
      Removed value: -{
      -  "lat": {
      -    "description": "Latitude.",
      -    "type": "number"
      -  },
      -  "lng": {
      -    "description": "Longitude.",
      -    "type": "number"
      -  }
      -}
    • removedInput schema / properties / markers / items / properties / location / type
      Removed value: -"object"
    • changedInput schema / properties / radius / description
      Previous value: -"Circular coverage radius in meters (max depends on layers). Mutually exclusive with size_ew/size_ns. Omit this if the user hasn't specified a size — a sensible default is applied automatically."New value: +"Circular radius in meters. Exclusive with size_ew/size_ns; omit for automatic default."
    • changedInput schema / properties / route / description
      Previous value: -"Route to overlay, as returned by compute_route. Pass that object through as-is."New value: +"Route to overlay — pass compute_route()'s result through as-is."
    • addedInput schema / properties / route / properties / from / $ref
      Added value: +"#/$defs/RouteEndpoint"
    • removedInput schema / properties / route / properties / from / properties
      Removed value: -{
      -  "label": {
      -    "description": "Place name for geocoding and/or display.",
      -    "type": "string"
      -  },
      -  "location": {
      -    "description": "Explicit coordinates.",
      -    "properties": {
      -      "lat": {
      -        "description": "Latitude.",
      -        "type": "number"
      -      },
      -      "lng": {
      -        "description": "Longitude.",
      -        "type": "number"
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / route / properties / from / type
      Removed value: -"object"
    • addedInput schema / properties / route / properties / to / $ref
      Added value: +"#/$defs/RouteEndpoint"
    • removedInput schema / properties / route / properties / to / properties
      Removed value: -{
      -  "label": {
      -    "description": "Place name for geocoding and/or display.",
      -    "type": "string"
      -  },
      -  "location": {
      -    "description": "Explicit coordinates.",
      -    "properties": {
      -      "lat": {
      -        "description": "Latitude.",
      -        "type": "number"
      -      },
      -      "lng": {
      -        "description": "Longitude.",
      -        "type": "number"
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / route / properties / to / type
      Removed value: -"object"
    • changedInput schema / properties / size_ew / description
      Previous value: -"East-west width of a rectangular coverage area in meters. Must be combined with size_ns."New value: +"Rectangular area width (east-west), meters. Pairs with size_ns; exclusive with radius."
    • changedInput schema / properties / size_ns / description
      Previous value: -"North-south height of a rectangular coverage area in meters. Must be combined with size_ew."New value: +"Rectangular area height (north-south), meters. Pairs with size_ew."
  6. Changed7 schema fields changed
    • addedInput schema / properties / markers / items / properties / location / properties / lat / description
      Added value: +"Latitude."
    • addedInput schema / properties / markers / items / properties / location / properties / lng / description
      Added value: +"Longitude."
    • addedInput schema / properties / route / properties / from / properties / location / properties / lat / description
      Added value: +"Latitude."
    • addedInput schema / properties / route / properties / from / properties / location / properties / lng / description
      Added value: +"Longitude."
    • addedInput schema / properties / route / properties / mode / description
      Added value: +"'walking' (default) or 'driving'."
    • addedInput schema / properties / route / properties / to / properties / location / properties / lat / description
      Added value: +"Latitude."
    • addedInput schema / properties / route / properties / to / properties / location / properties / lng / description
      Added value: +"Longitude."
  7. Changed7 schema fields changed
    • changedInput schema / properties / canvas_height / description
      Previous value: -"Canvas height in pixels (default 700)."New value: +"Canvas height in pixels (default 600)."
    • removedInput schema / properties / edge_weight
      Removed value: -{
      -  "description": "Road/line width adjustment. Positive thickens, negative thins.",
      -  "type": "integer"
      -}
    • changedInput schema / properties / layers / description
      Previous value: -"Preset combination of map layers. 'default': roads + POI icons. 'only_driving_road': car-accessible roads only, nothing else. 'road_and_railway': roads + railway lines, no POI. 'fully_detailed': roads + railway + waterline + greenarea + POI."New value: +"Preset combination of map layers. 'default': roads + POI icons. 'only_driving_road': car-accessible roads only, nothing else. 'road_and_railway': roads + railway lines, no POI. 'fully_detailed': roads + railway + waterline + greenarea + POI (waterline/greenarea only apply within Japan; ignored elsewhere)."
    • addedInput schema / properties / markers / items / properties
      Added value: +{
      +  "label": {
      +    "description": "Place name for geocoding and/or display.",
      +    "type": "string"
      +  },
      +  "location": {
      +    "description": "Explicit coordinates. If provided, geocoding of 'label' is skipped.",
      +    "properties": {
      +      "lat": {
      +        "type": "number"
      +      },
      +      "lng": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • removedInput schema / properties / place_icon
      Removed value: -{
      -  "description": "Custom icon override for the place/center pin.",
      -  "type": "object"
      -}
    • changedInput schema / properties / route / description
      Previous value: -"Route to overlay, as returned by compute_route."New value: +"Route to overlay, as returned by compute_route. Pass that object through as-is."
    • addedInput schema / properties / route / properties
      Added value: +{
      +  "coords": {
      +    "description": "Ordered list of [lat, lng] pairs along the route.",
      +    "items": {
      +      "items": {
      +        "type": "number"
      +      },
      +      "maxItems": 2,
      +      "minItems": 2,
      +      "type": "array"
      +    },
      +    "type": "array"
      +  },
      +  "from": {
      +    "description": "Route start point.",
      +    "properties": {
      +      "label": {
      +        "description": "Place name for geocoding and/or display.",
      +        "type": "string"
      +      },
      +      "location": {
      +        "description": "Explicit coordinates.",
      +        "properties": {
      +          "lat": {
      +            "type": "number"
      +          },
      +          "lng": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "mode": {
      +    "enum": [
      +      "walking",
      +      "driving"
      +    ],
      +    "type": "string"
      +  },
      +  "to": {
      +    "description": "Route end point.",
      +    "properties": {
      +      "label": {
      +        "description": "Place name for geocoding and/or display.",
      +        "type": "string"
      +      },
      +      "location": {
      +        "description": "Explicit coordinates.",
      +        "properties": {
      +          "lat": {
      +            "type": "number"
      +          },
      +          "lng": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
  8. Changed1 schema field changed
    • changedInput schema / properties / layers / enum
      Previous value: -[
      -  "default",
      -  "only_driving_road",
      -  "road_and_railway",
      -  "fully_detailed"
      -]New value: +[
      +  "default",
      +  "road_and_railway",
      +  "only_driving_road",
      +  "fully_detailed"
      +]
  9. Changed6 schema fields changed
    • changedInput schema / properties / layers / description
      Previous value: -"Map layers to render. Default ['road', 'poi']. Valid: road, highway, driving, walking, railway, waterline, greenarea, poi."New value: +"Preset combination of map layers. 'default': roads + POI icons. 'only_driving_road': car-accessible roads only, nothing else. 'road_and_railway': roads + railway lines, no POI. 'fully_detailed': roads + railway + waterline + greenarea + POI."
    • addedInput schema / properties / layers / enum
      Added value: +[
      +  "default",
      +  "only_driving_road",
      +  "road_and_railway",
      +  "fully_detailed"
      +]
    • removedInput schema / properties / layers / items
      Removed value: -{
      -  "type": "string"
      -}
    • changedInput schema / properties / layers / type
      Previous value: -"array"New value: +"string"
    • removedInput schema / properties / poi_types
      Removed value: -{
      -  "description": "Filter POI categories when 'poi' is in layers.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • changedInput schema / properties / radius / description
      Previous value: -"Circular coverage radius in meters (max depends on layers). Mutually exclusive with size_ew/size_ns."New value: +"Circular coverage radius in meters (max depends on layers). Mutually exclusive with size_ew/size_ns. Omit this if the user hasn't specified a size — a sensible default is applied automatically."
  10. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully reveals that output is a downloadable link as text rather than image bytes, and mentions server-side geocoding indirectly through the example, but it does not describe side effects, authentication, expiration, or failure behavior.

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?

The description is three short sentences, front-loaded with the core action and result. The example is useful and not redundant, and every sentence earns its place.

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?

For a simple tool with two parameters and complete schema coverage, the description adequately explains the output format, which matters because there is no output schema. It does not cover sibling selection or error cases, but those are secondary for basic invocation.

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%, so the parameters are already documented. The description adds a concrete example for the required `place` parameter and reinforces that the map is centered on it, which helps the agent form a correct call.

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 states a specific verb+resource: 'Generate a styled map image centered on a single place.' It also distinguishes itself from siblings by emphasizing a single place and by explicitly saying the result is a download link as text, not image bytes.

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 phrase 'centered on a single place' implies this tool is for one-place maps, but it does not explicitly say when to prefer it over generate_markers_map or generate_route_map. No alternatives or exclusions are named.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: single-place map, multi-marker map, and route map. The descriptions explicitly separate them, and the route tool even warns against double-pinning endpoints with the markers tool.

Naming Consistency5/5

All tool names follow the same generate_X_map pattern, making the relationship between tools predictable. The naming clearly indicates the output type and the variation in each tool.

Tool Count5/5

Three tools is a tight, well-scoped set for a map generation server. Each tool covers a distinct map use case without redundancy or unnecessary bloat.

Completeness4/5

The tool surface covers the core map-generation workflows: a single location, multiple markers, and a route between two points. Minor advanced options like custom styles or combined routes-plus-markers are not present, but the essential functionality is complete.