Skip to main content
Glama

unmake file tools

Convert a map file

gis_convert
Read-onlyIdempotent

Convert a map file. Converts a map file to GeoJSON, KML, KMZ, GPX, CSV, Shapefile (zip), GeoPackage or FlatGeobuf, reprojected to WGS 84, kept in its original coordinate system or written in a chosen EPSG system (Shapefile, GeoPackage). The output is read back and compared with the input: feature count, every coordinate in metres, attribute values; features the target format cannot hold are counted and named. Use when: A map file has to be turned into another GIS format or coordinate system, with proof that nothing was lost. Not for: Raster data; styling; editing. 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_convert"
  }
}

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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description nonetheless adds real value by disclosing the post-conversion verification (feature count, every coordinate in metres, attribute values, and named features the target format cannot hold), which an agent cannot infer from annotations. It does not describe failure modes or what the verification report looks like when a conversion partially fails.

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-loads the purpose and formats, then behavior, then usage boundaries, then constraints — a sensible order with no filler sentences. The middle sentence listing verification details is dense and slightly run-on, which costs it the top score.

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, yet the description explains what the tool returns (a comparison of input vs output with counts and dropped-feature names). Combined with the format list, CRS options, and size limit, an agent has everything needed to invoke it correctly.

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?

Schema coverage is 100%, so the four top-level parameters are already documented in the schema, which sets the baseline at 3. The description adds meaning for the opaque nested 'options' object by naming the reprojection modes (WGS 84, original CRS, or a chosen EPSG limited to Shapefile/GeoPackage), but it never names the option keys, so the agent still has to guess how to express them.

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 and resource ('Convert a map file') and immediately enumerates the exact target formats (GeoJSON, KML, KMZ, GPX, CSV, Shapefile zip, GeoPackage, FlatGeobuf) and the reprojection choices. This is clearly distinguishable from gis_inspect or splat_convert without opening any schema.

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:' (format or CRS conversion with proof nothing was lost) and 'Not for:' exclusions (raster, styling, editing), plus a full list of accepted file extensions and a 30 MB ceiling. The agent knows both when to select this tool and when to look elsewhere.

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