Skip to main content
Glama

Normalizar y geocodificar una dirección argentina

normalizar_direccion
Read-onlyIdempotent

Interpreta una dirección escrita a mano ('Av. Corrientes 1234, CABA', 'corrientes y callao', 'San Martín 450 piso 3 Rosario'), la normaliza según el callejero oficial (INDEC/IGN vía georef) y devuelve candidatos con calle, altura, localidad, departamento, provincia y coordenadas lat/lon. Pasá provincia o localidad si las conocés: reduce ambigüedad. Si cantidad es 0 la dirección no existe en el callejero oficial; si hay varios candidatos, elegí por localidad o pedí precisión al usuario. Solo direcciones de Argentina; no confirma que el número de puerta exista físicamente. Costo: 2 crédito(s).

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": {
      "direccion": "<direccion>"
    },
    "name": "normalizar_direccion"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoCantidad máxima de candidatos
direccionYesDirección en texto libre: 'calle altura' o 'calle y calle', opcionalmente con piso/depto
localidadNoLocalidad censal ('Rosario', 'Mar del Plata')
provinciaNoNombre o id de provincia ('Buenos Aires', 'CABA', 'Córdoba', '02')
departamentoNoPartido, departamento o comuna ('Tigre', 'Comuna 1')

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.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/closed-world, so the description does not need to re-establish safety; it instead adds genuinely new behavioral facts: a result count of 0 means the address is not in the official street index, several candidates may be returned, the physical existence of the door number is NOT confirmed, and the call costs 2 credits. Minor blemish: it refers to a `cantidad` field that does not exist in the schema (the parameter is `max`), which could confuse result-limit reasoning.

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 action and input forms, then follows with disambiguation advice, failure semantics (count 0), scope limit and cost. The examples are useful rather than padding, though the run-on middle sentence packs several ideas together and the `cantidad` reference adds noise that could have been avoided.

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 five-parameter read-only lookup with no output schema, the description covers scope, input formats, disambiguation strategy, the meaning of an empty result, a physical-accuracy caveat and cost, and it enumerates the returned fields. Only gaps are the mismatched result-count naming and no mention of how candidate ranking works.

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 coverage is 100%, so all five parameters are already documented in the input schema and the baseline is 3. The description does add directional meaning for provincia/localidad (supplying them reduces ambiguity), but it introduces a `cantidad` name that does not match the actual `max` parameter, so the added parameter guidance is partly misaligned rather than fully additive.

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 specific verbs and resource: interprets a free-text address, normalizes it against the official street index (georef/INDEC/IGN), and returns candidates with street, number, locality, department, province and lat/lon. The stated scope ('Solo direcciones de Argentina', free-text forms like 'corrientes y callao') makes it visibly distinct from a plain street lookup or locality lookup without needing to name a sibling.

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 concrete usage context: pass provincia or localidad when known because it reduces ambiguity, and when several candidates come back, choose by locality or ask the user to be more precise. It also states the boundary 'Solo direcciones de Argentina'. What it lacks is explicit routing to alternatives (e.g. when to use buscar_calle or buscar_localidad instead), so the when-not guidance is only partial.

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