Skip to main content
Glama

Buscar localidades argentinas

buscar_localidad
Read-onlyIdempotent

Busca localidades (ciudades, pueblos, barrios censales) por nombre aproximado y devuelve provincia, departamento/partido, municipio, categoría y coordenadas del centroide, con ids oficiales INDEC. Útil para desambiguar ('¿qué Rosario?'), completar formularios o resolver la ubicación de un cliente. Filtrá por provincia cuando la conozcas. Para una dirección completa con calle y altura usá normalizar_direccion. Costo: gratis.

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": {
      "nombre": "<nombre>"
    },
    "name": "buscar_localidad"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNo
nombreYesNombre (tolera tildes y errores leves)
provinciaNoNombre o id de provincia
departamentoNoDepartamento o partido

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real context beyond them: the returned fields, that ids are official INDEC, and that the call is free — meaningful in a catalog that also has comprar_creditos and consultar_saldo. It stops short of stating ordering, pagination, or what an empty result looks like.

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-loaded with purpose and payload, then usage, then the routing alternative and cost — a sensible order with no filler. The three-item use-case list ('desambiguar', 'formularios', 'ubicación de un cliente') is slightly verbose for the value it adds, but nothing is misleading or redundant.

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

Completeness5/5

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

No output schema exists, and the description enumerates the returned fields explicitly, which closes that gap. Combined with the routing alternative, the province-filter advice and the cost note, an agent has everything needed to call this correctly and interpret the response.

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 coverage is 75%, with 'max' and 'departamento' undocumented in the schema. The description compensates partially: it frames 'nombre' as approximate matching and advises using 'provincia' as a narrowing filter. It never mentions 'max' (default 5, cap 20) nor 'departamento' as an input, so the compensation is incomplete.

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 (buscar) and resource (localidades: ciudades, pueblos, barrios censales), the matching mode (nombre aproximado), and the exact return payload (provincia, departamento/partido, municipio, categoría, centroide, ids INDEC). It also names the sibling it is not for full street addresses, so an agent can route without opening schemas.

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

Usage Guidelines5/5

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

Gives concrete use cases (desambiguar '¿qué Rosario?', completar formularios, ubicar un cliente), an explicit optimization ('Filtrá por provincia cuando la conozcas'), and an explicit alternative for the different case ('Para una dirección completa con calle y altura usá normalizar_direccion'). Both when-to-use and when-to-use-something-else are covered.

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.

Resources