Skip to main content
Glama
alexrobl
by alexrobl

preview_geometries

Preview geometries of spatial features as WKT, including type and bounding box, for quick data inspection.

Instructions

Previsualiza las geometrías de los primeros N features como WKT.

Devuelve para cada feature: índice, tipo de geometría, WKT de la geometría y su bounding box individual.

Args: path: Ruta al archivo o directorio espacial. layer: Nombre de la capa (None = primera capa). limit: Número de features a previsualizar (default 5).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
layerNo
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses return content (index, geometry type, WKT, bounding box) and the limit-driven scope, leaving no ambiguity about the tool's read-only, non-destructive behavior.

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?

Two sentences plus a structured Args section with no superfluous text, front-loaded with the core purpose, achieving maximum clarity with minimal length.

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?

The description covers return format and parameter semantics adequately for a preview tool, but lacks mention of error handling (e.g., invalid path) or performance characteristics, which would be nice for completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema description coverage, the description thoroughly explains each parameter's role (path, layer with default null meaning first, limit with default 5), adding meaning beyond the schema's type and default values.

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 specifies a clear verb ('preview') and resource ('geometries of first N features as WKT'), which distinguishes it from sibling tools like read_features (full feature data) and list_layers (layer enumeration).

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?

The description implies use for quick geometric previews but does not explicitly state when to prefer this over alternatives like read_features or render_map, nor does it provide exclusion criteria.

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