Skip to main content
Glama

unmake file tools

Inspect a map file

gis_inspect
Read-onlyIdempotent

Inspect a map file. Reads a map file (Shapefile zip, KML, KMZ, GPX, GeoJSON, GeoPackage, FlatGeobuf, CSV with coordinates) and returns its layers, feature counts by geometry type, coordinate system and where it came from (file, format, assumed, flagged guess), extent in WGS 84 and in the original system, fields with types and samples, total length and area, GPS track statistics (length, climb, descent, elevation range, duration), a simplified WGS 84 GeoJSON for a map and a PNG preview. Use when: A map/GIS file has to be understood or shown on a web map without GIS software. Not for: Raster data (GeoTIFF), FileGDB, MapInfo, DXF/DWG (use dxf_render/dwg_to_dxf). File types: zip, shp, kml, kmz, gpx, geojson, json, csv, tsv, gpkg, fgb. Max 30 MB.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gis_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds genuinely new behavior: a hard 30 MB size cap, the full set of accepted extensions, CRS provenance reporting including 'assumed' and 'flagged guess' cases, and the fact that both a simplified WGS 84 GeoJSON and a PNG preview come back. These are operational constraints an agent cannot derive from annotations or schema.

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?

Front-loaded with purpose, then Use when / Not for / file types / size cap in a logical order, with zero filler sentences. The return-value enumeration is a long run-on list that could be tightened, but every item listed is information the agent would otherwise have to discover by calling.

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 carries the full burden of describing returns, and it does so comprehensively down to GPS track statistics and preview output. Combined with the explicit size limit and format whitelist, an agent has everything needed to call this correctly and interpret the result.

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% and the schema already explains file_url (preferred), filename, and file_base64, so the baseline is 3. The description adds value by tying the filename/extension parameter to the concrete accepted format list, and by the size limit that constrains file_base64 usage; however the nested 'options' parameter is only deferred to the description and never actually enumerated, which keeps it below 5.

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 verb (reads/inspects) and resource (map file), then enumerates the concrete artifact produced: layers, feature counts, CRS, extent, fields, length/area, track stats, GeoJSON, PNG preview. It names the accepted formats up front, so an agent can tell instantly whether its file belongs here rather than to dwg_to_dxf or dxf_render.

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?

Explicit 'Use when' clause (understand or display a GIS file without GIS software) plus an explicit 'Not for' list naming rasters, FileGDB, MapInfo, and DXF/DWG with the sibling to redirect to. Both inclusion and exclusion conditions are stated, leaving nothing to inference.

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.

Resources