Skip to main content
Glama

Verithic · official data by municipality

Ranking by profile · Ranking por perfil

ranking_por_perfil
Read-onlyIdempotent

Orders the municipalities for one profile (family: Family with children; relocation: Moving from abroad; calm: Calm and space) using the five indices by dimension, each with its figures, the profile's weights, the cut-off date and the number of towns. Can be limited to a county. Towns missing a dimension of the profile are listed apart, unranked, with the reason. Not a recommendation. — Ordena los municipios para un perfil (family: Familia con niños; relocation: Llego de fuera; calm: Calma y espacio) con los cinco índices por dimensión, cada uno con sus cifras, los pesos del perfil, la fecha de corte y el número de poblaciones. Se puede limitar a una comarca. Las que no tienen alguna dimensión del perfil salen aparte, sin puesto y con el motivo. No es una recomendación.

Input Schema

NameRequiredDescriptionDefault
limiteNoHow many ranked towns to return. Cuántas devolver.
perfilYesProfile id. Perfil.
comarcaNoOptional county. Comarca (opcional).
languageNoResponse language: "es" (default) or "en". Idioma de la respuesta.es

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds real substance beyond them: what is returned (five indices by dimension with figures, profile weights, cut-off date, town count) and the edge-case behavior that towns missing a dimension are listed apart, unranked, with a reason. That edge-case handling is exactly the kind of behavior an agent cannot infer elsewhere.

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, then output content, then the unranked-towns caveat, then the disclaimer – a sensible order. The one cost is the fully duplicated Spanish translation, which doubles length without adding information for a given call, though it is consistent with the tool's bilingual language parameter.

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?

There is no output schema, so the description carries the return-value burden, and it does describe the returned structure and the unranked-edge case. With 4 params at full schema coverage, the remaining gap is minor: pagination or result-size behavior beyond the 'limite' cap is not discussed, but nothing an agent needs to invoke it correctly is missing.

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 baseline is 3. The description earns above that by decoding the enum values the schema only labels as 'Profile id' (family = Family with children, relocation = Moving from abroad, calm = Calm and space) and by explaining that comarca narrows the ranking to one county. It adds semantic meaning the schema does not carry.

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 ('Orders the municipalities') plus the exact input dimension (one profile) and the three concrete profile values. It also signals the output shape (five indices, weights, cut-off date, town count) and explicitly says 'Not a recommendation', which separates it from advisory siblings like calcular_mudanza or comparar_municipios.

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

Usage Guidelines3/5

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

Usage is implied: use this when you want towns ranked for a given profile, optionally narrowed to one county. The 'Not a recommendation' note is a useful boundary, but no sibling alternative is named and there is no explicit when-not-to-use condition, so guidance stays at the minimum-viable level.

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