Skip to main content
Glama

Verithic · official data by municipality

Price of each stop · El precio de cada parada

precio_parada
Read-onlyIdempotent

For a Rodalies or FGC line with a read stop order: its stops from Barcelona outwards, each with the town's price per m² of used homes, average rent and minutes to the centre of Barcelona. Price and rent are the town's, never the station's. Source, period and read date included; a missing figure is null with its reason. Without a line it lists the available lines. Not available for the Costa Blanca (zone "costa-blanca"): it answers "not available for this zone". — De una línea de Rodalies o FGC con el orden de paradas leído: sus paradas desde Barcelona hacia fuera, cada una con el precio €/m² de la vivienda usada de su población, el alquiler medio y los minutos al centro de Barcelona. El precio y el alquiler son los de la población, nunca los de la estación. Con fuente, periodo y fecha de lectura; una cifra que falta sale a null con su motivo. Sin línea lista las disponibles. No disponible para la Costa Blanca (zona "costa-blanca"): contesta «no disponible para esta zona».

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

Input Schema

NameRequiredDescriptionDefault
lineaNoLine code, e.g. R4, S2. Código de la línea.
languageNoResponse language: "es" (default) or "en". Idioma de la respuesta.es

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotent, non-destructive and openWorldHint=false, so safety is covered. The description still adds real behavioural context: missing figures come back as null with a reason, responses carry source, period and read date, and the unsupported zone yields a specific refusal message. No pagination or size expectations are given, and there is no output schema to fall back on.

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?

Each language version is dense and front-loaded with the resource and ordering rule, then the caveats. The cost is that the whole text is duplicated in Spanish and English, roughly doubling length, though that appears intentional for a bilingual audience.

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?

With no output schema, the description carries the return-shape burden and does so: it enumerates the three figures per stop, states they are town-level, that provenance metadata accompanies them, and how gaps and unsupported zones appear. Nothing needed to invoke or interpret a call 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% and both parameters are documented in-schema, so the baseline is 3. The description earns a point by explaining the operational meaning of omitting 'linea' (it lists the available lines), which is a behavioural consequence the enum/string schema cannot express; 'language' is left to the schema.

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 pair: return each stop of a Rodalies/FGC line ordered outward from Barcelona, each with €/m², average rent and minutes to the centre. It also pre-empts the most likely misreading ('Price and rent are the town's, never the station's'), which distinguishes it from town-level siblings like ficha_municipio 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 Guidelines4/5

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

Gives explicit branch behaviour: with a line you get its stops, without a line it lists the available lines, and zone 'costa-blanca' is refused with a fixed answer. It does not name sibling tools as alternatives for non-line queries, so routing is clear but not fully comparative.

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