Skip to main content
Glama

geojson_to_flatgeobuf

Convert GeoJSON to FlatGeobuf (.fgb) — the cloud-native binary format with a built-in spatial index. FlatGeobuf holds one geometry type per file, so mixed point/line/polygon input is automatically split into one .fgb per category and returned inside a zip.

Returns JSON: {flatgeobuf_base64|flatgeobuf_zip_base64: str, split: bool,
split_categories: [str]|null}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geojsonYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It clearly explains that mixed geometry types are split into separate .fgb files, packaged in a zip, and describes the exact JSON return shape, which is valuable transparency beyond the name alone.

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?

The description is compact and front-loaded with the core purpose, followed by the important splitting behavior and a concise return schema. Every sentence adds necessary information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter conversion tool, the description is surprisingly complete: it covers output format, split behavior, zip packaging, and the response JSON structure. It omits potential edge cases like invalid GeoJSON, size limits, or CRS assumptions, but none of those are critical for an agent to call the tool 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?

The single parameter 'geojson' has no schema description and the description does not elaborate on its expected format, such as whether it should be a FeatureCollection string, geometry object, or coordinate system requirements. However, the tool name and first sentence make the parameter's purpose reasonably inferable, so this is a minimal but acceptable level of clarity.

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 opens with 'Convert GeoJSON to FlatGeobuf', a specific verb and resource pair that clearly identifies the source and target formats. The added detail about cloud-native binary format and spatial index helps separate this from the many sibling conversion tools like geojson_to_shapefile or geojson_to_gpx.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to choose this tool over alternatives such as geojson_to_shapefile or geojson_to_gpx. The format benefits are implied by the description, but no when-to-use or when-not-to-use criteria are stated.

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.