Skip to main content
Glama

Llueve

Buscar un lugar

search_places
Read-onlyIdempotent

ES: Busca un municipio, embalse, cuenca, provincia o comunidad autónoma por su nombre (sin importar acentos, mayúsculas ni artículos; también nombres oficiales en catalán, "Alacant") o por su código. Devuelve tipo, código, nombre, provincia o cuenca y la URL de su página en Llueve. Úsalo cuando otro tool diga que un nombre es ambiguo o desconocido. EN: Find a Spanish town, reservoir, river basin, province or autonomous community by name (accent-, case- and article-insensitive) or code. Returns kind, id, name, province or basin, and the Llueve page URL. Ranked exact > prefix > substring; towns by population.

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": {
      "query": "<query>"
    },
    "name": "search_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoLimita la búsqueda a un tipo / restrict to one kind
limitNo
queryYesNombre o parte del nombre, o un código / name, part of a name, or a code

Output Schema

NameRequiredDescriptionDefault
urlYesPágina de Llueve para citar / the Llueve page to cite
as_ofYesFecha del dato más reciente (UTC, ISO 8601) / timestamp of the newest figure
notesYesAvisos: datos que faltan y por qué / caveats and gaps, in Spanish
queryYes
sourceYesDe dónde salen las cifras / where the figures come from
resultsYes
truncatedYes
attributionYes
total_matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: accent-, case- and article-insensitive matching, acceptance of official Catalan names, and result ranking 'exact > prefix > substring' with towns ordered by population. It does not mention result truncation or what happens when nothing matches.

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?

Purpose is front-loaded and content is organized as purpose, return values, then usage trigger. The parallel ES/EN blocks duplicate the same information verbatim, roughly doubling length, but the redundancy appears intentional for language robustness rather than filler.

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?

An output schema exists, yet the description still summarizes returned fields, and the matching and ranking behavior covers the main ambiguity an agent would face. For a three-parameter lookup tool with rich annotations, nothing essential is missing.

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 67% and the schema already documents query and kind, including the enum values. The description adds useful matching semantics for query (accents, articles, alternate official names, codes), but says nothing about the limit parameter and adds no new meaning to kind beyond restating the entity list already present in the enum.

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 set: search a Spanish town, reservoir, basin, province or autonomous community by name or code. It also enumerates what is returned (kind, id, name, province/basin, page URL), so the agent can distinguish this lookup tool from siblings like get_reservoir or get_town_water 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?

Explicitly routes the agent with 'Úsalo cuando otro tool diga que un nombre es ambiguo o desconocido', which tells it this is the disambiguation/fallback resolver. It does not state when NOT to use it (e.g. when a code is already known to be valid) or name a specific alternative tool, so it falls short of full when/when-not guidance.

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