Skip to main content
Glama
toruproject

MapNetwork MCP Server

by toruproject

generate_map

Generate a styled map image for any location by providing a place name. Returns a PNG/SVG map centered on that place, with optional custom title.

Instructions

Generate a styled map centered on a single place.

Example: generate_map(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 changedv6.0.0
    • addedInput schema / properties / name
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional: display name for the map. If omitted, the server derives one automatically from place.",
      +  "title": "Name"
      +}
  2. Changed20 schema fields changedv5.0.0
    • removedInput schema / $defs
      Removed value: -{
      -  "Location": {
      -    "properties": {
      -      "lat": {
      -        "title": "Lat",
      -        "type": "number"
      -      },
      -      "lng": {
      -        "title": "Lng",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "lat",
      -      "lng"
      -    ],
      -    "title": "Location",
      -    "type": "object"
      -  },
      -  "MapConfig": {
      -    "properties": {
      -      "patchworked": {
      -        "anyOf": [
      -          {
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Auto-color closed areas and building shapes on the drawing. Default true.",
      -        "title": "Patchworked"
      -      },
      -      "withBuilding": {
      -        "anyOf": [
      -          {
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Draw building shapes. Default true when building data is available.",
      -        "title": "Withbuilding"
      -      },
      -      "withSeaRibbon": {
      -        "anyOf": [
      -          {
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Draw a band representing the sea along the coastline. Default true when coastline data is available.",
      -        "title": "Withsearibbon"
      -      }
      -    },
      -    "title": "MapConfig",
      -    "type": "object"
      -  },
      -  "Marker": {
      -    "properties": {
      -      "label": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Place name for geocoding and/or display.",
      -        "title": "Label"
      -      },
      -      "location": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/Location"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Explicit coordinates. If provided, geocoding of 'label' is skipped."
      -      }
      -    },
      -    "title": "Marker",
      -    "type": "object"
      -  },
      -  "RouteEndpoint": {
      -    "properties": {
      -      "label": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Place name for geocoding and/or display.",
      -        "title": "Label"
      -      },
      -      "location": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/Location"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Explicit coordinates."
      -      }
      -    },
      -    "title": "RouteEndpoint",
      -    "type": "object"
      -  },
      -  "RouteInput": {
      -    "description": "generate_mapのrouteパラメータ。compute_routeの戻り値をそのまま渡せる形にする。",
      -    "properties": {
      -      "color": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Optional line color as a CSS hex color (e.g. '#FF4500').",
      -        "title": "Color"
      -      },
      -      "coords": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "items": {
      -                "type": "number"
      -              },
      -              "type": "array"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Ordered list of [lat, lng] pairs along the route.",
      -        "title": "Coords"
      -      },
      -      "from": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/RouteEndpoint"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Route start point."
      -      },
      -      "mode": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "walking",
      -              "driving"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Mode"
      -      },
      -      "to": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/RouteEndpoint"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Route end point."
      -      }
      -    },
      -    "title": "RouteInput",
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / canvas_height
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Canvas Height"
      -}
    • removedInput schema / properties / canvas_width
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Canvas Width"
      -}
    • removedInput schema / properties / color_set
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Color Set"
      -}
    • removedInput schema / properties / config
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/MapConfig"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
    • removedInput schema / properties / format
      Removed value: -{
      -  "default": "png",
      -  "title": "Format",
      -  "type": "string"
      -}
    • removedInput schema / properties / lat
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Lat"
      -}
    • removedInput schema / properties / layers
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "default",
      -        "road_and_railway",
      -        "only_driving_road",
      -        "fully_detailed"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Layers"
      -}
    • removedInput schema / properties / lng
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Lng"
      -}
    • removedInput schema / properties / markers
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "$ref": "#/$defs/Marker"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Markers"
      -}
    • removedInput schema / properties / name
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Name"
      -}
    • removedInput schema / properties / place / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / place / default
      Removed value: -null
    • addedInput schema / properties / place / description
      Added value: +"Place name to center the map on (geocoded server-side)."
    • addedInput schema / properties / place / type
      Added value: +"string"
    • removedInput schema / properties / radius
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Radius"
      -}
    • removedInput schema / properties / route
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/RouteInput"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
    • removedInput schema / properties / size_ew
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Size Ew"
      -}
    • removedInput schema / properties / size_ns
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Size Ns"
      -}
    • addedInput schema / required
      Added value: +[
      +  "place"
      +]
  3. Changed10 schema fields changedv1.2.3
    • addedInput schema / $defs
      Added value: +{
      +  "Location": {
      +    "properties": {
      +      "lat": {
      +        "title": "Lat",
      +        "type": "number"
      +      },
      +      "lng": {
      +        "title": "Lng",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "lat",
      +      "lng"
      +    ],
      +    "title": "Location",
      +    "type": "object"
      +  },
      +  "MapConfig": {
      +    "properties": {
      +      "patchworked": {
      +        "anyOf": [
      +          {
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Auto-color closed areas and building shapes on the drawing. Default true.",
      +        "title": "Patchworked"
      +      },
      +      "withBuilding": {
      +        "anyOf": [
      +          {
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Draw building shapes. Default true when building data is available.",
      +        "title": "Withbuilding"
      +      },
      +      "withSeaRibbon": {
      +        "anyOf": [
      +          {
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Draw a band representing the sea along the coastline. Default true when coastline data is available.",
      +        "title": "Withsearibbon"
      +      }
      +    },
      +    "title": "MapConfig",
      +    "type": "object"
      +  },
      +  "Marker": {
      +    "properties": {
      +      "label": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Place name for geocoding and/or display.",
      +        "title": "Label"
      +      },
      +      "location": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/Location"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Explicit coordinates. If provided, geocoding of 'label' is skipped."
      +      }
      +    },
      +    "title": "Marker",
      +    "type": "object"
      +  },
      +  "RouteEndpoint": {
      +    "properties": {
      +      "label": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Place name for geocoding and/or display.",
      +        "title": "Label"
      +      },
      +      "location": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/Location"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Explicit coordinates."
      +      }
      +    },
      +    "title": "RouteEndpoint",
      +    "type": "object"
      +  },
      +  "RouteInput": {
      +    "description": "generate_mapのrouteパラメータ。compute_routeの戻り値をそのまま渡せる形にする。",
      +    "properties": {
      +      "color": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Optional line color as a CSS hex color (e.g. '#FF4500').",
      +        "title": "Color"
      +      },
      +      "coords": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "items": {
      +                "type": "number"
      +              },
      +              "type": "array"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Ordered list of [lat, lng] pairs along the route.",
      +        "title": "Coords"
      +      },
      +      "from": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/RouteEndpoint"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Route start point."
      +      },
      +      "mode": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "walking",
      +              "driving"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Mode"
      +      },
      +      "to": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/RouteEndpoint"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Route end point."
      +      }
      +    },
      +    "title": "RouteInput",
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / config
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/MapConfig"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • removedInput schema / properties / edge_weight
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Edge Weight"
      -}
    • changedInput schema / properties / layers / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "default",
      +      "road_and_railway",
      +      "only_driving_road",
      +      "fully_detailed"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / markers / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "$ref": "#/$defs/Marker"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / place_icon
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Place Icon"
      -}
    • removedInput schema / properties / poi_types
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Poi Types"
      -}
    • changedInput schema / properties / route / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/RouteInput"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / route / title
      Removed value: -"Route"
    • removedInput schema / properties / title
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Title"
      -}
  4. First observedv0.1.1

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'styled map' and gives no details on output format, persistence, side effects, or return behavior. The schema notes server-side geocoding, but the description adds little behavioral context beyond the basic purpose.

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?

One purposeful sentence plus a concrete example, with no filler. The key constraint ('centered on a single place') is front-loaded before the example.

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?

The tool is simple, with two fully documented parameters and a good example, so the basics are covered. However, with no output schema, the description should clarify what a successful call returns or how the map is delivered, and that is missing.

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?

The input schema documents both parameters at 100% coverage, including the optional display name and server-side geocoding. The description's example showing place='Tokyo Station' is useful, but it does not add meaningful parameter semantics beyond what the schema already provides.

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?

States a specific action ('Generate') on a specific resource ('a styled map') with a clear scoping constraint ('centered on a single place'). This distinguishes it from sibling tools like generate_markers_map and generate_route_map, which imply multi-point or route maps.

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' and the example imply when to use this tool, but there is no explicit guidance about when to prefer a sibling tool. The routing to alternatives is left to inference rather than stated.

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

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/toruproject/mapnetwork-mcp'

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