Skip to main content
Glama

locate_in_polygons

Audit surface areas by intersecting polygons with labels that fall inside, closing polylines automatically and reporting gaps.

Instructions

Cruza poligonos con las etiquetas que caen adentro. Motor de la auditoria de superficies: que rotulo corresponde a que area. No confia en el flag Closed (en el plano de venta solo 7 de 25 polilineas estan cerradas): cierra el anillo por calculo y reporta el gap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
min_areaNo
point_typeNo
point_layerNo
polygon_layerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It discloses a significant non-obvious behavior: it does not trust the Closed flag and instead calculates ring closure, reporting the gap. This goes beyond what the schema shows. It could mention side effects, but given its analytical nature and presence of an output schema, this is adequate.

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?

The description is two sentences and front-loads the core function. The parenthetical example (7 of 25 polylines closed) is useful but slightly verbose. Overall, it is concise and well-structured.

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

Completeness3/5

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

The description covers the core behavior and unique logic, but with 0% parameter coverage and 5 parameters, it is incomplete for correct invocation. The output schema mitigates the need to describe return values, but key parameter semantics are still missing.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It only hints at polygon_layer and point_layer through 'poligonos' and 'etiquetas', but does not explain limit, min_area, point_type, or their defaults. This leaves users guessing about key parameters.

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 uses a specific verb ('Cruza' - crosses/intersects) and resource (polygons with labels). It clearly differentiates itself from sibling tools like 'entities_near' or 'extract_attributes' by focusing on polygon-label spatial intersection. The phrase 'Motor de la auditoria de superficies' adds domain context.

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

Usage Guidelines4/5

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

The description provides clear context: it is the engine for surface audit, implying when to use it. However, it does not explicitly mention alternatives or when not to use it. It gives enough context to infer the primary use case but lacks 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/cruz636/autobat-v2'

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