Skip to main content
Glama

Depuradoras urbanas cerca de un lugar de España

depuradoras_cerca
Read-onlyIdempotent

Lista las depuradoras urbanas del Observatorio de Aguas SB (2.174 plantas de España, registro europeo Waterbase-UWWTD, dato declarado del año 2022) que están dentro de un radio alrededor de un lugar: un municipio, una depuradora (por nombre o por código) o unas coordenadas. Van ordenadas por distancia en línea recta, con código, nombre, municipio, kilómetros, capacidad y carga declaradas en habitantes equivalentes, caudal de referencia (carga declarada × 185 L por habitante equivalente y día: estimación, no caudal medido), tratamiento y las URL de la ficha, del mapa con la planta seleccionada y del simulador. Admite filtros por caudal de referencia, por capacidad y por tratamiento. Determinista, sin modelo de lenguaje. No dice quién gestiona las plantas ni si cumplen: es dato declarado, no una inspección.

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": "depuradoras_cerca"
  }
}

Input Schema

NameRequiredDescriptionDefault
lugarNoMunicipio, nombre de la depuradora o código oficial (p. ej. "Llanes", "Ribadesella", "ES3330361104010E")
maximoNoNúmero máximo de plantas en la respuesta (por defecto 15)
latitudNoLatitud en grados decimales, en lugar de lugar
longitudNoLongitud en grados decimales (oeste en negativo)
radio_kmNoRadio en kilómetros (por defecto 20)
provinciaNoOpcional: provincia o comunidad, para distinguir lugares de nombre parecido
tratamientoNoSolo las plantas que declaran ese tratamiento: primario (solo primario), secundario, terciario, eliminación de nitrógeno, de fósforo o desinfección UV
capacidad_max_heNoCapacidad declarada máxima, en habitantes equivalentes
capacidad_min_heNoCapacidad declarada mínima, en habitantes equivalentes
caudal_max_m3_diaNoCaudal de referencia máximo, en m³/día
caudal_min_m3_diaNoCaudal de referencia mínimo, en m³/día

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/no-destructive, and the description adds real context on top: result ordering by straight-line distance, dataset provenance (2,174 plants, Waterbase-UWWTD, 2022 declared data), and the explicit caveat that 'caudal de referencia' is derived (carga × 185 L/HE·día) rather than measured. It also discloses limits — it does not report the operator or compliance status — which prevents an agent from over-claiming the data.

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?

Information is front-loaded: what it lists, where, and in what order come first, with caveats last. It is dense and delivered as one very long sentence plus a disclaimer, which is heavy but almost every clause carries substantive content rather than repetition.

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 an 11-parameter tool with no output schema, the description thoughtfully enumerates the returned fields (código, municipio, km, capacidad, carga, tratamiento, URLs to ficha/mapa/simulador), which the missing output schema would otherwise leave blank. Minor gaps remain on empty-result behavior and how ambiguous place names are resolved beyond the optional provincia filter.

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 100%, so the schema already defines each field, giving a baseline of 3. The description adds value by grouping the parameters conceptually (location modes vs. caudal/capacidad/tratamiento filters) and by explaining the derivation behind the flow figures returned, which the schema does not.

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 concrete verb and resource ('Lista las depuradoras urbanas del Observatorio de Aguas SB') and pins the scope precisely: plants within a radius of a municipality, a named/coded plant, or coordinates. The spatial-radius framing makes it distinguishable from a single-plant lookup such as consultar_depuradora without needing the sibling named.

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?

It spells out when the tool applies by enumerating the accepted 'lugar' modes and the available filters (caudal, capacidad, tratamiento), and notes it is deterministic with no language model, implying use for factual lookups. It stops short of explicit when-not guidance or naming an alternative tool for single-plant detail or estimation.

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