This MCP server provides access to Valencia's urban data, including traffic information, air quality monitoring and weather data. It connects to the city's open data APIs and Open-Meteo weather API to expose the data through resources and tools.
The server provides 12 well-named tools with consistent verb-noun naming (get_*, search_*, find_*). All tools have descriptions ranging from 60-150 characters, which meets baseline expectations. However, critical gaps emerge in schema completeness and parameter documentation. Most tools declare input parameters with types and descriptions (e.g., get_traffic_by_state has 'state_name' with type string and description), but parameter descriptions are often brief and lack constraints. Tools like get_weather_forecast accept integer 'days' but lack explicit bounds (1-7 mentioned in description only, not as minValue/maxValue in schema). Output schemas are defined via Pydantic models (TrafficRecord, BikeStation, AirQualityStation, CurrentWeather, WeatherForecast) visible in the code, but tools do not explicitly return these types in MCP tool definitions, output schemas are implicit rather than documented in the tool registration. This forces users to infer output from code inspection rather than reading tool metadata. Error handling is absent, no guidance on what happens if API calls fail, no recovery steps, no categorization of retryable vs. fatal errors. Security is reasonable (no secrets exposed as parameters; all tools are read-only), but audit/logging is not implemented.
Find air quality stations by name or location
Find bike stations with available bikes, optionally filtered by minimum availability
Search for specific bike stations by name or address
Get current air quality data from monitoring stations in Valencia
Filter air quality stations by air quality rating
Get all Valenbisi bike rental stations with current availability
Get current traffic state for all monitored road segments in Valencia
Get current weather conditions in Valencia
Output schemas are defined as Pydantic models but not explicitly registered in MCP tool definitions. LLMs cannot see what fields will be returned without inspecting source code.
Parameter constraints are documented in descriptions (e.g. 'days: 1-7') but not formalized in JSON Schema with minValue, maxValue, enum, or pattern. LLMs cannot validate before calling.
No error handling guidance. If Valencia API is down, rate-limited, or returns no results, tools fail silently with no recovery suggestions for the LLM.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 43 | 2026-07-28+ | v2 |
Filter traffic records by traffic state
Get historical or forecast weather data for a specific date range
Get weather forecast for Valencia for the next N days
Search for specific road segments by name
No pagination support declared. Tools like get_current_traffic and get_bike_stations fetch with 'limit: 20' hardcoded but offer no limit parameter or continuation mechanism to agents.
Numeric parameter 'min_bikes' in find_available_bikes has no explicit bounds (minValue, minValue) in schema. Description says 'default: 1' but no maximum stated.
Date parameters in get_weather_by_date_range require YYYY-MM-DD format but lack a regex pattern or minLength/maxLength in schema. LLMs may pass invalid formats.