Skip to main content
Glama

RideMyPark

Météo d'un spot

ridemypark_get_spot_weather
Read-onlyIdempotent

Rend la météo courante et la prévision des prochains jours aux coordonnées d'un spot RideMyPark, pour savoir si la session tient.

Paramètres :

  • slug (string, obligatoire, 1 à 200 caractères) : slug du spot.

  • response_format ('markdown' | 'json') : défaut markdown.

Rend : mode, puis selon ce mode :

  • current (le cas courant) : current (température et ressenti en °C, vent en km/h, condition, jour ou nuit) et days, la prévision par jour (température min et max, condition, probabilité de pluie en %) ;

  • event (fiche d'événement datée) : event_date et event_day, la prévision du jour de l'événement ;

  • pending (événement trop lointain) : event_date et available_from, la date à partir de laquelle la prévision existera. Toujours : observed_at (horodatage de la mesure) et provider. condition vaut clear, partly-cloudy, cloudy, overcast, fog, drizzle, rain, heavy-rain, sleet, snow ou thunder.

Limites connues des données :

  • la météo vient d'un fournisseur tiers appelé aux coordonnées de la fiche : un spot mal géocodé rend la météo du mauvais endroit ;

  • un spot COUVERT rend quand même une météo extérieure — elle ne dit rien de la praticabilité d'un park indoor ;

  • la donnée est mise en cache côté API et peut avoir un décalage de l'ordre de l'heure. Quand le fournisseur tiers est en panne, l'API ressert le dernier relevé connu, jusqu'à 6 h d'âge : observed_at dit cet âge, et passé une heure current est absent (seuls les jours restent) ;

  • la pluie est une PROBABILITÉ par jour, pas une quantité ;

  • le sol peut rester mouillé longtemps après la pluie : la prévision ne dit pas si le spot est sec.

Erreurs :

  • « Pas de météo … » quand le slug n'existe pas, quand la fiche n'a pas de coordonnées ou n'est pas un spot ni un événement (une boutique), ou quand la météo n'est pas activée sur le serveur.

  • Météo indisponible : le fournisseur tiers n'a pas répondu, réessayer plus tard.

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": {
      "slug": "<slug>"
    },
    "name": "ridemypark_get_spot_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug du spot, tel que rendu par ridemypark_search_spots.
response_formatNomarkdown pour une réponse lisible, json pour les données brutes.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Adds substantial behavior beyond the readOnly/idempotent/openWorld annotations: API-side caching with roughly an hour of lag, fallback to the last known reading up to 6 hours old during provider outages, current being omitted past that threshold while days remain, and error semantics for unknown slug, missing coordinates, non-spot records, disabled weather, and provider failure. It also discloses data-quality caveats the annotations cannot express (mis-geocoded spots, rain as daily probability not quantity, wet ground not reflected).

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-loads the one-line purpose, then uses labeled sections (Paramètres, Rend, Limites, Erreurs) that make the long content scannable, and every limitation/error sentence carries real information. Minor waste in re-listing schema constraints such as the 1-200 character range and the markdown default.

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 fully compensates by specifying the three return modes (current, event, pending), the fields in each, the condition enum values, and the always-present observed_at/provider. Combined with documented error cases and staleness behavior, an agent has everything needed to call the tool and interpret its response correctly.

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 description coverage is 100%, so slug provenance and response_format defaults are already documented in the schema, and the description largely restates them (length bounds 1-200, default markdown). It adds no format syntax or non-obvious semantics for either parameter, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Rend la météo courante et la prévision des prochains jours aux coordonnées d'un spot') plus the intent ('pour savoir si la session tient'), so an agent can identify it without opening the schema. It does not explicitly distinguish itself from a more decision-oriented sibling such as ridemypark_can_i_ride_tonight, which is the only real gap here.

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?

The purpose sentence frames when to use it (assess whether a session holds), and the 'Limites connues' section gives a concrete usage exclusion: a COUVERT spot still returns outdoor weather that says nothing about indoor park rideability. It stops short of naming alternatives or stating 'do not use for X, use Y instead', so it is strong but not exhaustive.

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