Skip to main content
Glama

Población y viviendas de una localidad (INE)

localidad
Read-onlyIdempotent

Retrieves 2023 population and housing data for Uruguayan localities by name, ignoring accents; use department to disambiguate or list its localities by population.

Instructions

Población y viviendas 2023 de una localidad uruguaya, por nombre (sin importar tildes). Si el nombre existe en más de un departamento, devuelve todas; departamento desambigua. Solo con departamento, lista sus localidades de mayor a menor población (hasta cantidad).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "localidad"
  }
}

Input Schema

NameRequiredDescriptionDefault
nombreNo
cantidadNo
departamentoNo

Output Schema

NameRequiredDescriptionDefault
notaYes
avisoNo
totalYes
bajadoYes
fuenteYes
localidadesYes
copia_vencidaNo

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.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely useful behavior beyond that: accent-insensitive name matching, multi-department ambiguity returning all matches, and population-descending ordering with a cap. It does not state what happens when no match is found, which keeps it from a 5.

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?

Three dense sentences with no filler; the primary query mode is front-loaded and the secondary mode follows. Every clause carries operational information.

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?

An output schema exists, so return values need not be explained, and all three parameters plus both query modes are covered. The only gap is edge-case behavior (no matches, invalid departamento), which is minor for a read-only lookup tool.

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 description coverage is 0%, so the description must carry the parameter meaning, and it largely does: `nombre` is accent-insensitive, `departamento` disambiguates or drives the listing mode, and `cantidad` caps the result count. The default value of `cantidad` (20) and the exact matching semantics for partial names are not spelled out.

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+resource: population and housing (2023) for a Uruguayan locality, queried by name. The scope (2023, Uruguay, accent-insensitive) is precise enough that an agent can distinguish it from any sibling without opening the 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?

Explicitly describes two usage modes: query by `nombre` (returning all matches when ambiguous) and query by `departamento` alone (listing localities by descending population up to `cantidad`). It also states the disambiguation rule. It does not name alternative tools, but the when-to-use conditions for each parameter combination are clear.

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