Skip to main content
Glama

En qué departamento y localidad cae un punto

ubicar_punto
Read-onlyIdempotent

Locate a latitude/longitude in Uruguay: returns its department, locality, 2023 population, nearest locality if rural, and nearest IDE.uy address with distances.

Instructions

Dado un punto (latitud y longitud en grados), en qué departamento y en qué localidad de Uruguay cae, según los polígonos oficiales del INE, con la población 2023 de la localidad. Si cae en el campo, la localidad más cercana y a qué distancia. Suma la dirección más cercana de IDE.uy con su distancia. Combinar con geocodificar_direccion para pasar de una dirección a su departamento.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "ubicar_punto"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes

Output Schema

NameRequiredDescriptionDefault
latYes
lonYes
notaYes
avisoNo
bajadoYes
fuenteYes
localidadYes
departamentoYes
copia_vencidaNo
direccion_mas_cercanaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • addedOutput schema / properties / aviso
      Added value: +{
      +  "title": "Aviso",
      +  "type": "string"
      +}
    • addedOutput schema / properties / copia_vencida
      Added value: +{
      +  "title": "Copia Vencida",
      +  "type": "boolean"
      +}
  2. First observedv0.13.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds genuine behavioral context beyond that: the source datasets (INE official polygons, IDE.uy addresses), the inclusion of 2023 population, and the rural fallback that returns the nearest locality and distance. It omits precision/coordinate-system details and out-of-coverage behavior.

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 core outcome (department and locality for a point) in the first clause, then layers fallbacks and the sibling pointer. It is dense but every sentence carries content; slight redundancy comes from enumerating return fields that the output schema already covers.

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 two-parameter lookup with an output schema present, the description covers purpose, data provenance, rural edge case, and the complementary address tool. Remaining gaps are coordinate reference system and behavior outside Uruguay, which are meaningful but secondary for a simple geo-location call.

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 description coverage is 0% for the two parameters, so the description must carry the burden; it does specify that lat and lon are in degrees, which is the key disambiguation for a coordinate tool. It adds nothing further about datum/projection, valid ranges, or ordering conventions, leaving real gaps.

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: given a point (lat/lon in degrees), report the department and locality of Uruguay it falls in per INE official polygons, plus 2023 population. It also distinguishes itself from the sibling by noting that geocodificar_direccion is the tool for going from an address to a department, so an agent can separate the two without opening either schema.

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?

Gives clear usage context: call it when you already have a coordinate pair, and explicitly name the alternative path (geocodificar_direccion) for address input. It does not state exclusions such as what happens for points outside Uruguay, which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.