Skip to main content
Glama
alexrobl
by alexrobl

list_layers

Lists all layers from a spatial data source, returning name, geometry type, feature count, and CRS for each layer. Supports FileGDB, GeoPackage, Shapefile, GeoJSON, KML, and other GDAL/OGR formats.

Instructions

Lista todas las capas disponibles en una fuente de datos espacial.

Soporta .gdb (FileGDB), .gpkg, .shp, .geojson, .kml y cualquier formato GDAL/OGR. Devuelve por capa: nombre, tipo de geometría, número de features y CRS.

Args: path: Ruta absoluta al archivo o directorio (.gdb es un directorio).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, description carries full burden. It discloses supported formats and return values, and notes that .gdb is a directory. However, it does not mention edge cases, error handling, or permissions.

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?

Description is very concise: 5 lines with front-loaded purpose. No redundant information; every sentence adds value.

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?

Given an output schema exists, description covers key return fields and supported formats. For a listing tool, it is mostly complete, though it could mention error scenarios or file permission requirements.

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 has 0% description coverage for the only parameter 'path'. Description adds meaning by specifying 'absolute path' and clarifying .gdb is a directory, helping agents beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool lists available layers in a spatial data source, specifying supported formats and return fields. However, it does not explicitly differentiate from sibling tools like get_layer_schema or read_features.

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

Usage Guidelines3/5

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

No explicit guidance on when to use this tool vs alternatives. Usage is implied by the verb 'list layers' but lacks when-not or alternative tool mentions.

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/alexrobl/geoanalisis-mcp'

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