GovTribe

Show geo map MCP tool

Render named marker series and routes in an interactive geo map, with optional clustering, marker styling, and marker selection that can be sent back to chat. Use it for interactive geographic review, not boundary-layer or heatmap analysis.

Examples

Use maps when the user needs to inspect named facilities, buyer offices, vendor locations, or routes spatially.

Show overseas facility locations for review

{
  "tool": "Show_Geo_Map",
  "arguments": {
    "id": "overseas-facility-review",
    "title": "Overseas facilities",
    "description": "Candidate places of performance from the current opportunity set.",
    "viewport": {
      "mode": "fit_all",
      "padding": 40,
      "maxZoom": 8
    },
    "series": [
      {
        "id": "facilities",
        "label": "Facilities",
        "style": {
          "color": "#125475",
          "size": "md",
          "icon": "circle"
        },
        "markers": [
          {
            "id": "facility-guam",
            "lat": 13.4443,
            "lng": 144.7937,
            "label": "Guam facility",
            "subLabel": "Place of performance"
          },
          {
            "id": "facility-okinawa",
            "lat": 26.3344,
            "lng": 127.8056,
            "label": "Okinawa facility",
            "subLabel": "Place of performance"
          }
        ]
      }
    ]
  }
}

Let the user select target locations from a dense map

{
  "tool": "Show_Geo_Map",
  "arguments": {
    "id": "target-location-selection",
    "title": "Select target locations",
    "clustering": {
      "enabled": true,
      "radius": 40,
      "maxZoom": 12,
      "spiderfy": true
    },
    "selection": {
      "enabled": true,
      "mode": "multi",
      "tools": [
        "click",
        "box"
      ],
      "allowSelectInView": true,
      "minSelections": 1,
      "submitLabel": "Use selected locations"
    },
    "series": [
      {
        "id": "buyer-sites",
        "label": "Buyer sites",
        "markers": [
          {
            "id": "navsea-hq",
            "lat": 38.8836,
            "lng": -77.0164,
            "label": "NAVSEA HQ"
          },
          {
            "id": "norfolk-naval-shipyard",
            "lat": 36.8085,
            "lng": -76.2971,
            "label": "Norfolk Naval Shipyard"
          }
        ]
      }
    ]
  }
}

Payload patterns

Use series for marker groups and routes for paths between known points. Marker IDs must be stable for selection state.

Show a buyer-to-facility route

{
  "tool": "Show_Geo_Map",
  "arguments": {
    "id": "buyer-facility-route",
    "title": "Buyer office to facility",
    "series": [
      {
        "id": "locations",
        "label": "Locations",
        "markers": [
          {
            "id": "buyer-office",
            "lat": 38.8836,
            "lng": -77.0164,
            "label": "Buyer office"
          },
          {
            "id": "target-facility",
            "lat": 36.8085,
            "lng": -76.2971,
            "label": "Target facility"
          }
        ]
      }
    ],
    "routes": [
      {
        "id": "buyer-to-facility",
        "label": "Coordination route",
        "points": [
          {
            "lat": 38.8836,
            "lng": -77.0164
          },
          {
            "lat": 36.8085,
            "lng": -76.2971
          }
        ],
        "style": {
          "color": "#125475",
          "weight": 3,
          "dash": "dashed"
        }
      }
    ]
  }
}