Skip to main content
Glama
GSA-TTS

mcp-server-gis-helper

Official
by GSA-TTS

Open Interactive Map to Draw Geometry

gis_open_map
Read-only

Open an interactive map to draw GIS geometry (points, lines, polygons), then retrieve the drawn shape as GeoJSON for use with flood zone and waterway analysis tools.

Instructions

Open an interactive map so the user can draw GIS geometry, then capture it.

Returns a Prefab app with (1) a link that opens a Leaflet drawing page in the browser and (2) a "Load drawn geometry" button. Workflow:

  1. Call this tool (optionally center it with lat/lon/zoom).

  2. The user clicks "Open drawing map", draws a polygon/line/point, clicks Save.

  3. The user clicks "Load drawn geometry" (or you call gis_get_drawn_geometry with the session_id) to retrieve a compact GeoJSON string.

  4. Pass that GeoJSON to nfhl_screen_flood_zone, hydro_find_waterways, etc.

Use when: "let me draw a shape / area on a map", "I want to sketch a polygon". Don't use when: the user already has coordinates (use gis_validate_geometry).

The returned app also surfaces the session_id in text so the agent can call gis_get_drawn_geometry directly if the user prefers not to click the button.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoOptional initial map center latitude (WGS84 decimal degrees).
lonNoOptional initial map center longitude (WGS84 decimal degrees).
zoomNoOptional initial map zoom level (0 = world, 19 = building).
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds behavioral context: the returned Prefab app, the user-driven draw/save/load sequence, session_id surfacing, and how the GeoJSON output feeds downstream tools. It does not contradict the annotations, though it doesn't explicitly remark on non-idempotency beyond implying a new session.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is multi-paragraph but well-structured with a numbered workflow and clear sections. Each part earns its place, though a few phrases (e.g., 'then capture it') are slightly redundant with the later workflow steps.

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?

There is no output schema, so the description fully explains the return (a Prefab app with link and button), the interactive workflow, session_id usage, downstream GeoJSON consumers, and the option to call gis_get_drawn_geometry directly. It accounts for both user-driven and agent-driven retrieval paths.

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 has 100% coverage with rich descriptions for lat, lon, and zoom. The description only briefly mentions 'optionally center it with lat/lon/zoom', adding little beyond the schema, so the baseline 3 applies.

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 'Open an interactive map so the user can draw GIS geometry, then capture it' with a clear verb and resource. It distinguishes from siblings by explicitly pointing to gis_validate_geometry for users who already have coordinates and referencing gis_get_drawn_geometry for retrieval.

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

Usage Guidelines5/5

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

Provides explicit 'Use when' and 'Don't use when' guidance, naming gis_validate_geometry as the alternative and outlining the workflow involving gis_get_drawn_geometry. This leaves no ambiguity about when to invoke this tool.

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/GSA-TTS/mcp-server-gis-helper'

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